1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 23:32:26 +00:00
mpv/video
Stephen Hutchinson c082240c62 video: add support for 12 and 14 bit YUV pixel formats
Based on a patch by qyot27. Add the missing parts in mp_get_chroma_shift(),
which allow allocation of such images, and which make vo_opengl
automatically accept the new formats. Change the IMGFMT_IS_YUVP16_LE/BE
macros to properly report IMGFMT_444P14 as supported: this pixel format
has the highest numerical bit width identifier (0x55), which is not
covered by the mask ~0xfc. Remove 1 bit from the mask (makes it 0xf8) so
that IMGFMT_IS_YUVP16(IMGFMT_444P14) is 1. This is slightly risky, as
the organization of the image format IDs (actually FourCCs + mplayer
internal IDs) is messy at best, but it should be ok.
2012-12-03 21:08:51 +01:00
..
decode options, vo_x11: remove -zoom option, make it default 2012-11-16 21:21:14 +01:00
filter video: add support for 12 and 14 bit YUV pixel formats 2012-12-03 21:08:51 +01:00
out vo_xv: try harder to get correctly aligned pointers/strides 2012-12-03 21:08:51 +01:00
csputils.c
csputils.h
fmt-conversion.c video: add support for 12 and 14 bit YUV pixel formats 2012-12-03 21:08:51 +01:00
fmt-conversion.h
image_writer.c video: fix bogus uses of mp_image.w/width 2012-11-21 19:58:51 +01:00
image_writer.h
img_format.c video: add support for 12 and 14 bit YUV pixel formats 2012-12-03 21:08:51 +01:00
img_format.h video: add support for 12 and 14 bit YUV pixel formats 2012-12-03 21:08:51 +01:00
memcpy_pic.h memcpy_pic: kill useless/dangerous optimization 2012-11-25 23:40:07 +01:00
mp_image.c video: add support for 12 and 14 bit YUV pixel formats 2012-12-03 21:08:51 +01:00
mp_image.h mp_image: make alloc_mpi() always allocate with aligned stride 2012-11-22 19:22:38 +01:00
sws_utils.c sub: reimplement -spugauss as --sub-gauss 2012-11-25 23:40:07 +01:00
sws_utils.h sub: reimplement -spugauss as --sub-gauss 2012-11-25 23:40:07 +01:00
vfcap.h options, vo_x11: remove -zoom option, make it default 2012-11-16 21:21:14 +01:00