1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-03 13:41:49 +00:00
mpv/video
wm4 d69b39512d vf_eq: fix behavior when changing parameters
Using -vf eq and changing brightness, contrast, etc. using key bindings
with e.g. "add brightness 1" didn't work well: with step width 1, the
property gets easily "stuck". This is a rounding problem: e.g. setting
gamma to 3 would actually make it report that gamma is set to 2, so
the "add" command will obviously never reach 3 with a step width of 1.
Fix this by storing the parameters as integers.

This was broken in cac7702. This commit effectively changed these
properties to use the value as reported by vf_eq, instead of the
previously set value for the "add" command. This was more robust,
but not very correct either, so we keep the new behavior and make
vf_eq report its parameters more accurately.
2013-08-20 16:11:07 +02:00
..
decode vaapi: use highest available profile, instead of mapping it exactly 2013-08-19 01:05:48 +02:00
filter vf_eq: fix behavior when changing parameters 2013-08-20 16:11:07 +02:00
out wayland: separate shm and cursor context 2013-08-19 14:12:39 +02:00
csputils.c video: support setting libswscale chroma position 2013-07-25 23:03:20 +02:00
csputils.h video: support setting libswscale chroma position 2013-07-25 23:03:20 +02:00
fmt-conversion.c video: add vaapi decode and output support 2013-08-12 01:12:02 +02:00
fmt-conversion.h
image_writer.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
image_writer.h image_writer: Add PNG filter option (default "mixed") 2013-06-15 15:48:52 +02:00
img_format.c video: add vaapi decode and output support 2013-08-12 01:12:02 +02:00
img_format.h video: add vaapi decode and output support 2013-08-12 01:12:02 +02:00
img_fourcc.h
memcpy_pic.h
mp_image_pool.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
mp_image_pool.h mp_image_pool: make reference counting thread-safe 2013-07-28 19:25:07 +02:00
mp_image.c gl_video: handle non-mod-2 4:2:0 YUV video correctly 2013-08-06 21:46:47 +02:00
mp_image.h core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
sws_utils.c img_convert: add function to scale RGBA OSD images 2013-08-12 00:51:31 +02:00
sws_utils.h img_convert: add function to scale RGBA OSD images 2013-08-12 00:51:31 +02:00
vaapi.h vaapi: fix typo 2013-08-14 00:36:33 +02:00
vdpau_functions.inc vo_vdpau: allow setting colorkey 2013-08-17 20:06:20 +02:00
vdpau.c vdpau: split off decoder parts, use "new" libavcodec vdpau hwaccel API 2013-07-28 19:25:07 +02:00
vdpau.h core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
vfcap.h