From: Seungha Yang Date: Tue, 25 Oct 2022 17:55:34 +0000 (+0900) Subject: d3d11: Move format defines to private header X-Git-Tag: 1.22.0~698 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e68645c2d2a8c533164cc8e6f5f28fe6e04b1409;p=platform%2Fupstream%2Fgstreamer.git d3d11: Move format defines to private header Those defines will be likely changed/deleted in the future, and we don't need to expose them to public at the moment Part-of: --- diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11-private.h b/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11-private.h index 47a9de1..17a84fd 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11-private.h +++ b/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11-private.h @@ -29,6 +29,24 @@ G_BEGIN_DECLS +#define GST_D3D11_COMMON_FORMATS \ + "RGBA64_LE, RGB10A2_LE, BGRA, RGBA, BGRx, RGBx, VUYA, NV12, NV21, " \ + "P010_10LE, P012_LE, P016_LE, I420, YV12, I420_10LE, I420_12LE, " \ + "Y42B, I422_10LE, I422_12LE, Y444, Y444_10LE, Y444_12LE, Y444_16LE, " \ + "GRAY8, GRAY16_LE, AYUV, AYUV64" + +#define GST_D3D11_EXTRA_IN_FORMATS \ + "Y410" + +#define GST_D3D11_SINK_FORMATS \ + "{ " GST_D3D11_COMMON_FORMATS " ," GST_D3D11_EXTRA_IN_FORMATS " }" + +#define GST_D3D11_SRC_FORMATS \ + "{ " GST_D3D11_COMMON_FORMATS " }" + +#define GST_D3D11_ALL_FORMATS \ + "{ " GST_D3D11_COMMON_FORMATS " ," GST_D3D11_EXTRA_IN_FORMATS " }" + #define GST_TYPE_D3D11_FORMAT_SUPPORT (gst_d3d11_format_support_get_type()) GType gst_d3d11_format_support_get_type (void); diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11format.h b/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11format.h index 15ba733..e54d7a9 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11format.h +++ b/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11format.h @@ -25,24 +25,6 @@ G_BEGIN_DECLS -#define GST_D3D11_COMMON_FORMATS \ - "RGBA64_LE, RGB10A2_LE, BGRA, RGBA, BGRx, RGBx, VUYA, NV12, NV21, " \ - "P010_10LE, P012_LE, P016_LE, I420, YV12, I420_10LE, I420_12LE, " \ - "Y42B, I422_10LE, I422_12LE, Y444, Y444_10LE, Y444_12LE, Y444_16LE, " \ - "GRAY8, GRAY16_LE, AYUV, AYUV64" - -#define GST_D3D11_EXTRA_IN_FORMATS \ - "Y410" - -#define GST_D3D11_SINK_FORMATS \ - "{ " GST_D3D11_COMMON_FORMATS " ," GST_D3D11_EXTRA_IN_FORMATS " }" - -#define GST_D3D11_SRC_FORMATS \ - "{ " GST_D3D11_COMMON_FORMATS " }" - -#define GST_D3D11_ALL_FORMATS \ - "{ " GST_D3D11_COMMON_FORMATS " ," GST_D3D11_EXTRA_IN_FORMATS " }" - /** * GstD3D11Format: *