Lines Matching defs:vda
20 #include "libavcodec/vda.h"
32 VDAContext *vda = ist->hwaccel_ctx;
40 av_frame_unref(vda->tmp_frame);
43 case kCVPixelFormatType_420YpCbCr8Planar: vda->tmp_frame->format = AV_PIX_FMT_YUV420P; break;
44 case kCVPixelFormatType_422YpCbCr8: vda->tmp_frame->format = AV_PIX_FMT_UYVY422; break;
51 vda->tmp_frame->width = frame->width;
52 vda->tmp_frame->height = frame->height;
53 ret = av_frame_get_buffer(vda->tmp_frame, 32);
75 av_image_copy(vda->tmp_frame->data, vda->tmp_frame->linesize,
76 data, linesize, vda->tmp_frame->format,
79 ret = av_frame_copy_props(vda->tmp_frame, frame);
84 av_frame_move_ref(frame, vda->tmp_frame);
92 VDAContext *vda = ist->hwaccel_ctx;
97 av_frame_free(&vda->tmp_frame);
107 VDAContext *vda;
110 vda = av_mallocz(sizeof(*vda));
111 if (!vda)
114 ist->hwaccel_ctx = vda;
118 vda->tmp_frame = av_frame_alloc();
119 if (!vda->tmp_frame) {