mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
Unit test covering av_video_enc_params_alloc, av_video_enc_params_block, and av_video_enc_params_create_side_data. Tests allocation for all three codec types (VP9, H264, MPEG2) and the NONE type, with 0 and 4 blocks, with and without size output. Verifies block getter indexing by writing and reading back coordinates, dimensions, and delta_qp values. Tests frame-level qp and delta_qp fields, and side data creation with frame attachment. Coverage for libavutil/video_enc_params.c: 0.00% -> 86.21% (remaining uncovered lines are OOM error paths) Signed-off-by: marcos ashton <marcosashiglesias@gmail.com>