mirror of
https://github.com/mpv-player/mpv
synced 2025-01-03 05:22:23 +00:00
added nv12/nv21 and some other fourccs (still not synced)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10747 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
0e182f6eac
commit
4736af8f1a
@ -132,6 +132,8 @@ static int add_to_format(char *s, char *alias,unsigned int *fourcc, unsigned int
|
||||
{"YV12", IMGFMT_YV12},
|
||||
{"I420", IMGFMT_I420},
|
||||
{"IYUV", IMGFMT_IYUV},
|
||||
{"NV12", IMGFMT_NV12},
|
||||
{"NV21", IMGFMT_NV21},
|
||||
{"YVU9", IMGFMT_YVU9},
|
||||
{"IF09", IMGFMT_IF09},
|
||||
{"444P", IMGFMT_444P},
|
||||
|
13
m_option.c
13
m_option.c
@ -914,6 +914,7 @@ m_option_type_t m_option_type_subconfig = {
|
||||
|
||||
#include "libmpcodecs/img_format.h"
|
||||
|
||||
/* FIXME: snyc with img_format.h */
|
||||
static struct {
|
||||
char* name;
|
||||
unsigned int fmt;
|
||||
@ -922,12 +923,18 @@ static struct {
|
||||
{"422p", IMGFMT_422P},
|
||||
{"411p", IMGFMT_411P},
|
||||
{"yuy2", IMGFMT_YUY2},
|
||||
{"yv12", IMGFMT_YV12},
|
||||
{"i420", IMGFMT_I420},
|
||||
{"uyvy", IMGFMT_UYVY},
|
||||
{"yvu9", IMGFMT_YVU9},
|
||||
{"if09", IMGFMT_IF09},
|
||||
{"yv12", IMGFMT_YV12},
|
||||
{"i420", IMGFMT_I420},
|
||||
{"iyuv", IMGFMT_IYUV},
|
||||
{"uyvy", IMGFMT_UYVY},
|
||||
{"clpl", IMGFMT_CLPL},
|
||||
{"hm12", IMGFMT_NV12},
|
||||
{"y800", IMGFMT_Y800},
|
||||
{"y8", IMGFMT_Y8},
|
||||
{"nv12", IMGFMT_NV12},
|
||||
{"nv21", IMGFMT_NV21},
|
||||
{"bgr24", IMGFMT_BGR24},
|
||||
{"bgr32", IMGFMT_BGR32},
|
||||
{"bgr16", IMGFMT_BGR16},
|
||||
|
Loading…
Reference in New Issue
Block a user