Struct AVVideoBlockParams
#[repr(C)]pub struct AVVideoBlockParams {
pub src_x: i32,
pub src_y: i32,
pub w: i32,
pub h: i32,
pub delta_qp: i32,
}
Expand description
Data structure for storing block-level encoding information. It is allocated as a part of AVVideoEncParams and should be retrieved with av_video_enc_params_block().
sizeof(AVVideoBlockParams) is not a part of the ABI and new fields may be added to it.
Fields§
§src_x: i32
Distance in luma pixels from the top-left corner of the visible frame to the top-left corner of the block. Can be negative if top/right padding is present on the coded frame.
src_y: i32
Distance in luma pixels from the top-left corner of the visible frame to the top-left corner of the block. Can be negative if top/right padding is present on the coded frame.
w: i32
Width and height of the block in luma pixels.
h: i32
Width and height of the block in luma pixels.
delta_qp: i32
Difference between this block’s final quantization parameter and the corresponding per-frame value.
Trait Implementations§
§impl Clone for AVVideoBlockParams
impl Clone for AVVideoBlockParams
§fn clone(&self) -> AVVideoBlockParams
fn clone(&self) -> AVVideoBlockParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more