Searched refs:pVtbl (Results 1 - 3 of 3) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
H A D | amfenc.c | 144 res = ctx->factory->pVtbl->GetTrace(ctx->factory, &ctx->trace); in amf_load_library() 146 res = ctx->factory->pVtbl->GetDebug(ctx->factory, &ctx->debug); in amf_load_library() 157 res = ctx->context->pVtbl->InitDX11(ctx->context, hwctx->device, AMF_DX11_1); in amf_init_from_d3d11_device() 200 res = ctx->context->pVtbl->InitDX9(ctx->context, device); in amf_init_from_dxva2_device() 228 ctx->trace->pVtbl->EnableWriter(ctx->trace, AMF_TRACE_WRITER_DEBUG_OUTPUT, ctx->log_to_dbg != 0 ); in amf_init_context() 230 ctx->trace->pVtbl->SetWriterLevel(ctx->trace, AMF_TRACE_WRITER_DEBUG_OUTPUT, AMF_TRACE_TRACE); in amf_init_context() 231 ctx->trace->pVtbl->EnableWriter(ctx->trace, AMF_TRACE_WRITER_CONSOLE, 0); in amf_init_context() 232 ctx->trace->pVtbl->SetGlobalLevel(ctx->trace, AMF_TRACE_TRACE); in amf_init_context() 237 ctx->trace->pVtbl->RegisterWriter(ctx->trace, FFMPEG_AMF_WRITER_ID,(AMFTraceWriter*)&ctx->tracer, 1); in amf_init_context() 238 ctx->trace->pVtbl in amf_init_context() [all...] |
H A D | amfenc_h264.c | 280 res = ctx->encoder->pVtbl->Init(ctx->encoder, ctx->format, avctx->width, avctx->height); in amf_encode_init_h264() 299 res = ctx->encoder->pVtbl->GetProperty(ctx->encoder, AMF_VIDEO_ENCODER_B_PIC_PATTERN, &var); in amf_encode_init_h264() 335 res = ctx->encoder->pVtbl->GetProperty(ctx->encoder, AMF_VIDEO_ENCODER_EXTRADATA, &var); in amf_encode_init_h264() 341 res = var.pInterface->pVtbl->QueryInterface(var.pInterface, &guid, (void**)&buffer); // query for buffer interface in amf_encode_init_h264() 343 var.pInterface->pVtbl->Release(var.pInterface); in amf_encode_init_h264() 347 avctx->extradata_size = (int)buffer->pVtbl->GetSize(buffer); in amf_encode_init_h264() 350 buffer->pVtbl->Release(buffer); in amf_encode_init_h264() 351 var.pInterface->pVtbl->Release(var.pInterface); in amf_encode_init_h264() 354 memcpy(avctx->extradata, buffer->pVtbl->GetNative(buffer), avctx->extradata_size); in amf_encode_init_h264() 356 buffer->pVtbl in amf_encode_init_h264() [all...] |
H A D | amfenc_hevc.c | 226 res = ctx->encoder->pVtbl->Init(ctx->encoder, ctx->format, avctx->width, avctx->height); in amf_encode_init_hevc() 270 res = ctx->encoder->pVtbl->GetProperty(ctx->encoder, AMF_VIDEO_ENCODER_HEVC_EXTRADATA, &var); in amf_encode_init_hevc() 276 res = var.pInterface->pVtbl->QueryInterface(var.pInterface, &guid, (void**)&buffer); // query for buffer interface in amf_encode_init_hevc() 278 var.pInterface->pVtbl->Release(var.pInterface); in amf_encode_init_hevc() 282 avctx->extradata_size = (int)buffer->pVtbl->GetSize(buffer); in amf_encode_init_hevc() 285 buffer->pVtbl->Release(buffer); in amf_encode_init_hevc() 286 var.pInterface->pVtbl->Release(var.pInterface); in amf_encode_init_hevc() 289 memcpy(avctx->extradata, buffer->pVtbl->GetNative(buffer), avctx->extradata_size); in amf_encode_init_hevc() 291 buffer->pVtbl->Release(buffer); in amf_encode_init_hevc() 292 var.pInterface->pVtbl in amf_encode_init_hevc() [all...] |
Completed in 3 milliseconds