mirror of https://github.com/mpv-player/mpv
cc05910f16
Move sub-bitmap definitions from dec_sub.h to sub.h. While it's a bit odd that OSD data structures are in a file named sub.h, it's definitely way too strange to have them in a file about subtitle decoding. (Maybe sub.h/.c and the sub/ directory should be split out and renamed "osd" at a later point.) Remove including ass_mp.h (and the libass headers) where possible. Remove typedefs for mp_eosd_res and sub_bitmaps structs. Store a mp_eosd_res struct in osd_state instead of just w/h. Note that sbtitles might be rendered using different sizes/margins when filters are involved (the subtitle renderer is not supposed to use the OSD res directly, and the "dim" member removed in the previous commit is something different). |
||
---|---|---|
.. | ||
aspect.c | ||
aspect.h | ||
bitmap_packer.c | ||
bitmap_packer.h | ||
cocoa_common.h | ||
cocoa_common.m | ||
csputils.c | ||
csputils.h | ||
d3d_shader_yuv.h | ||
d3d_shader_yuv.hlsl | ||
d3d_shader_yuv_2ch.h | ||
fastmemcpy.h | ||
filter_kernels.c | ||
filter_kernels.h | ||
geometry.c | ||
geometry.h | ||
gl_common.c | ||
gl_common.h | ||
gl_header_fixes.h | ||
gl_osd.c | ||
gl_osd.h | ||
osd.c | ||
osd.h | ||
osd_template.c | ||
osx_common.c | ||
osx_common.h | ||
video_out.c | ||
video_out.h | ||
vo_caca.c | ||
vo_corevideo.h | ||
vo_corevideo.m | ||
vo_direct3d.c | ||
vo_gl.c | ||
vo_gl3.c | ||
vo_gl3_shaders.glsl | ||
vo_image.c | ||
vo_lavc.c | ||
vo_null.c | ||
vo_vdpau.c | ||
vo_x11.c | ||
vo_xv.c | ||
w32_common.c | ||
w32_common.h | ||
x11_common.c | ||
x11_common.h |