Lines Matching refs:encoder
89 gst_msdkvp9enc_set_format (GstMsdkEnc * encoder) in gst_msdkvp9enc_set_format() argument
91 GstMsdkVP9Enc *thiz = GST_MSDKVP9ENC (encoder); in gst_msdkvp9enc_set_format()
97 allowed_caps = gst_pad_get_allowed_caps (GST_VIDEO_ENCODER_SRC_PAD (encoder)); in gst_msdkvp9enc_set_format()
141 gst_msdkvp9enc_configure (GstMsdkEnc * encoder) in gst_msdkvp9enc_configure() argument
143 GstMsdkVP9Enc *vp9enc = GST_MSDKVP9ENC (encoder); in gst_msdkvp9enc_configure()
146 if (encoder->hardware) { in gst_msdkvp9enc_configure()
147 session = gst_msdk_context_get_session (encoder->context); in gst_msdkvp9enc_configure()
153 encoder->num_extra_frames = encoder->async_depth - 1; in gst_msdkvp9enc_configure()
154 encoder->param.mfx.CodecId = MFX_CODEC_VP9; in gst_msdkvp9enc_configure()
155 encoder->param.mfx.CodecLevel = 0; in gst_msdkvp9enc_configure()
157 switch (encoder->param.mfx.FrameInfo.FourCC) { in gst_msdkvp9enc_configure()
160 encoder->param.mfx.CodecProfile = MFX_PROFILE_VP9_3; in gst_msdkvp9enc_configure()
165 encoder->param.mfx.CodecProfile = MFX_PROFILE_VP9_2; in gst_msdkvp9enc_configure()
169 encoder->param.mfx.CodecProfile = MFX_PROFILE_VP9_1; in gst_msdkvp9enc_configure()
173 encoder->param.mfx.CodecProfile = MFX_PROFILE_VP9_0; in gst_msdkvp9enc_configure()
181 encoder->param.mfx.FrameInfo.Width = in gst_msdkvp9enc_configure()
182 GST_ROUND_UP_128 (encoder->param.mfx.FrameInfo.CropW); in gst_msdkvp9enc_configure()
183 encoder->param.mfx.FrameInfo.Height = in gst_msdkvp9enc_configure()
184 GST_ROUND_UP_32 (encoder->param.mfx.FrameInfo.CropH); in gst_msdkvp9enc_configure()
187 encoder->param.mfx.LowPower = MFX_CODINGOPTION_ON; in gst_msdkvp9enc_configure()
190 gst_msdkenc_ensure_extended_coding_options (encoder); in gst_msdkvp9enc_configure()
197 gst_msdkenc_add_extra_param (encoder, (mfxExtBuffer *) & vp9enc->ext_vp9); in gst_msdkvp9enc_configure()
222 gst_msdkvp9enc_set_src_caps (GstMsdkEnc * encoder) in gst_msdkvp9enc_set_src_caps() argument
231 profile = profile_to_string (encoder->param.mfx.CodecProfile); in gst_msdkvp9enc_set_src_caps()