vlc/vlc-3.0 | branch: master | Thomas Guillem <tho...@gllm.fr> | Fri Feb  9 
17:43:30 2018 +0100| [c32154b15d7ac395d07343e33091d78539286849] | committer: 
Thomas Guillem

chroma: cvpx: support P010

(cherry picked from commit 1aa9de936050caa75d5f4881295f723e2a6eec3c)
Signed-off-by: Thomas Guillem <tho...@gllm.fr>

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

 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

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to