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