Home
last modified time | relevance | path

Searched refs:nslices (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dfic.c275 int slice, nslices; in fic_decode_frame() local
304 nslices = src[13]; in fic_decode_frame()
305 if (!nslices) { in fic_decode_frame()
352 ctx->slice_h = 16 * (ctx->aligned_height >> 4) / nslices; in fic_decode_frame()
357 sdata = src + tsize + FIC_HEADER_SIZE + 4 * nslices; in fic_decode_frame()
358 msize = avpkt->size - nslices * 4 - tsize - FIC_HEADER_SIZE; in fic_decode_frame()
367 nslices * sizeof(ctx->slice_data[0])); in fic_decode_frame()
372 memset(ctx->slice_data, 0, nslices * sizeof(ctx->slice_data[0])); in fic_decode_frame()
374 for (slice = 0; slice < nslices; slice++) { in fic_decode_frame()
384 if (slice == nslices - 1) { in fic_decode_frame()
[all …]
Ddxtory.c384 int *nslices, int *off) in load_buffer() argument
387 *nslices = bytestream2_get_le16(gb); in load_buffer()
388 *off = FFALIGN(*nslices * 4 + 2, 16); in load_buffer()
394 if (!*nslices) { in load_buffer()
395 avpriv_request_sample(avctx, "%d slices for %dx%d", *nslices, in load_buffer()
436 int nslices, slice, line = 0; in dxtory_decode_v2() local
442 ret = load_buffer(avctx, src, src_size, &gb, &nslices, &off); in dxtory_decode_v2()
448 for (slice = 0; slice < nslices; slice++) { in dxtory_decode_v2()
451 if (slice_size <= 16 + (avctx->height * avctx->width / (8 * nslices))) in dxtory_decode_v2()
465 for (slice = 0; slice < nslices; slice++) { in dxtory_decode_v2()