summaryrefslogtreecommitdiffstats
path: root/video/mp_image.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-29 21:12:26 +0200
committerwm4 <wm4@nowhere>2015-09-29 21:12:26 +0200
commitee63c9c210683df9cbf17f7bbc5f4de8725260f3 (patch)
tree4079022e388fb4ff4bf0dfefe03f0f4d3cffbe0c /video/mp_image.h
parentb4491c00c4b514e925b6bbf501e26de801f28a39 (diff)
downloadmpv-ee63c9c210683df9cbf17f7bbc5f4de8725260f3.tar.bz2
mpv-ee63c9c210683df9cbf17f7bbc5f4de8725260f3.tar.xz
video: replace vf_format outputlevels option with global option
The vf_format suboption is replaced with --video-output-levels (a global option and property). In particular, the parameter is removed from mp_image_params. The mechanism is moved to the "video equalizer", which also handles common video output customization like brightness and contrast controls. The new code is slightly cleaner, and the top-level option is slightly more user-friendly than as vf_format sub-option.
Diffstat (limited to 'video/mp_image.h')
-rw-r--r--video/mp_image.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/video/mp_image.h b/video/mp_image.h
index 25eb42c050..f71f7b3652 100644
--- a/video/mp_image.h
+++ b/video/mp_image.h
@@ -46,10 +46,6 @@ struct mp_image_params {
enum mp_csp_prim primaries;
enum mp_csp_trc gamma;
enum mp_chroma_location chroma_location;
- // The image should be converted to these levels. Unlike colorlevels, it
- // does not describe the current state of the image. (Somewhat similar to
- // d_w/d_h vs. w/h.)
- enum mp_csp_levels outputlevels;
// The image should be rotated clockwise (0-359 degrees).
int rotate;
enum mp_stereo3d_mode stereo_in; // image is encoded with this mode