1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-12 09:56:30 +00:00
mpv/video
wm4 0e2fb5d8e8 vo: redo video display rectangle calculations
This code calculates the source/display video rectangle for scaling with
most VOs. It's responsible for clipping the display rectangle against
the screen and adjusting the source rectangle accordingly.

Until now, it assumed that the video was centered on the screen. Change
this so that any rectangle is possible. Basically, the clipping is
extended to two sides (e.g. left and right), instead of handling both at
the same time.

The rounding behavior slightly changes. It seems to be slightly better
than before. On the other hand, the video is not strictly centered
anymore (due to different rounding on either side). When using panscan
controls, the video can "jitter" by 1 or 2 pixels around the center as
the panscan value is changed.
2013-06-15 18:35:09 +02:00
..
decode core: add common function to initialize AVPacket 2013-06-03 22:40:07 +02:00
filter vf_delogo: copy in non-direct case, fix double-free 2013-05-26 17:13:09 +02:00
out vo: redo video display rectangle calculations 2013-06-15 18:35:09 +02:00
csputils.c Silence some compiler warnings 2013-05-21 00:04:27 +02:00
csputils.h video: support YCgCo colorspace 2013-05-04 01:34:29 +02:00
fmt-conversion.c Fix compilation with Libav 2013-05-01 17:02:06 +02:00
fmt-conversion.h
image_writer.c image_writer: Add PNG filter option (default "mixed") 2013-06-15 15:48:52 +02:00
image_writer.h image_writer: Add PNG filter option (default "mixed") 2013-06-15 15:48:52 +02:00
img_format.c img_format: fix broken condition 2013-05-06 23:11:10 +02:00
img_format.h video: add XYZ support 2013-05-01 16:26:45 +02:00
img_fourcc.h core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
memcpy_pic.h
mp_image_pool.c
mp_image_pool.h
mp_image.c mp_image: align image allocation height 2013-05-17 23:45:55 +02:00
mp_image.h mp_image: provide function to convert mp_image to AVFrame 2013-04-21 04:39:58 +02:00
sws_utils.c
sws_utils.h
vfcap.h core: simplify OSD capability handling, remove VFCAP_OSD 2013-03-01 11:16:01 +01:00