mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
codecparsers: av1: add ref_global_motion_params in frame header
In order to ease the AV1 bit writer to write the global_motion_params when primary_ref_frame is enabled, we need to add this field to set the global_motion_params of the reference frame. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3015>
This commit is contained in:
parent
14a5d936f8
commit
e1d96d0669
1 changed files with 10 additions and 0 deletions
|
@ -1536,6 +1536,7 @@ struct _GstAV1FilmGrainParams {
|
||||||
* @tx_mode: specifies how the transform size is determined.
|
* @tx_mode: specifies how the transform size is determined.
|
||||||
* @skip_mode_frame: specifies the frames to use for compound prediction when @skip_mode is 1.
|
* @skip_mode_frame: specifies the frames to use for compound prediction when @skip_mode is 1.
|
||||||
* @expected_frame_id: specifies the frame id for each frame used for reference. (Since: 1.24)
|
* @expected_frame_id: specifies the frame id for each frame used for reference. (Since: 1.24)
|
||||||
|
* @ref_global_motion_params: specifies the global motion parameters of the reference. (Since: 1.24)
|
||||||
*/
|
*/
|
||||||
struct _GstAV1FrameHeaderOBU {
|
struct _GstAV1FrameHeaderOBU {
|
||||||
gboolean show_existing_frame;
|
gboolean show_existing_frame;
|
||||||
|
@ -1614,6 +1615,15 @@ struct _GstAV1FrameHeaderOBU {
|
||||||
* Since: 1.24
|
* Since: 1.24
|
||||||
*/
|
*/
|
||||||
gint32 expected_frame_id[GST_AV1_REFS_PER_FRAME];
|
gint32 expected_frame_id[GST_AV1_REFS_PER_FRAME];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* _GstAV1FrameHeaderOBU.ref_global_motion_params:
|
||||||
|
*
|
||||||
|
* Specifies the global motion parameters of the reference.
|
||||||
|
*
|
||||||
|
* Since: 1.24
|
||||||
|
*/
|
||||||
|
GstAV1GlobalMotionParams ref_global_motion_params;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue