mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
encoder: vp9: Define Max frame width and height
https://bugzilla.gnome.org/show_bug.cgi?id=766048
This commit is contained in:
parent
1606d4bd77
commit
5dc63dbf5a
1 changed files with 5 additions and 3 deletions
|
@ -53,6 +53,9 @@
|
|||
#define DEFAULT_SHARPNESS_LEVEL 0
|
||||
#define DEFAULT_YAC_QINDEX 60
|
||||
|
||||
#define MAX_FRAME_WIDTH 4096
|
||||
#define MAX_FRAME_HEIGHT 4096
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
/* --- VP9 Encoder --- */
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
@ -142,9 +145,8 @@ fill_sequence (GstVaapiEncoderVP9 * encoder, GstVaapiEncSequence * sequence)
|
|||
|
||||
memset (seq_param, 0, sizeof (VAEncSequenceParameterBufferVP9));
|
||||
|
||||
/* Fixme: check the requirement of 64 byte alignment ? */
|
||||
seq_param->max_frame_width = 8192;
|
||||
seq_param->max_frame_height = 8192;
|
||||
seq_param->max_frame_width = MAX_FRAME_WIDTH;
|
||||
seq_param->max_frame_height = MAX_FRAME_HEIGHT;
|
||||
|
||||
/* keyframe minimum interval */
|
||||
seq_param->kf_min_dist = 1;
|
||||
|
|
Loading…
Reference in a new issue