0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/video
wm4 d78bde15ab vo_opengl_old: reject 9-15 bit formats if textures have less than 16 bit
For 9-15 bit material, cutting off the lower bits leads to significant
quality reduction, because these formats leave the most significant bits
unused (e.g. 10 bit padded to 16 bit, transferred as 8 bit -> only
2 bits left). 16 bit formats still can be played like this, as cutting
the lower bits merely reduces quality in this case.

This problem was encountered with the following GPU/driver combination:

OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) 915GM x86/MMX/SSE2
OpenGL version string: 1.4 Mesa 9.0.1

It appears 16 bit support is rather common on GPUs, so testing the
actual texture depth wasn't needed until now. (There are some other Mesa
GPU/driver combinations which support 16 bit only when using RG textures
instead of LUMINANCE_ALPHA. This is due to OpenGL driver bugs.)
2012-12-28 14:23:29 +01:00
..
decode options, vo_x11: remove -zoom option, make it default 2012-11-16 21:21:14 +01:00
filter vf_scale: support more pixel formats 2012-12-28 08:31:58 +01:00
out vo_opengl_old: reject 9-15 bit formats if textures have less than 16 bit 2012-12-28 14:23:29 +01:00
csputils.c
csputils.h
fmt-conversion.c video: silence warnings for missing libavutils pixel formats 2012-12-14 21:34:56 +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