Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dcri.c40 AVPacket *jpkt; // encoded JPEG tile member
60 s->jpkt = av_packet_alloc(); in cri_decode_init()
61 if (!s->jpkt) in cri_decode_init()
353 av_packet_unref(s->jpkt); in cri_decode_frame()
354 s->jpkt->data = (uint8_t *)s->data + offset; in cri_decode_frame()
355 s->jpkt->size = s->tile_size[tile]; in cri_decode_frame()
357 ret = avcodec_send_packet(s->jpeg_avctx, s->jpkt); in cri_decode_frame()
421 av_packet_free(&s->jpkt); in cri_decode_close()
Dtdsc.c56 AVPacket *jpkt; // encoded JPEG tile member
84 av_packet_free(&ctx->jpkt); in tdsc_close()
116 ctx->jpkt = av_packet_alloc(); in tdsc_init()
117 if (!ctx->refframe || !ctx->jpgframe || !ctx->jpkt) in tdsc_init()
351 av_packet_unref(ctx->jpkt); in tdsc_decode_jpeg_tile()
352 ctx->jpkt->data = ctx->tilebuffer; in tdsc_decode_jpeg_tile()
353 ctx->jpkt->size = tile_size; in tdsc_decode_jpeg_tile()
355 ret = avcodec_send_packet(ctx->jpeg_avctx, ctx->jpkt); in tdsc_decode_jpeg_tile()
Dtiff.c61 AVPacket *jpkt; // encoded JPEG tile member
661 av_packet_unref(s->jpkt); in dng_decode_jpeg()
662 s->jpkt->data = (uint8_t*)s->gb.buffer; in dng_decode_jpeg()
663 s->jpkt->size = tile_byte_count; in dng_decode_jpeg()
672 ret = avcodec_send_packet(s->avctx_mjpeg, s->jpkt); in dng_decode_jpeg()
2157 s->jpkt = av_packet_alloc(); in tiff_init()
2158 if (!s->jpgframe || !s->jpkt) in tiff_init()
2194 av_packet_free(&s->jpkt); in tiff_end()