Mercurial > mplayer.hg
changeset 30098:834af9d1e3e9
Add support for 440p colorspace.
author | reimar |
---|---|
date | Wed, 30 Dec 2009 12:03:17 +0000 |
parents | 9d724e6def3e |
children | 08f37016bb91 |
files | codec-cfg.c fmt-conversion.c libmpcodecs/img_format.c libmpcodecs/img_format.h libmpcodecs/mp_image.h m_option.c |
diffstat | 6 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/codec-cfg.c Wed Dec 30 11:32:24 2009 +0000 +++ b/codec-cfg.c Wed Dec 30 12:03:17 2009 +0000 @@ -155,6 +155,7 @@ {"444P", IMGFMT_444P}, {"422P", IMGFMT_422P}, {"411P", IMGFMT_411P}, + {"440P", IMGFMT_440P}, {"Y800", IMGFMT_Y800}, {"Y8", IMGFMT_Y8},
--- a/fmt-conversion.c Wed Dec 30 11:32:24 2009 +0000 +++ b/fmt-conversion.c Wed Dec 30 12:03:17 2009 +0000 @@ -58,6 +58,7 @@ {IMGFMT_411P, PIX_FMT_YUV411P}, {IMGFMT_422P, PIX_FMT_YUV422P}, {IMGFMT_444P, PIX_FMT_YUV444P}, + {IMGFMT_440P, PIX_FMT_YUV440P}, // YUVJ are YUV formats that use the full Y range and not just // 16 - 235 (see colorspaces.txt). @@ -65,6 +66,7 @@ {IMGFMT_YV12, PIX_FMT_YUVJ420P}, {IMGFMT_422P, PIX_FMT_YUVJ422P}, {IMGFMT_444P, PIX_FMT_YUVJ444P}, + {IMGFMT_440P, PIX_FMT_YUVJ440P}, {IMGFMT_XVMC_MOCO_MPEG2, PIX_FMT_XVMC_MPEG2_MC}, {IMGFMT_XVMC_IDCT_MPEG2, PIX_FMT_XVMC_MPEG2_IDCT},
--- a/libmpcodecs/img_format.c Wed Dec 30 11:32:24 2009 +0000 +++ b/libmpcodecs/img_format.c Wed Dec 30 12:03:17 2009 +0000 @@ -108,6 +108,10 @@ xs = 2; ys = 0; break; + case IMGFMT_440P: + xs = 0; + ys = 1; + break; default: err = 1; break;
--- a/libmpcodecs/img_format.h Wed Dec 30 11:32:24 2009 +0000 +++ b/libmpcodecs/img_format.h Wed Dec 30 12:03:17 2009 +0000 @@ -71,6 +71,7 @@ #define IMGFMT_444P 0x50343434 #define IMGFMT_422P 0x50323234 #define IMGFMT_411P 0x50313134 +#define IMGFMT_440P 0x50303434 #define IMGFMT_HM12 0x32314D48 /* Packed YUV Formats */