"The desired bitrate expressed in kbps (0: auto-calculate)",
0, 2000 * 1024, 0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoder:target-percentage:
"The desired target percentage of bitrate for variable rate "
"controls.", 1, 100, 70,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoder:keyframe-period:
"Maximal distance between two keyframes (0: auto-calculate)", 0,
G_MAXUINT32, 30,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoder:quality-level:
"(lower value means higher-quality/slow-encode, "
" higher value means lower-quality/fast-encode)",
1, 7, 4, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVapiEncoder:roi-default-delta-qp
"higher value means lower-quality)",
-10, 10, -10,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoder: trellis:
"Trellis Quantization",
"The Trellis Quantization Method of Encoder",
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
g_object_class_install_properties (object_class, ENCODER_N_PROPERTIES,
properties);
GType
gst_vaapi_encoder_get_type (void) G_GNUC_CONST;
-/* This user defined flag is added when the internal encoder
- class wants to expose its property gparam spec to the according
- encode class. */
-#define G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE (1 << 29)
+/**
+ * GST_VAAPI_PARAM_ENCODER_EXPOSURE: (value 65536)
+ *
+ * This user defined flag is added when the internal encoder class
+ * wants to expose its property gparam spec to the according encode
+ * class. */
+#define GST_VAAPI_PARAM_ENCODER_EXPOSURE GST_PARAM_USER_SHIFT
/**
* GstVaapiEncoderStatus:
g_class_data.rate_control_get_type (),
g_class_data.default_rate_control,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:tune:
g_class_data.encoder_tune_get_type (),
g_class_data.default_encoder_tune,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:max-bframes:
g_param_spec_uint ("max-bframes",
"Max B-Frames", "Number of B-frames between I and P", 0, 10, 0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:refs:
g_param_spec_uint ("refs", "Number of Reference Frames",
"Number of reference frames", 1, 8, 1,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:init-qp:
g_param_spec_uint ("init-qp",
"Initial QP", "Initial quantizer value", 0, 51, 26,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:min-qp:
g_param_spec_uint ("min-qp",
"Minimum QP", "Minimum quantizer value", 0, 51, 1,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:max-qp:
g_param_spec_uint ("max-qp",
"Maximum QP", "Maximum quantizer value", 0, 51, 51,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:qp-ip:
"Difference of QP between I and P frame (available only on CQP)",
-51, 51, 0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:qp-ib:
"Difference of QP between I and B frame (available only on CQP)",
-51, 51, 0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:num-slices:
"Number of slices per frame",
1, 200, 1,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:cabac:
"Enable CABAC",
"Enable CABAC entropy coding mode",
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:dct8x8:
"Enable 8x8 DCT",
"Enable adaptive use of 8x8 transforms in I-frames",
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:mbbrc:
"Macroblock level Bitrate Control",
GST_VAAPI_TYPE_ENCODER_MBBRC, GST_VAAPI_ENCODER_MBBRC_AUTO,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:temporal-levels:
"Number of temporal levels in the encoded stream ",
MIN_TEMPORAL_LEVELS, MAX_TEMPORAL_LEVELS, MIN_TEMPORAL_LEVELS,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:prediction-type:
gst_vaapi_encoder_h264_prediction_type (),
GST_VAAPI_ENCODER_H264_PREDICTION_DEFAULT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:cpb-length:
"CPB Length", "Length of the CPB buffer in milliseconds",
1, 10000, DEFAULT_CPB_LENGTH,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:num-views:
"Number of Views for MVC encoding",
1, MAX_NUM_VIEWS, 1,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:view-ids:
"view id values used for mvc encoding", 0, MAX_VIEW_ID, 0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS),
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:aud:
" compliance restrictions",
gst_vaapi_encoder_h264_compliance_mode_type (),
GST_VAAPI_ENCODER_H264_COMPLIANCE_MODE_STRICT,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT | GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:quality_factor:
"(low value means higher-quality, higher value means lower-quality)",
1, 51, 26,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
g_object_class_install_properties (object_class, ENCODER_H264_N_PROPERTIES,
properties);
fei_encoder_class_data.rate_control_get_type (),
fei_encoder_class_data.default_rate_control,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264Fei:tune:
fei_encoder_class_data.encoder_tune_get_type (),
fei_encoder_class_data.default_encoder_tune,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264Fei:max-bframes:
g_param_spec_uint ("max-bframes",
"Max B-Frames", "Number of B-frames between I and P", 0, 10, 1,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264Fei:init-qp:
g_param_spec_uint ("init-qp",
"Initial QP", "Initial quantizer value", 0, 51, 26,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264Fei:min-qp:
g_param_spec_uint ("min-qp",
"Minimum QP", "Minimum quantizer value", 0, 51, 1,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264Fei:max-qp:
g_param_spec_uint ("max-qp",
"Maximum QP", "Maximum quantizer value", 0, 51, 51,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264Fei:num-slices:
"Number of slices per frame",
1, 200, 1,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264Fei:cabac:
"Enable CABAC",
"Enable CABAC entropy coding mode",
TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264Fei:dct8x8:
"Enable 8x8 DCT",
"Enable adaptive use of 8x8 transforms in I-frames",
TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264Fei:cpb-length:
"CPB Length", "Length of the CPB buffer in milliseconds",
1, 10000, DEFAULT_CPB_LENGTH,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264Fei:num-views:
"Number of Views for MVC encoding",
1, MAX_NUM_VIEWS, 1,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264Fei:view-ids:
*
"view id values used for mvc encoding", 0, MAX_VIEW_ID, 0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS),
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264: disable-fei:
"Disable FEI Mode Encode",
"Disable Flexible Encoding Infrasturcture", FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
"stats out",
"Enable stats out for fei",
TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:num_mv_predictors_l0:
"Indicate how many predictors should be used for l0,"
"only valid if MVPredictor input enabled",
0, 3, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:num_mv_predictors_l1:
* Indicate how many mv predictors should be used for l1 frames.
"Indicate how many predictors should be used for l1,"
"only valid if MVPredictor input enabled",
0, 3, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:search-window:
* Use predefined Search Window
GST_VAAPI_TYPE_FEI_H264_SEARCH_WINDOW,
GST_VAAPI_FEI_H264_SEARCH_WINDOW_DEFAULT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:len-sp:
"This value defines number of search units in search path",
1, 63, 32,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:search-path:
GST_VAAPI_TYPE_FEI_H264_SEARCH_PATH,
GST_VAAPI_FEI_H264_SEARCH_PATH_DEFAULT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:ref-width:
"Width of search region in pixel, must be multiple of 4",
4, 64, 32,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:ref-height:
"Height of search region in pixel, must be multiple of 4",
4, 32, 32,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:submb-mask:
* Defines the bit-mask for disabling sub-partition
GST_VAAPI_TYPE_FEI_H264_SUB_MB_PART_MASK,
GST_VAAPI_FEI_H264_SUB_MB_PART_MASK_DEFAULT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:subpel-mode:
GST_VAAPI_TYPE_FEI_H264_SUB_PEL_MODE,
GST_VAAPI_FEI_H264_SUB_PEL_MODE_DEFAULT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:intrapart-mask:
* Specifies which Luma Intra partition is enabled/disabled
GST_VAAPI_TYPE_FEI_H264_INTRA_PART_MASK,
GST_VAAPI_FEI_H264_INTRA_PART_MASK_DEFAULT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:intra-sad:
"in the motion search SAD comparison for intra MB",
GST_VAAPI_TYPE_FEI_H264_SAD_MODE, GST_VAAPI_FEI_H264_SAD_MODE_DEFAULT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:inter-sad:
"in the motion search SAD comparison for inter MB",
GST_VAAPI_TYPE_FEI_H264_SAD_MODE, GST_VAAPI_FEI_H264_SAD_MODE_DEFAULT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:adaptive-search:
"adaptive-search",
"Enable adaptive search",
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:multi-predL0:
* When set to 1, neighbor MV will be used as predictor for list L0,
"Enable multi prediction for ref L0 list, when set neighbor MV will be used"
"as predictor, no neighbor MV will be used otherwise",
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264:multi-predL1:
"Enable multi prediction for ref L1 list, when set neighbor MV will be used"
"as predictor, no neighbor MV will be used otherwise",
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH264Fei: fei-mode:
"Functional mode of FEI Encoding",
GST_VAAPI_TYPE_FEI_MODE, GST_VAAPI_FEI_MODE_DEFAULT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
g_object_class_install_properties (object_class,
ENCODER_H264_FEI_N_PROPERTIES, properties);
g_class_data.rate_control_get_type (),
g_class_data.default_rate_control,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH265:tune:
g_class_data.encoder_tune_get_type (),
g_class_data.default_encoder_tune,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH265:max-bframes:
g_param_spec_uint ("max-bframes",
"Max B-Frames", "Number of B-frames between I and P", 0, 10, 0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH265:refs:
g_param_spec_uint ("refs",
"Number of Reference Frames", "Number of reference frames", 1, 3, 1,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH265:init-qp:
g_param_spec_uint ("init-qp",
"Initial QP", "Initial quantizer value", 0, 51, 26,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH265:min-qp:
g_param_spec_uint ("min-qp",
"Minimum QP", "Minimum quantizer value", 0, 51, 1,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH265:max-qp:
g_param_spec_uint ("max-qp",
"Maximum QP", "Maximum quantizer value", 0, 51, 51,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH265:qp-ip:
"Difference of QP between I and P frame (available only on CQP)",
-51, 51, 0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH265:qp-ib:
"Difference of QP between I and B frame (available only on CQP)",
-51, 51, 0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/* FIXME: there seems to be issues with multi-slice encoding */
/**
"Number of slices per frame",
1, 200, 1,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH265:cpb-length:
"CPB Length", "Length of the CPB buffer in milliseconds",
1, 10000, DEFAULT_CPB_LENGTH,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH265:mbbrc:
"Macroblock level Bitrate Control",
GST_VAAPI_TYPE_ENCODER_MBBRC, GST_VAAPI_ENCODER_MBBRC_AUTO,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderH265:low_delay_b:
"Transforms P frames into predictive B frames."
" Enable it when P frames are not supported.",
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
g_object_class_install_properties (object_class, ENCODER_H265_N_PROPERTIES,
properties);
g_class_data.rate_control_get_type (),
g_class_data.default_rate_control,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
properties[ENCODER_JPEG_PROP_TUNE] =
g_param_spec_enum ("tune",
g_class_data.encoder_tune_get_type (),
g_class_data.default_encoder_tune,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
properties[ENCODER_JPEG_PROP_QUALITY] =
g_param_spec_uint ("quality",
"Quality factor",
"Quality factor", 0, 100, 50,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
g_object_class_install_properties (object_class, ENCODER_JPEG_N_PROPERTIES,
properties);
g_class_data.rate_control_get_type (),
g_class_data.default_rate_control,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderMpeg2:tune:
g_class_data.encoder_tune_get_type (),
g_class_data.default_encoder_tune,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
properties[ENCODER_MPEG2_PROP_QUANTIZER] =
g_param_spec_uint ("quantizer",
"Constant Quantizer",
"Constant quantizer (if rate-control mode is CQP)",
2, 62, 8, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
properties[ENCODER_MPEG2_PROP_MAX_BFRAMES] =
g_param_spec_uint ("max-bframes", "Max B-Frames",
"Number of B-frames between I and P", 0, 16, 0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
g_object_class_install_properties (object_class, ENCODER_MPEG2_N_PROPERTIES,
properties);
g_class_data.rate_control_get_type (),
g_class_data.default_rate_control,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
properties[ENCODER_VP8_PROP_TUNE] =
g_param_spec_enum ("tune", "Encoder Tuning", "Encoder tuning option",
g_class_data.encoder_tune_get_type (),
g_class_data.default_encoder_tune,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
properties[ENCODER_VP8_PROP_LOOP_FILTER_LEVEL] =
g_param_spec_uint ("loop-filter-level", "Loop Filter Level",
"Controls the deblocking filter strength", 0, 63,
DEFAULT_LOOP_FILTER_LEVEL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
properties[ENCODER_VP8_PROP_SHARPNESS_LEVEL] =
g_param_spec_uint ("sharpness-level", "Sharpness Level",
"Controls the deblocking filter sensitivity", 0, 7,
DEFAULT_SHARPNESS_LEVEL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
properties[ENCODER_VP8_PROP_YAC_Q_INDEX] =
g_param_spec_uint ("yac-qi",
" for P frames)",
0, 127, DEFAULT_YAC_QI,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
g_object_class_install_properties (object_class, ENCODER_VP8_N_PROPERTIES,
properties);
g_class_data.rate_control_get_type (),
g_class_data.default_rate_control,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
properties[ENCODER_VP9_PROP_TUNE] =
g_param_spec_enum ("tune",
g_class_data.encoder_tune_get_type (),
g_class_data.default_encoder_tune,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
properties[ENCODER_VP9_PROP_LOOP_FILTER_LEVEL] =
g_param_spec_uint ("loop-filter-level",
"Controls the deblocking filter strength",
0, 63, DEFAULT_LOOP_FILTER_LEVEL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
properties[ENCODER_VP9_PROP_SHARPNESS_LEVEL] =
g_param_spec_uint ("sharpness-level",
"Controls the deblocking filter sensitivity",
0, 7, DEFAULT_SHARPNESS_LEVEL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
properties[ENCODER_VP9_PROP_YAC_Q_INDEX] =
g_param_spec_uint ("yac-qi",
"Quantization Table index for Luma AC Coefficients",
0, 255, DEFAULT_YAC_QINDEX,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
properties[ENCODER_VP9_PROP_REF_PIC_MODE] =
g_param_spec_enum ("ref-pic-mode",
gst_vaapi_encoder_vp9_ref_pic_mode_type (),
GST_VAAPI_ENCODER_VP9_REF_PIC_MODE_0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiEncoderVP9:cpb-length:
"CPB Length", "Length of the CPB_buffer/window_size in milliseconds",
1, 10000, DEFAULT_CPB_LENGTH,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
g_object_class_install_properties (object_class, ENCODER_VP9_N_PROPERTIES,
properties);
fei_enc_class_data.rate_control_get_type (),
fei_enc_class_data.default_rate_control,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:tune:
fei_enc_class_data.encoder_tune_get_type (),
fei_enc_class_data.default_encoder_tune,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:max-bframes:
g_param_spec_uint ("max-bframes",
"Max B-Frames", "Number of B-frames between I and P", 0, 10, 0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:init-qp:
g_param_spec_uint ("init-qp",
"Initial QP", "Initial quantizer value", 1, 51, 26,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:min-qp:
g_param_spec_uint ("min-qp",
"Minimum QP", "Minimum quantizer value", 1, 51, 1,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:num-slices:
"Number of slices per frame",
1, 200, 1,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:cabac:
"Enable CABAC",
"Enable CABAC entropy coding mode",
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:dct8x8:
"Enable 8x8 DCT",
"Enable adaptive use of 8x8 transforms in I-frames",
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:cpb-length:
"CPB Length", "Length of the CPB buffer in milliseconds",
1, 10000, DEFAULT_CPB_LENGTH,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:num-views:
"Number of Views for MVC encoding",
1, MAX_NUM_VIEWS, 1,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:view-ids:
*
"view id values used for mvc encoding", 0, MAX_VIEW_ID, 0,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS),
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:num-ref:
*
"Num Ref",
"reference frame number",
1, 6, 1, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:num_mv_predictors_l0:
"Num mv predict l0",
"Indicate how many predictors should be used for l0",
0, 3, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:num_mv_predictors_l1:
*
"Num mv predict l1",
"Indicate how many predictors should be used for l1",
0, 3, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:search-window:
*/
GST_VAAPI_TYPE_FEI_H264_SEARCH_WINDOW,
GST_VAAPI_FEI_H264_SEARCH_WINDOW_DEFAULT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:len-sp:
*/
"This value defines number of search units in search path",
1, 63, 32,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:search-path:
GST_VAAPI_TYPE_FEI_H264_SEARCH_PATH,
GST_VAAPI_FEI_H264_SEARCH_PATH_DEFAULT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:ref-width:
"Width of search region in pixel, must be multiple of 4",
4, 64, 32,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:ref-height:
"Height of search region in pixel, must be multiple of 4",
4, 32, 32,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:submb-mask:
* Defines the bit-mask for disabling sub-partition
GST_VAAPI_TYPE_FEI_H264_SUB_MB_PART_MASK,
GST_VAAPI_FEI_H264_SUB_MB_PART_MASK_DEFAULT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:subpel-mode:
GST_VAAPI_TYPE_FEI_H264_SUB_PEL_MODE,
GST_VAAPI_FEI_H264_SUB_PEL_MODE_DEFAULT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:intrapart-mask:
*/
GST_VAAPI_TYPE_FEI_H264_INTRA_PART_MASK,
GST_VAAPI_FEI_H264_INTRA_PART_MASK_DEFAULT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:intra-sad:
*/
"Specifies distortion measure adjustments used in the motion search SAD comparison for intra MB",
GST_VAAPI_TYPE_FEI_H264_SAD_MODE, GST_VAAPI_FEI_H264_SAD_MODE_DEFAULT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:inter-sad:
"Specifies distortion measure adjustments used in the motion search SAD comparison for inter MB",
GST_VAAPI_TYPE_FEI_H264_SAD_MODE, GST_VAAPI_FEI_H264_SAD_MODE_DEFAULT,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:adaptive-search:
"adaptive-search",
"Enable adaptive search",
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:multi-predL0:
"multi predL0",
"Enable multi prediction for ref L0 list",
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
/**
* GstVaapiFeiEncH264:multi-predL0:
"multi predL1",
"Enable multi prediction for ref L1 list",
FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT |
- G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE);
+ GST_VAAPI_PARAM_ENCODER_EXPOSURE);
g_object_class_install_properties (object_class, FEI_H264_ENC_N_PROPERTIES,
properties);
pspec = specs[i];
/* Encoder do not want to expose */
- if (!(pspec->flags & G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE))
+ if (!(pspec->flags & GST_VAAPI_PARAM_ENCODER_EXPOSURE))
continue;
/* Can only set on encoder init time */
if (pspec->flags & G_PARAM_CONSTRUCT_ONLY)
/* filter out the G_PARAM_CONSTRUCT, the encoder created later, no need
to set the init value in encode.
- Also no G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE */
- flags = pspec->flags & (~(G_PARAM_FLAG_VAAPI_ENCODER_EXPOSURE |
+ Also no GST_VAAPI_PARAM_ENCODER_EXPOSURE */
+ flags = pspec->flags & (~(GST_VAAPI_PARAM_ENCODER_EXPOSURE |
G_PARAM_CONSTRUCT));
if (G_PARAM_SPEC_TYPE (pspec) == G_TYPE_PARAM_UINT) {