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

Change #278872

Category ffmpeg
Changed by Tymur Boiko <tboikoohnoyoudont@nvidia.com>
Changed at Fri 21 Aug 2026 16:06:57
Repository https://git.ffmpeg.org/ffmpeg.git
Project ffmpeg
Branch master
Revision 1a6a186b808a5bf65a408c700846d208227d6549

Comments

avcodec/vulkan_decode: set H.264 pictureLayout from SPS frame_mbs_only_flag
VkVideoDecodeH264ProfileInfoKHR::pictureLayout must match the sequence.
ITU-T H.264 frame_mbs_only_flag==1 means frames only; ==0 allows field
pictures and MBAFF. Vulkan PROGRESSIVE sessions are progressive-only;
non-PROGRESSIVE enables interlaced field DPB (h264_decode / videocoding).

pictureLayout values are mutually exclusive video profiles (vk.xml).
Map with !frame_mbs_only_flag, then validate with
vkGetPhysicalDeviceVideoCapabilitiesKHR:

- frame_mbs_only_flag == 1, or no SPS -> PROGRESSIVE (one query)
- frame_mbs_only_flag == 0 -> prefer INTERLACED_INTERLEAVED_LINES only

Do not use avctx->field_order: MBAFF may still report progressive.

Signed-off-by: Tymur Boiko <tboiko@nvidia.com>

Changed files