mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-02 21:48:55 +00:00
libs: encoder: h264,h265: initial and minimal QP can be zero
Currently the minimal value for either min_qp and init_qp are 1, but VA documentation specifiy that zero is also valid and means to ignore the quantiser. The default value is not changed though to avoid behaivor changes to users.
This commit is contained in:
parent
81203a6098
commit
d4bc0cb6da
3 changed files with 6 additions and 6 deletions
|
@ -3623,7 +3623,7 @@ gst_vaapi_encoder_h264_get_default_properties (void)
|
|||
GST_VAAPI_ENCODER_PROPERTIES_APPEND (props,
|
||||
GST_VAAPI_ENCODER_H264_PROP_INIT_QP,
|
||||
g_param_spec_uint ("init-qp",
|
||||
"Initial QP", "Initial quantizer value", 1, 51, 26,
|
||||
"Initial QP", "Initial quantizer value", 0, 51, 26,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
|
@ -3634,7 +3634,7 @@ gst_vaapi_encoder_h264_get_default_properties (void)
|
|||
GST_VAAPI_ENCODER_PROPERTIES_APPEND (props,
|
||||
GST_VAAPI_ENCODER_H264_PROP_MIN_QP,
|
||||
g_param_spec_uint ("min-qp",
|
||||
"Minimum QP", "Minimum quantizer value", 1, 51, 1,
|
||||
"Minimum QP", "Minimum quantizer value", 0, 51, 1,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
|
|
|
@ -4050,7 +4050,7 @@ gst_vaapi_encoder_h264_fei_get_default_properties (void)
|
|||
GST_VAAPI_ENCODER_PROPERTIES_APPEND (props,
|
||||
GST_VAAPI_ENCODER_H264_FEI_PROP_INIT_QP,
|
||||
g_param_spec_uint ("init-qp",
|
||||
"Initial QP", "Initial quantizer value", 1, 51, 26,
|
||||
"Initial QP", "Initial quantizer value", 0, 51, 26,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
|
@ -4061,7 +4061,7 @@ gst_vaapi_encoder_h264_fei_get_default_properties (void)
|
|||
GST_VAAPI_ENCODER_PROPERTIES_APPEND (props,
|
||||
GST_VAAPI_ENCODER_H264_FEI_PROP_MIN_QP,
|
||||
g_param_spec_uint ("min-qp",
|
||||
"Minimum QP", "Minimum quantizer value", 1, 51, 1,
|
||||
"Minimum QP", "Minimum quantizer value", 0, 51, 1,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
|
|
|
@ -2755,7 +2755,7 @@ gst_vaapi_encoder_h265_get_default_properties (void)
|
|||
GST_VAAPI_ENCODER_PROPERTIES_APPEND (props,
|
||||
GST_VAAPI_ENCODER_H265_PROP_INIT_QP,
|
||||
g_param_spec_uint ("init-qp",
|
||||
"Initial QP", "Initial quantizer value", 1, 51, 26,
|
||||
"Initial QP", "Initial quantizer value", 0, 51, 26,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
|
@ -2766,7 +2766,7 @@ gst_vaapi_encoder_h265_get_default_properties (void)
|
|||
GST_VAAPI_ENCODER_PROPERTIES_APPEND (props,
|
||||
GST_VAAPI_ENCODER_H265_PROP_MIN_QP,
|
||||
g_param_spec_uint ("min-qp",
|
||||
"Minimum QP", "Minimum quantizer value", 1, 51, 1,
|
||||
"Minimum QP", "Minimum quantizer value", 0, 51, 1,
|
||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue