Closed podborski closed 2 years ago
related to #120
The RenderWidth
and RenderHeight
variables are defined in the AV1 spec, Section 5.9.6. Render size syntax. Note that RenderWidth
is equal to render_width_minus_1 + 1
and RenderHeight
is equal to render_height_minus_1 + 1
only when render_and_frame_size_different
is equal to 1. So MaxRenderWidth
and MaxRenderHeight
should be defined in terms of RenderWidth
and RenderHeight
, rather than render_width_minus_1 + 1
and render_height_minus_1 + 1
.
The group thinks point 1 is fixed with #120, and that the wording for MaxRenderWidth (and Height) could be improved (maybe as a formula) for point 2.
We also need to clarify if changes of max_frame_width_minus_1
values within a single sample entry is permitted (related to #136).
The current spec says:
The width and height fields of the VisualSampleEntry SHALL equal the values of max_frame_width_minus_1 + 1 and max_frame_height_minus_1 + 1 of the Sequence Header OBU applying to the samples associated with this sample entry.
So I think it is clear that if the max value changes you have to create a new sample entry.
The following sentence is a little bit confusing:
MaxRenderWidth, Height
. Is this the maximumrender_width_minus_1 + 1
andrender_height_minus_1 + 1
which can appear inframe_header_obu
in all samples of the track (and in all sample entries of the track)?