Lines Matching refs:surface_format
161 static int d3d11va_validate_output(void *service, GUID guid, const void *surface_format)
167 *(DXGI_FORMAT *)surface_format,
174 static int dxva2_validate_output(void *decoder_service, GUID guid, const void *surface_format)
184 if (format == *(D3DFORMAT *)surface_format) {
260 static int dxva_get_decoder_guid(AVCodecContext *avctx, void *service, void *surface_format,
284 validate = d3d11va_validate_output(service, *mode->guid, surface_format);
288 validate = dxva2_validate_output(service, *mode->guid, surface_format);
348 D3DFORMAT surface_format = avctx->sw_pix_fmt == AV_PIX_FMT_YUV420P10 ?
381 ret = dxva_get_decoder_guid(avctx, sctx->dxva2_service, &surface_format,
390 desc.Format = surface_format;
476 DXGI_FORMAT surface_format = d3d11va_map_sw_to_hw_format(frames_ctx->sw_format);
503 ret = dxva_get_decoder_guid(avctx, device_hwctx->video_device, &surface_format,
511 desc.OutputFormat = surface_format;