GstCodecParsers.AV1FrameHeaderOBU¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
all_lossless |
r/w |
is a variable that is equal to 1 when coded_lossless is equal to 1 and frame_width is equal to upscaled_width. This indicates that the frame is fully lossless at the upscaled resolution. |
|
allow_high_precision_mv |
r/w |
equal to 0 specifies that motion vectors are specified to quarter pel precision; allow_high_precision_mv equal to 1 specifies that motion vectors are specified to eighth pel precision. |
|
allow_intrabc |
r/w |
equal to 1 indicates that intra block copy may be used in this frame. allow_intrabc equal to 0 indicates that intra block copy is not allowed in this frame. |
|
allow_screen_content_tools |
r/w |
equal to 1 indicates that intra blocks may use palette encoding; allow_screen_content_tools equal to 0 indicates that palette encoding is never used. |
|
allow_warped_motion |
r/w |
equal to 1 indicates that the syntax element motion_mode may be present. allow_warped_motion equal to 0 indicates that the syntax element motion_mode will not be present (this means that LOCALWARP cannot be signaled if allow_warped_motion is equal to 0). |
|
buffer_removal_time |
[ |
r/w |
specifies the frame removal time in units of DecCT clock ticks counted from the removal time of the last frame with frame_type equal to KEY_FRAME for operating point opNum. buffer_removal_time is signaled as a fixed length unsigned integer with a length in bits given by buffer_removal_time_length_minus_1 + 1. buffer_removal_time is the remainder of a modulo 1 << ( buffer_removal_time_length_minus_1 + 1 ) counter. |
buffer_removal_time_present_flag |
r/w |
equal to 1 specifies that buffer_removal_time is present in the bitstream. buffer_removal_time_present_flag equal to 0 specifies that buffer_removal_time is not present in the bitstream. |
|
cdef_params |
r/w |
a |
|
coded_lossless |
r/w |
is a variable that is equal to 1 when all segments use lossless encoding. |
|
current_frame_id |
r/w |
specifies the frame id number for the current frame. Frame id numbers are additional information that do not affect the decoding process, but provide decoders with a way of detecting missing reference frames so that appropriate action can be taken. |
|
disable_cdf_update |
r/w |
specifies whether the CDF update in the symbol decoding process should be disabled. |
|
disable_frame_end_update_cdf |
r/w |
equal to 1 indicates that the end of frame CDF update is disabled; disable_frame_end_update_cdf equal to 0 indicates that the end of frame CDF update is enabled. |
|
display_frame_id |
r/w |
provides the frame id number for the frame to output. It is a requirement of bitstream conformance that whenever display_frame_id is read, the value matches ref_frame_id[ frame_to_show_map_idx ] (the value of current_frame_id at the time that the frame indexed by frame_to_show_map_idx was stored), and that ref_valid[ frame_to_show_map_idx ] is equal to 1. It is a requirement of bitstream conformance that the number of bits needed to read display_frame_id does not exceed 16. This is equivalent to the constraint that idLen <= 16 |
|
error_resilient_mode |
r/w |
equal to 1 indicates that error resilient mode is enabled; error_resilient_mode equal to 0 indicates that error resilient mode is disabled. |
|
expected_frame_id |
[ |
r/w |
specifies the frame id for each frame used for reference. |
film_grain_params |
r/w |
a |
|
force_integer_mv |
r/w |
equal to 1 specifies that motion vectors will always be integers. force_integer_mv equal to 0 specifies that motion vectors can contain fractional bits. |
|
frame_height |
r/w |
the frame height. |
|
frame_is_intra |
r/w |
if equal to 0 indicating that this frame may use inter prediction. |
|
frame_presentation_time |
r/w |
specifies the presentation time of the frame in clock ticks DispCT counted from the removal time of the last frame with frame_type equal to KEY_FRAME for the operating point that is being decoded. The syntax element is signaled as a fixed length unsigned integer with a length in bits given by frame_presentation_time_length_minus_1 + 1. The frame_presentation_time is the remainder of a modulo 1 << (frame_presentation_time_length_minus_1 + 1) counter. |
|
frame_refs_short_signaling |
r/w |
equal to 1 indicates that only two reference frames are explicitly signaled. frame_refs_short_signaling equal to 0 indicates that all reference frames are explicitly signaled. |
|
frame_size_override_flag |
r/w |
equal to 0 specifies that the frame size is equal to the size in the sequence header. frame_size_override_flag equal to 1 specifies that the frame size will either be specified as the size of one of the reference frames, or computed from the frame_width_minus_1 and frame_height_minus_1 syntax elements. |
|
frame_to_show_map_idx |
r/w |
specifies the frame to be output. It is only available if show_existing_frame is 1. |
|
frame_type |
r/w |
specifies the type of the frame. |
|
frame_width |
r/w |
the frame width. |
|
global_motion_params |
r/w |
a |
|
gold_frame_idx |
r/w |
specifies the reference frame to use for GOLDEN_FRAME. ref_frame_idx[i]: specifies which reference frames are used by inter frames. delta_frame_id_minus_1 is used to calculate delta_frame_id. |
|
interpolation_filter |
r/w |
a |
|
is_filter_switchable |
r/w |
equal to 1 indicates that the filter selection is signaled at the block level; is_filter_switchable equal to 0 indicates that the filter selection is signaled at the frame level. |
|
is_motion_mode_switchable |
r/w |
equal to 0 specifies that only the SIMPLE motion mode will be used. |
|
last_frame_idx |
r/w |
specifies the reference frame to use for LAST_FRAME. |
|
loop_filter_params |
r/w |
a |
|
loop_restoration_params |
r/w |
a |
|
lossless_array |
r/w |
whether the segmentation is lossless. |
|
order_hint |
r/w |
is used to compute order_hint. |
|
order_hints |
[ |
r/w |
specifies the expected output order for each reference frame. |
primary_ref_frame |
r/w |
specifies which reference frame contains the CDF values and other state that should be loaded at the start of the frame. |
|
quantization_params |
r/w |
a |
|
reduced_tx_set |
r/w |
equal to 1 specifies that the frame is restricted to a reduced subset of the full set of transform types. |
|
ref_frame_idx |
[ |
r/w |
|
ref_frame_sign_bias |
[ |
r/w |
specifies the intended direction of the motion vector in time for each reference frame. |
ref_global_motion_params |
r/w |
specifies the global motion parameters of the reference. |
|
ref_order_hint |
[ |
r/w |
specifies the expected output order hint for each reference buffer. |
reference_select |
r/w |
equal to 1 specifies that the mode info for inter blocks contains the syntax element comp_mode that indicates whether to use single or compound reference prediction. Reference_select equal to 0 specifies that all interblocks will use single prediction. |
|
refresh_frame_flags |
r/w |
contains a bitmask that specifies which reference frame slots will be updated with the current frame after it is decoded. If frame_type is equal to |
|
render_and_frame_size_different |
r/w |
equal to 0 means that the render width and height are inferred from the frame width and height. render_and_frame_size_different equal to 1 means that the render width and height are explicitly coded in the bitstream. |
|
render_height |
r/w |
the frame height to be rendered. |
|
render_width |
r/w |
the frame width to be rendered. |
|
seg_qm_Level |
r/w |
the segmentation’s qm level. |
|
segmentation_params |
r/w |
a |
|
show_existing_frame |
r/w |
equal to 1, indicates the frame indexed by frame_to_show_map_idx is to be output; show_existing_frame equal to 0 indicates that further processing is required. If obu_type is equal to |
|
show_frame |
r/w |
equal to 1 specifies that this frame should be immediately output once decoded. show_frame equal to 0 specifies that this frame should not be immediately output. (It may be output later if a later uncompressed header uses show_existing_frame equal to 1). |
|
showable_frame |
r/w |
equal to 1 specifies that the frame may be output using the show_existing_frame mechanism. showable_frame equal to 0 specifies that this frame will not be output using the show_existing_frame mechanism. It is a requirement of bitstream conformance that when show_existing_frame is used to show a previous frame, that the value of showable_frame for the previous frame was equal to 1. It is a requirement of bitstream conformance that a particular showable frame is output via the show_existing_frame mechanism at most once. |
|
skip_mode_frame |
r/w |
specifies the frames to use for compound prediction when skip_mode is 1. |
|
skip_mode_present |
r/w |
equal to 1 specifies that the syntax element skip_mode will be coded in the bitstream. skip_mode_present equal to 0 specifies that skip_mode will not be used for this frame. |
|
superres_denom |
r/w |
is the denominator of a fraction that specifies the ratio between the superblock width before and after upscaling. |
|
tile_info |
r/w |
a |
|
tu_presentation_delay |
r/w |
is a syntax element used by the decoder model. It does not affect the decoding process. |
|
tx_mode |
r/w |
specifies how the transform size is determined. |
|
tx_mode_select |
r/w |
is used to compute TxMode. |
|
upscaled_width |
r/w |
the upscaled width. |
|
use_ref_frame_mvs |
r/w |
equal to 1 specifies that motion vector information from a previous frame can be used when decoding the current frame. use_ref_frame_mvs equal to 0 specifies that this information will not be used. |
|
use_superres |
r/w |
equal to 0 indicates that no upscaling is needed. use_superres equal to 1 indicates that upscaling is needed. |
Methods¶
None
Details¶
- class GstCodecParsers.AV1FrameHeaderOBU¶