Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #271792

Category ffmpeg
Changed by Azat Nurgaliev <azat.nurgohnoyoudont@gmail.com>
Changed at Fri 19 Jun 2026 11:48:56
Repository https://git.ffmpeg.org/ffmpeg.git
Project ffmpeg
Branch master
Revision bccaf86a89699ffb54b01503c935eb489a39a8b0

Comments

avcodec/amfdec: propagate color and HDR metadata from AMF surfaces
The AMF hardware decoder exposes color information and HDR side data on
output surfaces, but the decoder previously copied only static avctx
values onto output frames. Read primaries, transfer, range, and profile
from each surface, keep avctx updated, and fall back to cached values
when a field is not signalled on a given frame.

On resolution change, re-create the hw frames context instead of
trying to re-init an already initialized pool.

Attach HDR10 mastering/display metadata when PQ transfer is detected.
Release the AMF HDR metadata buffer after attaching side data.

Changed files