Home
last modified time | relevance | path

Searched refs:mids (Results 1 – 12 of 12) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dqsv.c245 QSVMid *mid = &ctx->mids[i]; in ff_qsv_find_surface_idx()
452 QSVMid *mids; in qsv_create_mids() local
459 mids = av_mallocz_array(nb_surfaces, sizeof(*mids)); in qsv_create_mids()
460 if (!mids) { in qsv_create_mids()
465 mids_buf = av_buffer_create((uint8_t*)mids, nb_surfaces * sizeof(*mids), in qsv_create_mids()
469 av_freep(&mids); in qsv_create_mids()
474 QSVMid *mid = &mids[i]; in qsv_create_mids()
487 QSVMid *mids = (QSVMid*)mids_buf->data; in qsv_setup_mids() local
494 resp->mids = av_mallocz_array(nb_surfaces + 2, sizeof(*resp->mids)); in qsv_setup_mids()
495 if (!resp->mids) in qsv_setup_mids()
[all …]
Dqsv_internal.h102 QSVMid *mids; member
Dqsvdec.c362 if (q->frames_ctx.mids) { in alloc_frame()
367 frame->surface.Data.MemId = &q->frames_ctx.mids[ret]; in alloc_frame()
Dqsvenc.c1319 if (q->frames_ctx.mids) { in submit_frame()
1324 qf->surface.Data.MemId = &q->frames_ctx.mids[ret]; in submit_frame()
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkallocator_libva.c52 mfxMemId *mids = NULL; in gst_msdk_frame_alloc() local
96 mids = (mfxMemId *) g_slice_alloc0 (surfaces_num * sizeof (mfxMemId)); in gst_msdk_frame_alloc()
206 mids[i] = (mfxMemId *) & msdk_mids[i]; in gst_msdk_frame_alloc()
240 mids[i] = (mfxMemId *) & msdk_mids[i]; in gst_msdk_frame_alloc()
244 resp->mids = mids; in gst_msdk_frame_alloc()
278 mem_id = resp->mids[0]; in gst_msdk_frame_free()
284 GstMsdkMemoryID *mem = resp->mids[i]; in gst_msdk_frame_free()
313 g_slice_free1 (resp->NumFrameActual * sizeof (mfxMemId), resp->mids); in gst_msdk_frame_free()
Dgstmsdkcontext.c438 return cached_resp ? cached_resp->response.mids != _resp->mids : -1; in _find_response()
507 mem_id = resp->response.mids[i]; in create_surfaces()
/third_party/ffmpeg/libavfilter/
Dqsvvpp.c196 resp->mids = av_mallocz(s->nb_surface_ptrs_in * sizeof(*resp->mids)); in frame_alloc()
197 if (!resp->mids) in frame_alloc()
201 resp->mids[i] = s->surface_ptrs_in[i]->Data.MemId; in frame_alloc()
205 resp->mids = av_mallocz(s->nb_surface_ptrs_out * sizeof(*resp->mids)); in frame_alloc()
206 if (!resp->mids) in frame_alloc()
210 resp->mids[i] = s->surface_ptrs_out[i]->Data.MemId; in frame_alloc()
220 av_freep(&resp->mids); in frame_free()
Dvf_scale_qsv.c240 resp->mids = s->mem_ids_in; in frame_alloc()
243 resp->mids = s->mem_ids_out; in frame_alloc()
Dvf_deinterlace_qsv.c137 resp->mids = s->mem_ids; in frame_alloc()
/third_party/gstreamer/gstplugins_bad/ext/webrtc/
Dgstwebrtcbin.c3608 gchar *mids = g_string_free (bundled_mids, FALSE); in _create_offer_task() local
3610 gst_sdp_message_add_attribute (ret, "group", mids); in _create_offer_task()
3611 g_free (mids); in _create_offer_task()
4204 gchar *mids = g_string_free (bundled_mids, FALSE); in _create_answer_task() local
4206 gst_sdp_message_add_attribute (ret, "group", mids); in _create_answer_task()
4207 g_free (mids); in _create_answer_task()
/third_party/ffmpeg/libavutil/
Dhwcontext_qsv.c413 resp->mids = s->mem_ids; in frame_alloc()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dwebrtcbin.c2671 const gchar *mids[] = { "audio0", "video1", "application2", NULL }; in GST_START_TEST() local
2682 VAL_SDP_INIT (bundle_tag, _check_bundle_tag, mids, &payloads); in GST_START_TEST()