Home
last modified time | relevance | path

Searched refs:jpgframe (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dcri.c42 AVFrame *jpgframe; // decoded JPEG tile member
57 s->jpgframe = av_frame_alloc(); in cri_decode_init()
58 if (!s->jpgframe) in cri_decode_init()
362 ret = avcodec_receive_frame(s->jpeg_avctx, s->jpgframe); in cri_decode_frame()
363 if (ret < 0 || s->jpgframe->format != AV_PIX_FMT_GRAY16 || in cri_decode_frame()
383 const int hw = s->jpgframe->width / 2; in cri_decode_frame()
385 … const uint16_t *src = (const uint16_t *)(s->jpgframe->data[0] + y * s->jpgframe->linesize[0]); in cri_decode_frame()
393 av_frame_unref(s->jpgframe); in cri_decode_frame()
419 av_frame_free(&s->jpgframe); in cri_decode_close()
Dtdsc.c58 AVFrame *jpgframe; // decoded JPEG tile member
84 av_frame_free(&ctx->jpgframe); in tdsc_close()
116 ctx->jpgframe = av_frame_alloc(); in tdsc_init()
118 if (!ctx->refframe || !ctx->jpgframe || !ctx->jpkt) in tdsc_init()
362 ret = avcodec_receive_frame(ctx->jpeg_avctx, ctx->jpgframe); in tdsc_decode_jpeg_tile()
363 if (ret < 0 || ctx->jpgframe->format != AV_PIX_FMT_YUVJ420P) { in tdsc_decode_jpeg_tile()
377 ctx->jpgframe->data[0], ctx->jpgframe->linesize[0], in tdsc_decode_jpeg_tile()
378 ctx->jpgframe->data[1], ctx->jpgframe->data[2], in tdsc_decode_jpeg_tile()
379 ctx->jpgframe->linesize[1], w, h); in tdsc_decode_jpeg_tile()
381 av_frame_unref(ctx->jpgframe); in tdsc_decode_jpeg_tile()
Dtiff.c64 AVFrame *jpgframe; // decoded JPEG tile member
665 ret = avcodec_receive_frame(s->avctx_mjpeg, s->jpgframe); in dng_decode_jpeg()
680 if (s->jpgframe->width != s->avctx_mjpeg->width || in dng_decode_jpeg()
681 s->jpgframe->height != s->avctx_mjpeg->height || in dng_decode_jpeg()
682 s->jpgframe->format != s->avctx_mjpeg->pix_fmt) in dng_decode_jpeg()
702 av_frame_unref(s->jpgframe); in dng_decode_jpeg()
708 src_data = s->jpgframe->data[0]; in dng_decode_jpeg()
714 s->jpgframe->linesize[0] / pixel_size, in dng_decode_jpeg()
720 av_frame_unref(s->jpgframe); in dng_decode_jpeg()
2127 s->jpgframe = av_frame_alloc(); in tiff_init()
[all …]