Commit aa3b5156 authored by Vittorio Giovara's avatar Vittorio Giovara Committed by Jean-Baptiste Kempf

Add Hap fourcc

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent aa1ec5c9
...@@ -175,6 +175,7 @@ ...@@ -175,6 +175,7 @@
#define VLC_CODEC_TDSC VLC_FOURCC('T','D','S','C') #define VLC_CODEC_TDSC VLC_FOURCC('T','D','S','C')
#define VLC_CODEC_HQX VLC_FOURCC('C','H','Q','X') #define VLC_CODEC_HQX VLC_FOURCC('C','H','Q','X')
#define VLC_CODEC_HQ_HQA VLC_FOURCC('C','U','V','C') #define VLC_CODEC_HQ_HQA VLC_FOURCC('C','U','V','C')
#define VLC_CODEC_HAP VLC_FOURCC('H','A','P','1')
/*********** /***********
* Chromas * Chromas
......
...@@ -266,7 +266,10 @@ static const struct ...@@ -266,7 +266,10 @@ static const struct
#if LIBAVCODEC_VERSION_CHECK( 56, 23, 0, 35, 100 ) #if LIBAVCODEC_VERSION_CHECK( 56, 23, 0, 35, 100 )
{ VLC_CODEC_HQ_HQA, AV_CODEC_ID_HQ_HQA, VIDEO_ES }, { VLC_CODEC_HQ_HQA, AV_CODEC_ID_HQ_HQA, VIDEO_ES },
#endif #endif
/* AV_CODEC_ID_HAP */
#if LIBAVCODEC_VERSION_CHECK( 57, 9, 0, 13, 100 )
{ VLC_CODEC_HAP, AV_CODEC_ID_HAP, VIDEO_ES },
#endif
/* AV_CODEC_ID_DDS */ /* AV_CODEC_ID_DDS */
#if LIBAVCODEC_VERSION_CHECK( 56, 31, 0, 46, 100 ) #if LIBAVCODEC_VERSION_CHECK( 56, 31, 0, 46, 100 )
{ VLC_CODEC_G2M2, AV_CODEC_ID_G2M, VIDEO_ES }, { VLC_CODEC_G2M2, AV_CODEC_ID_G2M, VIDEO_ES },
......
...@@ -711,6 +711,11 @@ static const staticentry_t p_list_video[] = { ...@@ -711,6 +711,11 @@ static const staticentry_t p_list_video[] = {
B(VLC_CODEC_HQ_HQA, "Canopus HQ"), B(VLC_CODEC_HQ_HQA, "Canopus HQ"),
B(VLC_CODEC_HAP, "Vidvox Hap"),
A("Hap1"),
E("Hap5", "Vidvox Hap Alpha"),
E("HapY", "Vidvox Hap Q"),
/* */ /* */
B(VLC_CODEC_YV12, "Planar 4:2:0 YVU"), B(VLC_CODEC_YV12, "Planar 4:2:0 YVU"),
A("YV12"), A("YV12"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment