Home
last modified time | relevance | path

Searched refs:mfx (Results 1 – 21 of 21) sorted by relevance

/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkav1dec.c78 decoder->param.mfx.CodecId = MFX_CODEC_AV1; in gst_msdkav1dec_configure()
80 decoder->param.mfx.FrameInfo.Width = in gst_msdkav1dec_configure()
81 GST_ROUND_UP_16 (decoder->param.mfx.FrameInfo.CropW); in gst_msdkav1dec_configure()
82 decoder->param.mfx.FrameInfo.Height = in gst_msdkav1dec_configure()
83 GST_ROUND_UP_16 (decoder->param.mfx.FrameInfo.CropH); in gst_msdkav1dec_configure()
93 decoder->param.mfx.FrameInfo.Width = in gst_msdkav1dec_preinit_decoder()
94 GST_ROUND_UP_16 (decoder->param.mfx.FrameInfo.Width); in gst_msdkav1dec_preinit_decoder()
95 decoder->param.mfx.FrameInfo.Height = in gst_msdkav1dec_preinit_decoder()
96 GST_ROUND_UP_16 (decoder->param.mfx.FrameInfo.Height); in gst_msdkav1dec_preinit_decoder()
98 decoder->param.mfx.FrameInfo.PicStruct = in gst_msdkav1dec_preinit_decoder()
[all …]
Dgstmsdkvp8dec.c83 decoder->param.mfx.CodecId = MFX_CODEC_VP8; in gst_msdkvp8dec_configure()
85 decoder->param.mfx.FrameInfo.Width = in gst_msdkvp8dec_configure()
86 GST_ROUND_UP_16 (decoder->param.mfx.FrameInfo.CropW); in gst_msdkvp8dec_configure()
87 decoder->param.mfx.FrameInfo.Height = in gst_msdkvp8dec_configure()
88 GST_ROUND_UP_16 (decoder->param.mfx.FrameInfo.CropH); in gst_msdkvp8dec_configure()
93 decoder->param.mfx.DecodedOrder = vp8dec->output_order; in gst_msdkvp8dec_configure()
145 decoder->param.mfx.FrameInfo.Width = in gst_msdkvp8dec_preinit_decoder()
146 GST_ROUND_UP_16 (decoder->param.mfx.FrameInfo.Width); in gst_msdkvp8dec_preinit_decoder()
147 decoder->param.mfx.FrameInfo.Height = in gst_msdkvp8dec_preinit_decoder()
148 GST_ROUND_UP_16 (decoder->param.mfx.FrameInfo.Height); in gst_msdkvp8dec_preinit_decoder()
[all …]
Dgstmsdkvp9dec.c91 decoder->param.mfx.CodecId = MFX_CODEC_VP9; in gst_msdkvp9dec_configure()
93 decoder->param.mfx.FrameInfo.Width = in gst_msdkvp9dec_configure()
94 GST_ROUND_UP_16 (decoder->param.mfx.FrameInfo.CropW); in gst_msdkvp9dec_configure()
95 decoder->param.mfx.FrameInfo.Height = in gst_msdkvp9dec_configure()
96 GST_ROUND_UP_16 (decoder->param.mfx.FrameInfo.CropH); in gst_msdkvp9dec_configure()
103 decoder->param.mfx.DecodedOrder = vp9dec->output_order; in gst_msdkvp9dec_configure()
155 decoder->param.mfx.FrameInfo.Width = in gst_msdkvp9dec_preinit_decoder()
156 GST_ROUND_UP_16 (decoder->param.mfx.FrameInfo.Width); in gst_msdkvp9dec_preinit_decoder()
157 decoder->param.mfx.FrameInfo.Height = in gst_msdkvp9dec_preinit_decoder()
158 GST_ROUND_UP_16 (decoder->param.mfx.FrameInfo.Height); in gst_msdkvp9dec_preinit_decoder()
[all …]
Dgstmsdkvp9enc.c154 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()
[all …]
Dgstmsdkenc.c149 mfxInfoMFX *mfx = &thiz->param.mfx; in ensure_bitrate_control() local
155 mfx->RateControlMethod = thiz->rate_control; in ensure_bitrate_control()
157 if ((mfx->RateControlMethod != MFX_RATECONTROL_CQP) && in ensure_bitrate_control()
161 mfx->BRCParamMultiplier = (mfxU16) ((max_val + 0x10000) / 0x10000); in ensure_bitrate_control()
162 mfx->TargetKbps = (mfxU16) (thiz->bitrate / mfx->BRCParamMultiplier); in ensure_bitrate_control()
163 mfx->MaxKbps = (mfxU16) (thiz->max_vbv_bitrate / mfx->BRCParamMultiplier); in ensure_bitrate_control()
164 mfx->BufferSizeInKB = in ensure_bitrate_control()
165 (mfxU16) (mfx->BufferSizeInKB / mfx->BRCParamMultiplier); in ensure_bitrate_control()
167 mfx->InitialDelayInKB = in ensure_bitrate_control()
168 (mfxU16) (mfx->InitialDelayInKB / mfx->BRCParamMultiplier); in ensure_bitrate_control()
[all …]
Dgstmsdkvc1dec.c99 decoder->param.mfx.CodecId = MFX_CODEC_VC1; in gst_msdkvc1dec_configure()
104 decoder->param.mfx.CodecProfile = MFX_PROFILE_VC1_SIMPLE; in gst_msdkvc1dec_configure()
106 decoder->param.mfx.CodecProfile = MFX_PROFILE_VC1_MAIN; in gst_msdkvc1dec_configure()
108 decoder->param.mfx.CodecProfile = MFX_PROFILE_VC1_ADVANCED; in gst_msdkvc1dec_configure()
125 decoder->param.mfx.DecodedOrder = vc1dec->output_order; in gst_msdkvc1dec_configure()
177 decoder->param.mfx.FrameInfo.Width = in gst_msdkvc1dec_preinit_decoder()
178 GST_ROUND_UP_16 (decoder->param.mfx.FrameInfo.Width); in gst_msdkvc1dec_preinit_decoder()
179 decoder->param.mfx.FrameInfo.Height = in gst_msdkvc1dec_preinit_decoder()
180 GST_ROUND_UP_32 (decoder->param.mfx.FrameInfo.Height); in gst_msdkvc1dec_preinit_decoder()
Dgstmsdkmjpegdec.c82 decoder->param.mfx.CodecId = MFX_CODEC_JPEG; in gst_msdkmjpegdec_configure()
90 decoder->param.mfx.InterleavedDec = MFX_SCANTYPE_NONINTERLEAVED; in gst_msdkmjpegdec_configure()
99 switch (decoder->param.mfx.JPEGChromaFormat) { in gst_msdkmjpegdec_post_configure()
101 decoder->param.mfx.FrameInfo.FourCC = MFX_FOURCC_YUY2; in gst_msdkmjpegdec_post_configure()
102 decoder->param.mfx.FrameInfo.ChromaFormat = in gst_msdkmjpegdec_post_configure()
103 decoder->param.mfx.JPEGChromaFormat; in gst_msdkmjpegdec_post_configure()
Dgstmsdkh265enc.c426 encoder->param.mfx.CodecId = MFX_CODEC_HEVC; in gst_msdkh265enc_configure()
429 encoder->param.mfx.CodecProfile = MFX_PROFILE_HEVC_MAIN; in gst_msdkh265enc_configure()
432 encoder->param.mfx.CodecProfile = MFX_PROFILE_HEVC_MAIN10; in gst_msdkh265enc_configure()
434 encoder->param.mfx.CodecProfile = MFX_PROFILE_HEVC_MAINSP; in gst_msdkh265enc_configure()
436 encoder->param.mfx.CodecProfile = MFX_PROFILE_HEVC_MAIN10; in gst_msdkh265enc_configure()
447 encoder->param.mfx.CodecProfile = MFX_PROFILE_HEVC_REXT; in gst_msdkh265enc_configure()
454 encoder->param.mfx.CodecProfile = MFX_PROFILE_HEVC_SCC; in gst_msdkh265enc_configure()
457 switch (encoder->param.mfx.FrameInfo.FourCC) { in gst_msdkh265enc_configure()
459 encoder->param.mfx.CodecProfile = MFX_PROFILE_HEVC_MAIN10; in gst_msdkh265enc_configure()
471 encoder->param.mfx.CodecProfile = MFX_PROFILE_HEVC_REXT; in gst_msdkh265enc_configure()
[all …]
Dgstmsdkdec.c358 g_return_val_if_fail (thiz->param.mfx.FrameInfo.Width in gst_msdkdec_init_decoder()
359 && thiz->param.mfx.FrameInfo.Height, FALSE); in gst_msdkdec_init_decoder()
367 && info->fps_n != thiz->param.mfx.FrameInfo.FrameRateExtN in gst_msdkdec_init_decoder()
368 && info->fps_d != thiz->param.mfx.FrameInfo.FrameRateExtD) { in gst_msdkdec_init_decoder()
369 thiz->param.mfx.FrameInfo.FrameRateExtN = info->fps_n; in gst_msdkdec_init_decoder()
370 thiz->param.mfx.FrameInfo.FrameRateExtD = info->fps_d; in gst_msdkdec_init_decoder()
373 if (info->par_n && info->par_d && !thiz->param.mfx.FrameInfo.AspectRatioW in gst_msdkdec_init_decoder()
374 && !thiz->param.mfx.FrameInfo.AspectRatioH) { in gst_msdkdec_init_decoder()
375 thiz->param.mfx.FrameInfo.AspectRatioW = info->par_n; in gst_msdkdec_init_decoder()
376 thiz->param.mfx.FrameInfo.AspectRatioH = info->par_d; in gst_msdkdec_init_decoder()
[all …]
Dgstmsdkmjpegenc.c95 encoder->param.mfx.CodecId = MFX_CODEC_JPEG; in gst_msdkmjpegenc_configure()
96 encoder->param.mfx.Quality = mjpegenc->quality; in gst_msdkmjpegenc_configure()
97 encoder->param.mfx.Interleaved = 1; in gst_msdkmjpegenc_configure()
98 encoder->param.mfx.RestartInterval = 0; in gst_msdkmjpegenc_configure()
99 encoder->param.mfx.BufferSizeInKB = 3072; in gst_msdkmjpegenc_configure()
Dgstmsdkmpeg2enc.c126 encoder->param.mfx.CodecId = MFX_CODEC_MPEG2; in gst_msdkmpeg2enc_configure()
127 encoder->param.mfx.CodecProfile = thiz->profile; in gst_msdkmpeg2enc_configure()
128 encoder->param.mfx.CodecLevel = 0; in gst_msdkmpeg2enc_configure()
163 profile = profile_to_string (encoder->param.mfx.CodecProfile); in gst_msdkmpeg2enc_set_src_caps()
Dgstmsdkh264enc.c385 encoder->param.mfx.LowPower = thiz->tune_mode; in gst_msdkh264enc_configure()
386 encoder->param.mfx.CodecId = MFX_CODEC_AVC; in gst_msdkh264enc_configure()
387 encoder->param.mfx.CodecProfile = thiz->profile; in gst_msdkh264enc_configure()
388 encoder->param.mfx.CodecLevel = thiz->level; in gst_msdkh264enc_configure()
421 encoder->param.mfx.GopRefDist = 0; in gst_msdkh264enc_configure()
427 encoder->param.mfx.GopRefDist = 1; in gst_msdkh264enc_configure()
429 encoder->param.mfx.NumRefFrame = 0; in gst_msdkh264enc_configure()
519 profile = profile_to_string (encoder->param.mfx.CodecProfile); in gst_msdkh264enc_set_src_caps()
523 level = level_to_string (encoder->param.mfx.CodecLevel); in gst_msdkh264enc_set_src_caps()
Dmeson.build66 mfx_lib = cxx.find_library('mfx', dirs: mfx_libdir, required: msdk_option) build
96 elif cxx.has_header('mfx/mfxdefs.h', args: '-I' + mfx_incdir)
97 mfx_incdir = join_paths([mfx_incdir, 'mfx'])
113 #error "The current version of mfx doesn't support raw vp9 stream"
129 #error "The current version of mfx doesn't support AV1 decoding"
Dgstmsdkmpeg2dec.c75 decoder->param.mfx.CodecId = MFX_CODEC_MPEG2; in gst_msdkmpeg2dec_configure()
80 decoder->param.mfx.DecodedOrder = mpeg2dec->output_order; in gst_msdkmpeg2dec_configure()
Dgstmsdkh264dec.c74 decoder->param.mfx.CodecId = MFX_CODEC_AVC; in gst_msdkh264dec_configure()
79 decoder->param.mfx.DecodedOrder = h264dec->output_order; in gst_msdkh264dec_configure()
Dgstmsdkh265dec.c96 decoder->param.mfx.CodecId = MFX_CODEC_HEVC; in gst_msdkh265dec_configure()
101 decoder->param.mfx.DecodedOrder = h265dec->output_order; in gst_msdkh265dec_configure()
Dmsdk.c593 mfx_info->BitDepthLuma = param->mfx.FrameInfo.BitDepthLuma; in gst_msdk_update_mfx_frame_info_from_mfx_video_param()
594 mfx_info->BitDepthChroma = param->mfx.FrameInfo.BitDepthChroma; in gst_msdk_update_mfx_frame_info_from_mfx_video_param()
595 mfx_info->Shift = param->mfx.FrameInfo.Shift; in gst_msdk_update_mfx_frame_info_from_mfx_video_param()
/third_party/ffmpeg/libavcodec/
Dqsvenc.c135 mfxInfoMFX *info = &q->param.mfx; in dump_video_param()
383 q->param.mfx.RateControlMethod = rc_mode; in select_rc_mode()
391 mfxVideoParam param_out = { .mfx.CodecId = q->param.mfx.CodecId }; in check_enc_param()
394 #define UNMATCH(x) (param_out.mfx.x != q->param.mfx.x) in check_enc_param()
430 q->param.mfx.CodecId = ret; in init_video_param_jpeg()
433 q->param.mfx.CodecLevel = avctx->level; in init_video_param_jpeg()
434 q->param.mfx.CodecProfile = q->profile; in init_video_param_jpeg()
440 ff_qsv_map_pixfmt(sw_format, &q->param.mfx.FrameInfo.FourCC); in init_video_param_jpeg()
442 q->param.mfx.FrameInfo.CropX = 0; in init_video_param_jpeg()
443 q->param.mfx.FrameInfo.CropY = 0; in init_video_param_jpeg()
[all …]
Dqsvdec.c277 avctx->width = param->mfx.FrameInfo.CropW; in qsv_decode_init_context()
278 avctx->height = param->mfx.FrameInfo.CropH; in qsv_decode_init_context()
279 avctx->coded_width = param->mfx.FrameInfo.Width; in qsv_decode_init_context()
280 avctx->coded_height = param->mfx.FrameInfo.Height; in qsv_decode_init_context()
281 avctx->level = param->mfx.CodecLevel; in qsv_decode_init_context()
282 avctx->profile = param->mfx.CodecProfile; in qsv_decode_init_context()
283 avctx->field_order = ff_qsv_map_picstruct(param->mfx.FrameInfo.PicStruct); in qsv_decode_init_context()
284 avctx->pix_fmt = ff_qsv_map_fourcc(param->mfx.FrameInfo.FourCC); in qsv_decode_init_context()
291 q->frame_info = param->mfx.FrameInfo; in qsv_decode_init_context()
328 param->mfx.CodecId = ret; in qsv_decode_header()
[all …]
/third_party/gstreamer/gstplugins_bad/
DChangeLog505 Msdk should use mfx variables defined in mfxdefs.h. Replace uint32_t
9241 msdk: use a new method to create mfx session when using oneVPL dispatcher
9243 workable mfx session[1]
15743 msdk: needn't close mfx session when failed
15744 Otherwise we will get double free issue because mfx session is closed in
20816 /usr/include/mfx/mfxvp9.h:48:5: error: unknown type name ‘mfxExtBuffer’
24529 in the mfx parameters
29347 Since mfx 1.26, the VP9 encoder supports bitstream without IVF header,
29348 so in this patch, the mfx version is checked and msdkvp9enc is enabled
29349 only if mfx 1.26+ is available
[all …]
/third_party/skia/
Dgo.sum1132 github.com/jstemmer/go-junit-report v0.9.1 h1:6QPYqodiu3GuPL+7mfx+NwDdp2eTkp9IfEUpgAwUN0o=