mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 15:52:25 +00:00
c082240c62
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. |
||
---|---|---|
.. | ||
pullup.c | ||
pullup.h | ||
vf_crop.c | ||
vf_delogo.c | ||
vf_divtc.c | ||
vf_dlopen.c | ||
vf_dlopen.h | ||
vf_down3dright.c | ||
vf_dsize.c | ||
vf_eq.c | ||
vf_expand.c | ||
vf_flip.c | ||
vf_format.c | ||
vf_gradfun.c | ||
vf_hqdn3d.c | ||
vf_ilpack.c | ||
vf_mirror.c | ||
vf_noformat.c | ||
vf_noise.c | ||
vf_phase.c | ||
vf_pp.c | ||
vf_pullup.c | ||
vf_rotate.c | ||
vf_scale.c | ||
vf_screenshot.c | ||
vf_softpulldown.c | ||
vf_stereo3d.c | ||
vf_sub.c | ||
vf_swapuv.c | ||
vf_unsharp.c | ||
vf_vo.c | ||
vf_yadif.c | ||
vf.c | ||
vf.h |