Commit 287ccf14 authored by Laurent Aimar's avatar Laurent Aimar

Added VLC_CODEC_NV12 to vlc_fourcc.h.

parent e7631379
...@@ -173,6 +173,8 @@ ...@@ -173,6 +173,8 @@
#define VLC_CODEC_CYUV VLC_FOURCC('c','y','u','v') #define VLC_CODEC_CYUV VLC_FOURCC('c','y','u','v')
/* 10-bit 4:2:2 Component YCbCr */ /* 10-bit 4:2:2 Component YCbCr */
#define VLC_CODEC_V210 VLC_FOURCC('v','2','1','0') #define VLC_CODEC_V210 VLC_FOURCC('v','2','1','0')
/* Planar Y Packet UV (420) */
#define VLC_CODEC_NV12 VLC_FOURCC('N','V','1','2')
/* Image codec (video) */ /* Image codec (video) */
#define VLC_CODEC_PNG VLC_FOURCC('p','n','g',' ') #define VLC_CODEC_PNG VLC_FOURCC('p','n','g',' ')
......
...@@ -180,7 +180,6 @@ static const dxva2_mode_t *Dxva2FindMode(const GUID *guid) ...@@ -180,7 +180,6 @@ static const dxva2_mode_t *Dxva2FindMode(const GUID *guid)
} }
/* */ /* */
#define VLC_CODEC_NV12 VLC_FOURCC('N','V','1','2') /* TODO move to vlc_fourcc.h */
typedef struct { typedef struct {
const char *name; const char *name;
D3DFORMAT format; D3DFORMAT format;
......
...@@ -700,6 +700,9 @@ static const entry_t p_list_video[] = { ...@@ -700,6 +700,9 @@ static const entry_t p_list_video[] = {
B(VLC_CODEC_V210, "10-bit 4:2:2 Component YCbCr"), B(VLC_CODEC_V210, "10-bit 4:2:2 Component YCbCr"),
A("v210"), A("v210"),
B(VLC_CODEC_NV12, "Planar Y, Packet UV (420)"),
A("NV12"),
/* Videogames Codecs */ /* Videogames Codecs */
/* Interplay MVE */ /* Interplay MVE */
......
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