[vlc-commits] chroma: cvpx: support P010

Thomas Guillem git at videolan.org
Fri Feb 9 18:44:05 CET 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Feb  9 17:43:30 2018 +0100| [1aa9de936050caa75d5f4881295f723e2a6eec3c] | committer: Thomas Guillem

chroma: cvpx: support P010

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1aa9de936050caa75d5f4881295f723e2a6eec3c
---

 modules/video_chroma/cvpx.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/video_chroma/cvpx.c b/modules/video_chroma/cvpx.c
index 62eb8885f4..62ae1f77b0 100644
--- a/modules/video_chroma/cvpx.c
+++ b/modules/video_chroma/cvpx.c
@@ -247,6 +247,8 @@ static int Open(vlc_object_t *obj)
     {
         CASE_CVPX_INPUT(NV12)
             break;
+        CASE_CVPX_INPUT(P010)
+            break;
         CASE_CVPX_INPUT(UYVY)
             break;
         CASE_CVPX_INPUT(I420)
@@ -258,6 +260,8 @@ static int Open(vlc_object_t *obj)
             {
                 CASE_CVPX_OUTPUT(NV12)
                     break;
+                CASE_CVPX_OUTPUT(P010)
+                    break;
                 CASE_CVPX_OUTPUT(UYVY)
                     break;
                 CASE_CVPX_OUTPUT(I420)
@@ -361,6 +365,7 @@ Filter(filter_t *filter, picture_t *src)
 static vlc_fourcc_t const supported_chromas[] = { VLC_CODEC_CVPX_BGRA,
                                                   VLC_CODEC_CVPX_I420,
                                                   VLC_CODEC_CVPX_NV12,
+                                                  VLC_CODEC_CVPX_P010,
                                                   VLC_CODEC_CVPX_UYVY };
 
 static int



More information about the vlc-commits mailing list