Searched refs:jpeg_avctx (Results 1 – 2 of 2) sorted by relevance
40 AVCodecContext *jpeg_avctx; // wrapper context for MJPEG member68 s->jpeg_avctx = avcodec_alloc_context3(codec); in cri_decode_init()69 if (!s->jpeg_avctx) in cri_decode_init()71 s->jpeg_avctx->flags = avctx->flags; in cri_decode_init()72 s->jpeg_avctx->flags2 = avctx->flags2; in cri_decode_init()73 s->jpeg_avctx->dct_algo = avctx->dct_algo; in cri_decode_init()74 s->jpeg_avctx->idct_algo = avctx->idct_algo; in cri_decode_init()75 ret = avcodec_open2(s->jpeg_avctx, codec, NULL); in cri_decode_init()356 ret = avcodec_send_packet(s->jpeg_avctx, s->jpkt); in cri_decode_frame()362 ret = avcodec_receive_frame(s->jpeg_avctx, s->jpgframe); in cri_decode_frame()[all …]
51 AVCodecContext *jpeg_avctx; // wrapper context for MJPEG member89 avcodec_free_context(&ctx->jpeg_avctx); in tdsc_close()125 ctx->jpeg_avctx = avcodec_alloc_context3(codec); in tdsc_init()126 if (!ctx->jpeg_avctx) in tdsc_init()128 ctx->jpeg_avctx->flags = avctx->flags; in tdsc_init()129 ctx->jpeg_avctx->flags2 = avctx->flags2; in tdsc_init()130 ctx->jpeg_avctx->dct_algo = avctx->dct_algo; in tdsc_init()131 ctx->jpeg_avctx->idct_algo = avctx->idct_algo; in tdsc_init()132 ret = avcodec_open2(ctx->jpeg_avctx, codec, NULL); in tdsc_init()356 ret = avcodec_send_packet(ctx->jpeg_avctx, ctx->jpkt); in tdsc_decode_jpeg_tile()[all …]