Skip to content

v4l2codecs: Fix dynamic resolution change

This fixes support for dynamic resolution changes in MPEG2, H264, VP8 and VP9. VP9 requires a bit more work since it was not taking into account the render size (VP9 name for display size). This also improve the VP9 base class to also emit new_sequence on keyframe if the render rectangle changed (cleanup up from cruft / cc @seungha.yang) and adds a specific error message to signal when inter-frame resolution change is detected (as this is not yet supported by V4L2).

For the record, on RKVDEC driver, I'm getting fluster score of 227/303

Edited by Nicolas Dufresne

Merge request reports