Commit d1f281c4 authored by Laurent Aimar's avatar Laurent Aimar Committed by Jean-Baptiste Kempf

Added VLC_CODEC_NV12 to vlc_fourcc.h.

(cherry picked from commit 287ccf14085d974b8ad2c5d238fb6c95d1fc660f)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 3346aadc
......@@ -173,6 +173,8 @@
#define VLC_CODEC_CYUV VLC_FOURCC('c','y','u','v')
/* 10-bit 4:2:2 Component YCbCr */
#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) */
#define VLC_CODEC_PNG VLC_FOURCC('p','n','g',' ')
......
......@@ -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 {
const char *name;
D3DFORMAT format;
......
......@@ -700,6 +700,9 @@ static const entry_t p_list_video[] = {
B(VLC_CODEC_V210, "10-bit 4:2:2 Component YCbCr"),
A("v210"),
B(VLC_CODEC_NV12, "Planar Y, Packet UV (420)"),
A("NV12"),
/* Videogames Codecs */
/* 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