1
mirror of https://code.videolan.org/videolan/vlc synced 2024-08-31 06:46:39 +02:00

Added VLC_CODEC_NV12 to vlc_fourcc.h.

This commit is contained in:
Laurent Aimar 2010-05-08 10:29:31 +02:00
parent e763137961
commit 287ccf1408
3 changed files with 5 additions and 1 deletions

View File

@ -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',' ')

View File

@ -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;

View File

@ -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 */