• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/

Lines Matching refs:avctx

92 static int vda_old_h264_start_frame(AVCodecContext *avctx,
96 VDAContext *vda = avctx->internal->hwaccel_priv_data;
97 struct vda_context *vda_ctx = avctx->hwaccel_context;
107 static int vda_old_h264_decode_slice(AVCodecContext *avctx,
111 VDAContext *vda = avctx->internal->hwaccel_priv_data;
112 struct vda_context *vda_ctx = avctx->hwaccel_context;
141 static int vda_old_h264_end_frame(AVCodecContext *avctx)
143 H264Context *h = avctx->priv_data;
144 VDAContext *vda = avctx->internal->hwaccel_priv_data;
145 struct vda_context *vda_ctx = avctx->hwaccel_context;
158 av_log(avctx, AV_LOG_ERROR, "Failed to decode frame (%d)\n", status);
274 static int vda_h264_uninit(AVCodecContext *avctx)
276 VDAContext *vda = avctx->internal->hwaccel_priv_data;
318 static int vda_h264_start_frame(AVCodecContext *avctx,
322 VDAContext *vda = avctx->internal->hwaccel_priv_data;
329 static int vda_h264_decode_slice(AVCodecContext *avctx,
333 VDAContext *vda = avctx->internal->hwaccel_priv_data;
358 static int vda_h264_end_frame(AVCodecContext *avctx)
360 H264Context *h = avctx->priv_data;
361 VDAContext *vda = avctx->internal->hwaccel_priv_data;
362 AVVDAContext *vda_ctx = avctx->hwaccel_context;
384 av_log(avctx, AV_LOG_ERROR, "Failed to decode frame (%d)\n", status);
405 int ff_vda_default_init(AVCodecContext *avctx)
407 AVVDAContext *vda_ctx = avctx->hwaccel_context;
424 if (avctx->extradata_size >= 4 && (avctx->extradata[4] & 0x03) != 0x03) {
427 if (!(rw_extradata = av_malloc(avctx->extradata_size)))
430 memcpy(rw_extradata, avctx->extradata, avctx->extradata_size);
434 avc_data = CFDataCreate(kCFAllocatorDefault, rw_extradata, avctx->extradata_size);
439 avctx->extradata, avctx->extradata_size);
447 height = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &avctx->height);
448 width = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &avctx->width);
477 avctx,
490 av_log(avctx, AV_LOG_ERROR, "Cannot initialize VDA %d\n", status);
508 static int vda_h264_alloc_frame(AVCodecContext *avctx, AVFrame *frame)
510 frame->width = avctx->width;
511 frame->height = avctx->height;
512 frame->format = avctx->pix_fmt;