Lines Matching refs:fDecoderCtx
211 SkASSERT(fDecoderCtx->colorspace == frame->colorspace);
212 SkASSERT(fDecoderCtx->color_primaries == frame->color_primaries);
213 SkASSERT(fDecoderCtx->color_trc == frame->color_trc);
218 SkASSERT(fDecoderCtx->pix_fmt == frame->format);
277 int ret = avcodec_send_packet(fDecoderCtx, &fPacket);
289 if (check_err(avcodec_receive_frame(fDecoderCtx, fFrame), silentList)) {
298 (void)avcodec_send_packet(fDecoderCtx, nullptr); // signal to start draining
301 if (avcodec_receive_frame(fDecoderCtx, fFrame) >= 0) {
322 if (fDecoderCtx) {
323 avcodec_free_context(&fDecoderCtx);
324 fDecoderCtx = nullptr;
384 fDecoderCtx = avcodec_alloc_context3(codec);
387 if ((err = avcodec_parameters_to_context(fDecoderCtx, strm->codecpar)) < 0) {
393 if ((err = avcodec_open2(fDecoderCtx, codec, nullptr)) < 0) {