1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-20 14:56:55 +00:00
mpv/sub
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
..
ass_mp.c osd: make the OSD and sub font more customizable 2012-11-20 18:00:15 +01:00
ass_mp.h osd: make the OSD and sub font more customizable 2012-11-20 18:00:15 +01:00
dec_sub.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
dec_sub.h VO, sub: refactor 2012-10-24 21:56:34 +02:00
draw_bmp.c video: add support for 12 and 14 bit YUV pixel formats 2012-12-03 21:08:51 +01:00
draw_bmp.h vo_xv: don't require frame stepping to remove OSD or subs 2012-11-21 19:56:59 +01:00
find_sub.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
find_subfiles.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
find_subfiles.h subs: options: add -sub-paths 2011-04-20 04:22:52 +03:00
img_convert.c sub: add --sub-gray option to display image subs in grayscale 2012-11-25 23:40:07 +01:00
img_convert.h sub: add --sub-gray option to display image subs in grayscale 2012-11-25 23:40:07 +01:00
osd_dummy.c sub: allow rendering OSD in ASS image format directly, simplify 2012-10-16 07:26:30 +02:00
osd_font.pfb osd: osd_font.h -> osd_font.pfb 2012-07-28 23:36:08 +02:00
osd_libass.c osd: make the OSD and sub font more customizable 2012-11-20 18:00:15 +01:00
sd_ass.c sd_ass: fix ASS subtitles coming from demux_lavf 2012-11-16 22:54:22 +01:00
sd_lavc.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
sd.h VO, sub: refactor 2012-10-24 21:56:34 +02:00
spudec.c Fix potential bugs and issues, general cleanups 2012-11-20 18:00:14 +01:00
spudec.h options: remove --ffactor switch 2012-10-24 21:56:35 +02:00
sub.c sub: add --sub-gray option to display image subs in grayscale 2012-11-25 23:40:07 +01:00
sub.h osd: fix z-order of subtitle OSD elements 2012-11-22 15:27:02 +01:00
subassconvert.c subassconverter: correctly handle RRGGBB and unknow formats 2012-11-25 23:47:57 +01:00
subassconvert.h
subreader.c subreader: do not skip the first char of ASS fields. 2012-11-21 20:00:52 +01:00
subreader.h subreader: replace sub_free() by talloc destructor 2012-11-16 21:21:15 +01:00
vobsub.c Fix potential bugs and issues, general cleanups 2012-11-20 18:00:14 +01:00
vobsub.h Remove dead code 2012-08-01 17:07:35 +02:00