1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-06 07:00:30 +00:00
mpv/video/out
wm4 5830d639b8 video: remove img_format compat hacks
Remove the strange things the old mp_image_setfmt() code did to the
image format parameters. This includes setting chroma shift to 31 for
gray (Y8) formats and more.

Y8 + vo_opengl_old didn't actually work for unknown reasons (regression
in this branch). Fix this. The difference is that Y8 is now interpreted
as gray RGB (LUMINANCE texture) instead of involving YUV (and levels)
conversion.

Get rid of distinguishing RGB and BGR. There wasn't really any good
reason for this.

Remove mp_get_chroma_shift() and IMGFMT_IS_YUVP16*(). mp_imgfmt_desc
gives the same information and more.
2013-01-13 20:04:11 +01:00
..
aspect.c
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_common.h
cocoa_common.m cocoa_common: add support for --no-border 2012-12-31 14:20:49 +01:00
d3d_shader_yuv_2ch.h
d3d_shader_yuv.h
d3d_shader_yuv.hlsl
filter_kernels.c
filter_kernels.h
geometry.c
geometry.h
gl_common.c video: remove img_format compat hacks 2013-01-13 20:04:11 +01:00
gl_common.h vo_opengl_old: reject 9-15 bit formats if textures have less than 16 bit 2012-12-28 14:23:29 +01:00
gl_header_fixes.h clang: fix all warnings except deprecations 2012-11-13 22:19:18 +01:00
gl_osd.c
gl_osd.h
osx_common.h
osx_common.m osx_common: Avoid deprecated Gestalt calls 2012-12-02 10:42:46 +01:00
pnm_loader.c
pnm_loader.h
vo_caca.c vo_caca: accept any stride for output image 2013-01-13 17:39:32 +01:00
vo_corevideo.h
vo_corevideo.m video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
vo_direct3d.c video: remove img_format compat hacks 2013-01-13 20:04:11 +01:00
vo_image.c video/out: replace VFCAP_TIMER with vo->untimed, fix vo_image and vo_lavc 2013-01-13 20:04:10 +01:00
vo_lavc.c video: cleanup: replace old mp_image function names 2013-01-13 20:04:11 +01:00
vo_null.c video: remove slice based filtering and video output 2013-01-13 17:39:31 +01:00
vo_opengl_old.c video: remove img_format compat hacks 2013-01-13 20:04:11 +01:00
vo_opengl_shaders.glsl vo_opengl: use more precise gamma for BT.709 with color management 2012-12-28 13:43:24 +01:00
vo_opengl.c video: remove img_format compat hacks 2013-01-13 20:04:11 +01:00
vo_sdl.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
vo_vdpau.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
vo_x11.c video: remove img_format compat hacks 2013-01-13 20:04:11 +01:00
vo_xv.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
vo.c video/filter: change filter API, use refcounting, remove filter DR 2013-01-13 20:04:10 +01:00
vo.h video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
w32_common.c core: make WAKEUP_PERIOD overridable by the vo 2012-12-19 12:58:52 +01:00
w32_common.h win32: remove pointless get/release DC wrappers 2012-11-12 20:10:42 +01:00
x11_common.c options: remove --display 2012-11-16 21:21:15 +01:00
x11_common.h options: remove --display 2012-11-16 21:21:15 +01:00