index
:
mpv
absurd_test
absurd_test2
absurd_test3
ass_shit
bliss
coverity_scan
master
mruby
rc
rcombs/macos-fixes
rcombs/swift
read_stats_new
read_stats_old
release/0.1
release/0.2
release/0.27
release/0.28
release/0.29
release/0.3
release/0.30
release/0.31
release/0.32
release/0.33
release/0.34
release/0.35
release/0.36
release/0.37
release/0.38
release/0.39
release/0.4
release/0.5
release/0.6
release/0.7
release/0.8
release/0.9
stream_debug_stuff
stream_no_size_caching
stream_size_fstat
stream_size_fstat_nocache
x11_geo
ytdl_sub_delayload
a free, open source, and cross-platform media player
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
video
/
mp_image.c
Commit message (
Expand
)
Author
Age
Files
Lines
*
video/mp_image: fix original param copy implementation
nanahi
2024-10-29
1
-3
/
+3
*
mp_image: restore dovi metadata before converting to AVFrame
nanahi
2024-10-06
1
-5
/
+8
*
mp_image: only restore params when image is dolbyvision
nanahi
2024-10-06
1
-0
/
+2
*
mp_image: copy params before dovi mapping for mp_image_copy_attributes
nanahi
2024-10-06
1
-0
/
+3
*
Revert "mp_image: don't restore image params if they're unknown"
nanahi
2024-09-16
1
-2
/
+0
*
mp_image: don't restore image params if they're unknown
llyyr
2024-09-03
1
-0
/
+2
*
mp_image: save fallback colorspace when dovi metadata is present
nanahi
2024-09-01
1
-0
/
+16
*
various: remove no longer needed availability checks
Kacper Michajłow
2024-06-22
1
-20
/
+1
*
mp_image: remove unneeded PL_HAVE_LIBDOVI check
Kacper Michajłow
2024-05-21
1
-2
/
+0
*
video/image_writer: attach MDVC metadata and CLLI metadata
Leo Izen
2024-03-19
1
-5
/
+1
*
mp_image: add Dolby Vision metadata mapping
Kacper Michajłow
2024-03-09
1
-8
/
+29
*
csputils: add missing PL_COLOR_SYSTEM names
Kacper Michajłow
2024-03-09
1
-0
/
+3
*
mp_image: add mp_image_params_static_equal for finer comparision
Kacper Michajłow
2024-03-09
1
-0
/
+11
*
all: add missing repr assignments
Kacper Michajłow
2024-01-26
1
-1
/
+3
*
csputils: replace more primitives with pl_
Kacper Michajłow
2024-01-22
1
-2
/
+2
*
csputils: replace mp_chroma_location with pl_chroma_location
Kacper Michajłow
2024-01-22
1
-6
/
+6
*
csputils: replace mp_alpha_type with pl_alpha_mode
Kacper Michajłow
2024-01-22
1
-5
/
+3
*
csputils: replace mp_colorspace with pl_color_space
Kacper Michajłow
2024-01-22
1
-77
/
+80
*
mp_image: remove local params copy from mp_image_setfmt
Kacper Michajłow
2023-11-28
1
-3
/
+1
*
ALL: use pl_hdr_metadata and nuke sig_peak
Kacper Michajłow
2023-11-05
1
-26
/
+19
*
ALL: use new mp_thread abstraction
Kacper Michajłow
2023-11-05
1
-2
/
+2
*
mp_image: pass rotation correctly to/from AVFrame
Kacper Michajłow
2023-11-03
1
-1
/
+8
*
mp_image: set crop metadata when converting to AVFrame
Kacper Michajłow
2023-10-20
1
-0
/
+5
*
video/mp_image: handle non-power-of-two alignment
Niklas Haas
2023-10-19
1
-1
/
+1
*
mp_image: don't copy crop value from opaque_ref
Kacper Michajłow
2023-10-07
1
-1
/
+0
*
mp_image: add force_window field
Dudemanguy
2023-09-21
1
-0
/
+1
*
mp_image: add missing crop initialization
Kacper Michajłow
2023-09-08
1
-0
/
+7
*
mp_image: add image crop rect to mp_image_params
Kacper Michajłow
2023-08-31
1
-3
/
+22
*
mp_image: properly infer color levels for some pixfmts
Kacper Michajłow
2023-08-07
1
-1
/
+29
*
mp_image: abort on av_buffer_ref() failure
NRK
2023-06-28
1
-19
/
+11
*
mp_image: use the ffmpeg interlaced frame flags where available
Philip Langdale
2023-05-11
1
-0
/
+14
*
mp_image: always add AV_FRAME_DATA_DOVI_METADATA when present
quietvoid
2023-04-10
1
-8
/
+2
*
various: fix various typos in the code base
Alexander Seiler
2023-03-28
1
-2
/
+2
*
mp_image: assert if src and dst are different in copy_attributes
Kacper Michajłow
2023-03-05
1
-0
/
+2
*
mp_image: copy side data in mp_image_copy_attributes
Kacper Michajłow
2023-03-05
1
-0
/
+12
*
mp_image: fix XYZ gamma and primaries guess
Kacper Michajłow
2023-03-02
1
-12
/
+4
*
mp_image: be less agressive with clearing color information
Kacper Michajłow
2023-03-02
1
-3
/
+8
*
various: drop unused #include "config.h"
Thomas Weißschuh
2023-02-20
1
-1
/
+0
*
mp_image: forward AV_FRAME_DATA_DOVI_RPU_BUFFER side data
quietvoid
2023-02-19
1
-0
/
+8
*
mp_image: fix XYZ primaries default
Niklas Haas
2023-01-21
1
-4
/
+4
*
various: replace if + abort() with MP_HANDLE_OOM()
sfan5
2023-01-12
1
-8
/
+4
*
ffmpeg: increase minimum required version to 4.4
Philip Langdale
2022-12-01
1
-2
/
+0
*
mp_image: strip DoVi metadata that requires an EL
Niklas Haas
2022-09-28
1
-2
/
+12
*
video: remove unnecessary code
Aaron Boxer
2022-08-01
1
-1
/
+1
*
mp_image: support film grain parameters
Lynne
2022-04-05
1
-0
/
+10
*
mp_image: fix mp_image_plane_w/h
Niklas Haas
2022-02-24
1
-4
/
+2
*
mp_image: add dolbyvision metadata
Lynne
2022-01-09
1
-0
/
+10
*
mp_image, f_decoder_wrapper: implement AV_FRAME_DATA_DISPLAYMATRIX
Alex Xu (Hello71)
2021-12-15
1
-0
/
+8
*
osdep: rename MP_UNREACHABLE
Niklas Haas
2021-11-03
1
-1
/
+1
*
osdep: add MP_UNREACHABLE
Niklas Haas
2021-11-03
1
-1
/
+1
*
mp_image: add helper for clearing regions outside of a rectangle
wm4
2020-05-22
1
-0
/
+14
*
mp_image: reimplement mp_image_clear()
wm4
2020-05-21
1
-25
/
+104
*
video: clean up some imgfmt related stuff
wm4
2020-05-18
1
-16
/
+39
*
video: add yuv float formats
wm4
2020-05-09
1
-11
/
+14
*
mp_image: add some helpers
wm4
2020-05-06
1
-0
/
+20
*
video: add alpha type metadata
wm4
2020-04-24
1
-1
/
+8
*
Remove remains of Libav compatibility
wm4
2020-02-16
1
-7
/
+0
*
mp_image: copy closed captions when copying attributes
wm4
2019-10-25
1
-0
/
+1
*
mp_image: move buffer ref assigning to a function
wm4
2019-10-25
1
-7
/
+10
*
mp_image: infer XYZ as BT.2020 instead of BT.709
Niklas Haas
2019-10-20
1
-9
/
+8
*
mp_image: remove old acrobatics in frame copy code
wm4
2019-10-20
1
-21
/
+7
*
video, demux: rip out unused spherical metadata code
wm4
2019-10-17
1
-28
/
+1
*
video: remove mp_image_params.hw_flags field
wm4
2019-10-17
1
-7
/
+0
*
video: generally try to align image data on 64 bytes
wm4
2019-09-19
1
-1
/
+1
*
Implement backwards playback
wm4
2019-09-19
1
-0
/
+13
*
mp_image: align stride to multiple of texel size
Niklas Haas
2019-04-21
1
-0
/
+3
*
mp_image: strip all HDR peak information from SDR clips
Niklas Haas
2018-09-05
1
-0
/
+6
*
video: remove internal stereo_out flag
wm4
2018-04-29
1
-10
/
+6
*
mp_image: fixup a simple 10L in ref_buffer
Jan Ekström
2018-04-21
1
-1
/
+1
*
video: pass through container fps to filters
wm4
2018-04-19
1
-0
/
+1
*
video: remove libavutil PSEUDOPAL stuff
wm4
2018-04-03
1
-2
/
+1
*
mp_image: fix UB with certain callers like vf_vdpaupp
wm4
2018-03-15
1
-0
/
+4
*
mp_image: replace rude function with less rude FFmpeg upstream function
wm4
2018-03-03
1
-2
/
+4
*
mp_image: make ref error handling slightly readable
wm4
2018-03-03
1
-10
/
+9
*
mp_image: pass through unknown AVFrame side data
wm4
2018-03-03
1
-1
/
+34
*
mp_image: fix subtle side data memory leaks
wm4
2018-03-03
1
-2
/
+2
*
mp_image: preserve AVFrame closed captions data
wm4
2018-01-30
1
-0
/
+6
*
mp_image: factor buffer referencing
wm4
2018-01-30
1
-17
/
+15
*
video: change some remaining vo_opengl mentions to vo_gpu
Akemi
2018-01-20
1
-1
/
+1
*
mp_image: fix some metadata loss with conversion from/to AVFrame
wm4
2018-01-18
1
-2
/
+14
*
video: avoid some unnecessary vf.h includes
wm4
2018-01-18
1
-2
/
+0
*
vd_lavc, mp_image: remove weird mpv specific palette constant
wm4
2017-12-01
1
-3
/
+3
*
vd_lavc: move display mastering data stuff to mp_image
wm4
2017-10-30
1
-0
/
+19
*
Bump libav* API use
wm4
2017-10-30
1
-9
/
+2
*
video: make previously added hwdec params mechanism more generic
wm4
2017-10-16
1
-9
/
+9
*
video: properly pass through ICC data
wm4
2017-10-16
1
-2
/
+24
*
mp_image: merge AVFrame conversion functions
wm4
2017-10-16
1
-38
/
+29
*
video: add mp_image_params.hw_flags and add an example
wm4
2017-10-16
1
-0
/
+8
*
mp_image: select an explicit fallback for chroma location
wm4
2017-10-16
1
-0
/
+7
*
video: drop old D3D11/DXVA2 support
wm4
2017-09-26
1
-32
/
+0
*
build: add preliminary LGPL mode
wm4
2017-09-21
1
-9
/
+7
*
mp_image: don't guess colorspace params in mp_image_copy_attributes()
wm4
2017-09-19
1
-8
/
+12
*
mp_image: always copy pixel aspect ratio
wm4
2017-09-19
1
-4
/
+2
*
mp_image: always copy color attributes on hw download
wm4
2017-09-19
1
-9
/
+2
*
mp_image: include config.h directly
James Ross-Gowan
2017-08-26
1
-0
/
+1
*
video: add metadata handling for spherical video
wm4
2017-08-21
1
-1
/
+27
*
vd_lavc: decode embedded ICC profiles
Niklas Haas
2017-08-03
1
-0
/
+14
*
mp_image: expose some image allocation code as helpers, refactor
wm4
2017-07-23
1
-20
/
+123
*
mp_image: use new code for determining RGB/XYZ exceptions
wm4
2017-06-30
1
-3
/
+5
*
video: get rid of swapped packed YUV
wm4
2017-06-30
1
-3
/
+1
*
mp_image: infer correct HLG sig_peak
Niklas Haas
2017-06-27
1
-4
/
+9
*
vo_opengl: implement support for OOTFs and non-display referred content
Niklas Haas
2017-06-18
1
-0
/
+11
*
video: refactor HDR implementation
Niklas Haas
2017-06-18
1
-8
/
+4
*
mp_image: change license to LGPL (almost)
wm4
2017-06-16
1
-6
/
+3
*
mp_image: refuse to convert frames of unknown format to AVFrame
wm4
2017-06-08
1
-0
/
+2
*
mp_image: for hwaccel, use underlying fmt in mp_image_params_guess_csp()
wm4
2017-02-21
1
-1
/
+2
*
lavfi: use mp_image to store the filter pad format
wm4
2017-02-20
1
-0
/
+11
*
mp_image: use AVFrame.opaque_ref to pass through mpv-only fields
wm4
2017-02-13
1
-0
/
+20
*
vd_lavc, mp_image: remove code duplication for AVFrame<->mp_image
wm4
2017-01-12
1
-0
/
+14
*
vaapi: properly set hw_subfmt field with new decode API
wm4
2017-01-12
1
-0
/
+6
*
video: use demuxer-signaled duration for last video frame
wm4
2016-12-21
1
-0
/
+1
*
Remove compatibility things
wm4
2016-12-07
1
-4
/
+0
*
mp_image: dump all mp_colorspace members in verbose logging
wm4
2016-11-08
1
-1
/
+7
*
mp_image: fix clearing to black with p010 format
wm4
2016-09-29
1
-1
/
+1
*
video: change hw_subfmt meaning
wm4
2016-07-15
1
-1
/
+1
*
vo_opengl: generalize HDR tone mapping mechanism
Niklas Haas
2016-07-03
1
-3
/
+4
*
mp_image: split colorimetry metadata into its own struct
Niklas Haas
2016-07-03
1
-55
/
+52
*
vo_opengl: implement the Panasonic V-Log function
Niklas Haas
2016-06-28
1
-2
/
+7
*
vo_opengl: refactor HDR mechanism
Niklas Haas
2016-05-30
1
-0
/
+7
*
mp_image: properly communicate aspect ratio through AVFrame
wm4
2016-05-30
1
-1
/
+6
*
mp_image: don't reset pixel aspect with mp_image_set_size()
wm4
2016-05-30
1
-3
/
+2
*
mp_image: don't lose pixel aspect ratio when setting format
wm4
2016-05-29
1
-1
/
+3
*
mp_image: allow passing NULL to mp_image_new_custom_ref()
wm4
2016-04-25
1
-1
/
+1
*
mp_image: make mp_image_copy_fields_* private
wm4
2016-04-15
1
-4
/
+4
*
mp_image: add mp_image_to_av_frame()
wm4
2016-04-15
1
-6
/
+9
*
mp_image: simplify mp_image_steal_data()
wm4
2016-04-15
1
-17
/
+7
*
mp_image: pass through AVHWFramesContext
wm4
2016-04-15
1
-4
/
+20
*
mp_image: introduce a hw_subfmt field
wm4
2016-04-07
1
-0
/
+6
*
mp_image: force display size to at least 1x1
wm4
2016-02-12
1
-2
/
+2
*
mp_image: copy dts as part of mp_image attributes too
wm4
2016-01-28
1
-0
/
+1
*
mpv_talloc.h: rename from talloc.h
Dmitrij D. Czarkoff
2016-01-11
1
-1
/
+1
*
video: switch from using display aspect to sample aspect
wm4
2015-12-19
1
-14
/
+29
*
video: replace vf_format outputlevels option with global option
wm4
2015-09-29
1
-6
/
+0
*
video: refactor GPU memcpy usage
wm4
2015-09-25
1
-18
/
+64
*
mp_image: fix vf_vdpaupp references
wm4
2015-07-08
1
-2
/
+0
*
video: replace our own refcounting with libavutil's
wm4
2015-07-05
1
-137
/
+80
*
mp_image: make image writeable before overwriting palette
wm4
2015-07-05
1
-2
/
+4
*
mp_image: remove some unused interlacing flags
wm4
2015-04-23
1
-2
/
+1
*
Update license headers
Marcin Kurczewski
2015-04-13
1
-5
/
+4
*
mp_image: remove redundant flags field
wm4
2015-04-10
1
-4
/
+3
*
mp_image: remove redundant chroma_x/y_shift fields
wm4
2015-04-10
1
-2
/
+0
*
mp_image: remove redundant plane_w/h fields
wm4
2015-04-10
1
-11
/
+21
*
mp_image: fix build
wm4
2015-04-09
1
-2
/
+0
*
video: move colorspace overrides to vf_format, simplify
wm4
2015-03-31
1
-5
/
+9
*
mp_image: reject 0-sized images
wm4
2015-03-23
1
-2
/
+1
*
mp_image: do not assume trailing stride padding exists
wm4
2015-03-20
1
-4
/
+4
*
video: uninline memcpy_pic functions
wm4
2015-03-20
1
-1
/
+47
*
mp_image: remove unneeded things
wm4
2015-03-20
1
-33
/
+16
*
Remove some FFmpeg/Libav compatibility hacks
wm4
2015-03-03
1
-5
/
+0
*
Revert "Revert recent vo_opengl related commits"
Niklas Haas
2015-02-28
1
-1
/
+10
*
Revert recent vo_opengl related commits
wm4
2015-02-28
1
-10
/
+1
*
video: fix typo
wm4
2015-02-28
1
-1
/
+1
*
csputils: add missing gamma support
Niklas Haas
2015-02-28
1
-1
/
+10
*
vo_opengl: change the way unaligned chroma size is handled
wm4
2015-01-27
1
-1
/
+1
*
vo: simplify VOs by adding generic screenshot support
wm4
2015-01-24
1
-0
/
+3
*
video: handle hwdec screenshots differently
wm4
2015-01-22
1
-0
/
+1
*
mp_image: reject invalid display aspect ratio
wm4
2015-01-13
1
-1
/
+1
*
mp_image: copy missing attributes
James Ross-Gowan
2015-01-07
1
-0
/
+2
*
mp_image: check for malloc failure
wm4
2014-12-13
1
-0
/
+2
*
video: remove things forgotten in previous commit
wm4
2014-12-03
1
-10
/
+0
*
mp_image: slightly better image params verbose info
wm4
2014-11-12
1
-1
/
+6
*
video: move formatting of image parameters to separate function
wm4
2014-11-12
1
-0
/
+21
*
mp_image: check memory allocation
wm4
2014-11-08
1
-0
/
+4
*
video: refuse to allocate image data for hwaccel formats
wm4
2014-11-05
1
-1
/
+1
*
video: fix some vo_direct3d crashes due to FFmpeg nonsense
wm4
2014-09-21
1
-1
/
+2
*
video: initial Matroska 3D support
wm4
2014-08-30
1
-1
/
+5
*
video: Include better heuristics for guessing primaries
Niklas Haas
2014-06-22
1
-4
/
+5
*
video: Better support for XYZ input
Niklas Haas
2014-06-22
1
-1
/
+4
*
video: Support BT.2020 constant luminance system
Niklas Haas
2014-06-22
1
-1
/
+3
*
video: Add support for non-BT.709 primaries
Niklas Haas
2014-06-22
1
-0
/
+29
*
video: Add BT.2020-NCL colorspace and transfer function
Niklas Haas
2014-06-22
1
-0
/
+1
*
video: correct spelling: mp_image_params_equals -> mp_image_params_equal
wm4
2014-06-17
1
-2
/
+2
*
video: remove redundant function
wm4