aboutsummaryrefslogtreecommitdiffstats
path: root/tools/target_dec_fuzzer.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2024-12-04 12:20:22 +0100
committerNiklas Haas <git@haasn.dev>2024-12-23 13:33:33 +0100
commit3428a8d830357c7c3a30cabbf22f74a362541a5b (patch)
tree8fca7a5619633a2b0197029b321a4a69fc247523 /tools/target_dec_fuzzer.c
parent01084f3d16aeff2129fb1d2944921fc986cd4475 (diff)
downloadffmpeg-3428a8d830357c7c3a30cabbf22f74a362541a5b.tar.gz
avutil/frame: add AV_SIDE_DATA_PROP_{SIZE,COLOR}_DEPENDENT
Many filters modify certain aspects of frame data, e.g. through resizing (vf_*scale* family), color volume mapping (vf_lut*, vf_tonemap*), or possibly others. When this happens, we should strip all frame side data that will no longer be correct/relevant after the operation. For example, changing the image size should invalidate AV_FRAME_DATA_PANSCAN because the crop window (given in pixels) no longer corresponds to the actual image size. For another example, tone-mapping filters (e.g. from HDR to SDR) should strip all of the dynamic HDR related metadata. Since there are a lot of different side data types that are affected by such operations, it makes sense to establish this information in a common, easily accessible way. The existing side data properties enum is a perfect fit for this.
Diffstat (limited to 'tools/target_dec_fuzzer.c')
0 files changed, 0 insertions, 0 deletions