Lines Matching refs:fDecoderCtx
213 SkASSERT(fDecoderCtx->colorspace == frame->colorspace); in convertFrame()
214 SkASSERT(fDecoderCtx->color_primaries == frame->color_primaries); in convertFrame()
215 SkASSERT(fDecoderCtx->color_trc == frame->color_trc); in convertFrame()
220 SkASSERT(fDecoderCtx->pix_fmt == frame->format); in convertFrame()
279 int ret = avcodec_send_packet(fDecoderCtx, &fPacket); in nextImage()
291 if (check_err(avcodec_receive_frame(fDecoderCtx, fFrame), silentList)) { in nextImage()
300 (void)avcodec_send_packet(fDecoderCtx, nullptr); // signal to start draining in nextImage()
303 if (avcodec_receive_frame(fDecoderCtx, fFrame) >= 0) { in nextImage()
324 if (fDecoderCtx) { in reset()
325 avcodec_free_context(&fDecoderCtx); in reset()
326 fDecoderCtx = nullptr; in reset()
386 fDecoderCtx = avcodec_alloc_context3(codec); in loadStream()
389 if ((err = avcodec_parameters_to_context(fDecoderCtx, strm->codecpar)) < 0) { in loadStream()
395 if ((err = avcodec_open2(fDecoderCtx, codec, nullptr)) < 0) { in loadStream()