Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dcri.c41 AVPacket *jpkt; // encoded JPEG tile member
61 s->jpkt = av_packet_alloc(); in cri_decode_init()
62 if (!s->jpkt) in cri_decode_init()
352 av_packet_unref(s->jpkt); in cri_decode_frame()
353 s->jpkt->data = (uint8_t *)s->data + offset; in cri_decode_frame()
354 s->jpkt->size = s->tile_size[tile]; in cri_decode_frame()
356 ret = avcodec_send_packet(s->jpeg_avctx, s->jpkt); in cri_decode_frame()
420 av_packet_free(&s->jpkt); in cri_decode_close()
Dtdsc.c57 AVPacket *jpkt; // encoded JPEG tile member
85 av_packet_free(&ctx->jpkt); in tdsc_close()
117 ctx->jpkt = av_packet_alloc(); in tdsc_init()
118 if (!ctx->refframe || !ctx->jpgframe || !ctx->jpkt) in tdsc_init()
352 av_packet_unref(ctx->jpkt); in tdsc_decode_jpeg_tile()
353 ctx->jpkt->data = ctx->tilebuffer; in tdsc_decode_jpeg_tile()
354 ctx->jpkt->size = tile_size; in tdsc_decode_jpeg_tile()
356 ret = avcodec_send_packet(ctx->jpeg_avctx, ctx->jpkt); in tdsc_decode_jpeg_tile()
Dtiff.c63 AVPacket *jpkt; // encoded JPEG tile member
648 av_packet_unref(s->jpkt); in dng_decode_jpeg()
649 s->jpkt->data = (uint8_t*)s->gb.buffer; in dng_decode_jpeg()
650 s->jpkt->size = tile_byte_count; in dng_decode_jpeg()
659 ret = avcodec_send_packet(s->avctx_mjpeg, s->jpkt); in dng_decode_jpeg()
2128 s->jpkt = av_packet_alloc(); in tiff_init()
2129 if (!s->jpgframe || !s->jpkt) in tiff_init()
2164 av_packet_free(&s->jpkt); in tiff_end()