Closed Gnurou closed 1 year ago
Briefly looking at GStreamer, they map that to VAProfileH264Main, i.e.:
case GST_H264_PROFILE_EXTENDED:
if (sps->constraint_set1_flag) { /* A.2.2 (main profile) */
profiles[i++] = VAProfileH264Main;
}
break;
As that code has been in production for quite a while, I think it is safe to do the same here.
Thanks, with this I could pass the test! The check on constraint_set1_flag
triggers on SP1_BT_A
and sp2_bt_b
, but without it the decoded result is incorrect. FFmpeg also cannot decode these correctly (we actually get the same MD5 if we ignore the flag).
Fluster's
JVT-AVC_V1::BA3_SVA_C
test vector requires the extended profile, which we don't support yet:This profile is not listed in the
VAProfile
enum: https://github.com/intel/libva/blob/master/va/va.h#L502Should we substitute another profile for it? The table on this post seems to suggest some features are exclusive to the extended profile, so there is no obvious candidate...