Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dtargaenc.c89 int bpp, picsize, datasize = -1, ret, i; in targa_encode_frame() local
92 picsize = av_image_get_buffer_size(avctx->pix_fmt, in targa_encode_frame()
94 if ((ret = ff_alloc_packet2(avctx, pkt, picsize + 45, 0)) < 0) in targa_encode_frame()
164 datasize = targa_encode_rle(out, picsize, p, bpp, avctx->width, avctx->height); in targa_encode_frame()
/third_party/ffmpeg/libavformat/
Dasfdec_f.c232 int ret, type, picsize, desc_len; in asf_read_picture() local
249 picsize = avio_rl32(s->pb); in asf_read_picture()
267 if (picsize >= len) { in asf_read_picture()
269 picsize, len); in asf_read_picture()
274 desc_len = (len - picsize) * 2 + 1; in asf_read_picture()
278 len -= avio_get_str16le(s->pb, len - picsize, desc, desc_len); in asf_read_picture()
280 ret = av_get_packet(s->pb, &pkt, picsize); in asf_read_picture()
Dasfdec_o.c369 int ret, type, picsize, desc_len; in asf_read_picture() local
386 picsize = avio_rl32(s->pb); in asf_read_picture()
404 if (picsize >= len) { in asf_read_picture()
406 picsize, len); in asf_read_picture()
411 desc_len = (len - picsize) * 2 + 1; in asf_read_picture()
415 len -= avio_get_str16le(s->pb, len - picsize, desc, desc_len); in asf_read_picture()
417 ret = av_get_packet(s->pb, &pkt, picsize); in asf_read_picture()