Searched refs:jpgframe (Results 1 – 3 of 3) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | cri.c | 41 AVFrame *jpgframe; // decoded JPEG tile member 56 s->jpgframe = av_frame_alloc(); in cri_decode_init() 57 if (!s->jpgframe) in cri_decode_init() 363 ret = avcodec_receive_frame(s->jpeg_avctx, s->jpgframe); in cri_decode_frame() 364 if (ret < 0 || s->jpgframe->format != AV_PIX_FMT_GRAY16 || in cri_decode_frame() 384 const int hw = s->jpgframe->width / 2; in cri_decode_frame() 386 … const uint16_t *src = (const uint16_t *)(s->jpgframe->data[0] + y * s->jpgframe->linesize[0]); in cri_decode_frame() 394 av_frame_unref(s->jpgframe); in cri_decode_frame() 420 av_frame_free(&s->jpgframe); in cri_decode_close()
|
D | tdsc.c | 57 AVFrame *jpgframe; // decoded JPEG tile member 83 av_frame_free(&ctx->jpgframe); in tdsc_close() 115 ctx->jpgframe = av_frame_alloc(); in tdsc_init() 117 if (!ctx->refframe || !ctx->jpgframe || !ctx->jpkt) in tdsc_init() 361 ret = avcodec_receive_frame(ctx->jpeg_avctx, ctx->jpgframe); in tdsc_decode_jpeg_tile() 362 if (ret < 0 || ctx->jpgframe->format != AV_PIX_FMT_YUVJ420P) { in tdsc_decode_jpeg_tile() 376 ctx->jpgframe->data[0], ctx->jpgframe->linesize[0], in tdsc_decode_jpeg_tile() 377 ctx->jpgframe->data[1], ctx->jpgframe->data[2], in tdsc_decode_jpeg_tile() 378 ctx->jpgframe->linesize[1], w, h); in tdsc_decode_jpeg_tile() 380 av_frame_unref(ctx->jpgframe); in tdsc_decode_jpeg_tile()
|
D | tiff.c | 62 AVFrame *jpgframe; // decoded JPEG tile member 678 ret = avcodec_receive_frame(s->avctx_mjpeg, s->jpgframe); in dng_decode_jpeg() 693 if (s->jpgframe->width != s->avctx_mjpeg->width || in dng_decode_jpeg() 694 s->jpgframe->height != s->avctx_mjpeg->height || in dng_decode_jpeg() 695 s->jpgframe->format != s->avctx_mjpeg->pix_fmt) in dng_decode_jpeg() 715 av_frame_unref(s->jpgframe); in dng_decode_jpeg() 721 src_data = s->jpgframe->data[0]; in dng_decode_jpeg() 727 s->jpgframe->linesize[0] / pixel_size, in dng_decode_jpeg() 733 av_frame_unref(s->jpgframe); in dng_decode_jpeg() 742 s->jpgframe->width = s->width; in dng_decode_strip() [all …]
|