Searched refs:jpeg_avctx (Results 1 – 2 of 2) sorted by relevance
39 AVCodecContext *jpeg_avctx; // wrapper context for MJPEG member67 s->jpeg_avctx = avcodec_alloc_context3(codec); in cri_decode_init()68 if (!s->jpeg_avctx) in cri_decode_init()70 s->jpeg_avctx->flags = avctx->flags; in cri_decode_init()71 s->jpeg_avctx->flags2 = avctx->flags2; in cri_decode_init()72 s->jpeg_avctx->dct_algo = avctx->dct_algo; in cri_decode_init()73 s->jpeg_avctx->idct_algo = avctx->idct_algo; in cri_decode_init()74 ret = avcodec_open2(s->jpeg_avctx, codec, NULL); in cri_decode_init()357 ret = avcodec_send_packet(s->jpeg_avctx, s->jpkt); in cri_decode_frame()363 ret = avcodec_receive_frame(s->jpeg_avctx, s->jpgframe); in cri_decode_frame()[all …]
50 AVCodecContext *jpeg_avctx; // wrapper context for MJPEG member88 avcodec_free_context(&ctx->jpeg_avctx); in tdsc_close()124 ctx->jpeg_avctx = avcodec_alloc_context3(codec); in tdsc_init()125 if (!ctx->jpeg_avctx) in tdsc_init()127 ctx->jpeg_avctx->flags = avctx->flags; in tdsc_init()128 ctx->jpeg_avctx->flags2 = avctx->flags2; in tdsc_init()129 ctx->jpeg_avctx->dct_algo = avctx->dct_algo; in tdsc_init()130 ctx->jpeg_avctx->idct_algo = avctx->idct_algo; in tdsc_init()131 ret = avcodec_open2(ctx->jpeg_avctx, codec, NULL); in tdsc_init()355 ret = avcodec_send_packet(ctx->jpeg_avctx, ctx->jpkt); in tdsc_decode_jpeg_tile()[all …]