Lines Matching defs:surface
77 {MFX_IOPATTERN_IN_VIDEO_MEMORY, "input is video memory surface" },
78 {MFX_IOPATTERN_IN_SYSTEM_MEMORY, "input is system memory surface" },
79 {MFX_IOPATTERN_IN_OPAQUE_MEMORY, "input is opaque memory surface" },
80 {MFX_IOPATTERN_OUT_VIDEO_MEMORY, "output is video memory surface" },
81 {MFX_IOPATTERN_OUT_SYSTEM_MEMORY, "output is system memory surface" },
82 {MFX_IOPATTERN_OUT_OPAQUE_MEMORY, "output is opaque memory surface" },
120 { MFX_ERR_MORE_SURFACE, AVERROR_UNKNOWN, "expect more surface at output" },
227 int ff_qsv_map_frame_to_surface(const AVFrame *frame, mfxFrameSurface1 *surface)
232 surface->Data.Y = frame->data[0];
233 surface->Data.UV = frame->data[1];
235 surface->Data.V = surface->Data.UV + 1;
239 surface->Data.B = frame->data[0];
240 surface->Data.G = frame->data[0] + 1;
241 surface->Data.R = frame->data[0] + 2;
242 surface->Data.A = frame->data[0] + 3;
245 surface->Data.Y = frame->data[0];
246 surface->Data.U = frame->data[0] + 1;
247 surface->Data.V = frame->data[0] + 3;
251 surface->Data.Y16 = (mfxU16 *)frame->data[0];
252 surface->Data.U16 = (mfxU16 *)frame->data[0] + 1;
253 surface->Data.V16 = (mfxU16 *)frame->data[0] + 3;
258 surface->Data.PitchLow = frame->linesize[0];
268 mfxHDLPair *pair = (mfxHDLPair*)frame->surface.Data.MemId;
569 av_log(ctx->logctx, AV_LOG_ERROR, "Mismatching surface properties in an "
881 frame->surface.Data.NumExtParam = frame->num_ext_params;