58 1, 2, 2, 2, 3, 3, 3, 4,
59 2, 2, 2, 3, 3, 3, 4, 4,
60 2, 2, 3, 3, 3, 4, 4, 4,
61 2, 2, 3, 3, 3, 4, 4, 5,
62 2, 3, 3, 3, 4, 4, 5, 6,
63 3, 3, 3, 4, 4, 5, 6, 7,
64 3, 3, 3, 4, 4, 5, 7, 7,
65 3, 3, 4, 4, 5, 7, 7, 7,
69 1, 5, 6, 7, 8, 9, 9, 11,
70 5, 5, 7, 8, 9, 9, 11, 12,
71 6, 7, 8, 9, 9, 11, 11, 12,
72 7, 7, 8, 9, 9, 11, 12, 13,
73 7, 8, 9, 9, 10, 11, 13, 16,
74 8, 9, 9, 10, 11, 13, 16, 19,
75 8, 9, 9, 11, 12, 15, 18, 23,
76 9, 9, 11, 12, 15, 18, 23, 27
81 #define FIC_HEADER_SIZE 27
103 for (i = 0; i < num_coeff; i++)
119 int y_off = tctx->
y_off;
124 for (p = 0; p < 3; p++) {
128 for (y = 0; y < (slice_h >> !!p); y += 8) {
221 for (slice = 0; slice < nslices; slice++) {
222 unsigned slice_off =
AV_RB32(src + tsize + FIC_HEADER_SIZE + slice * 4);
224 int y_off = ctx->
slice_h * slice;
231 if (slice == nslices - 1) {
235 slice_size =
AV_RB32(src + tsize + FIC_HEADER_SIZE + slice * 4 + 4);
238 if (slice_size < slice_off || slice_size > msize)
241 slice_size -= slice_off;
250 NULL, nslices,
sizeof(ctx->
slice_data[0])) < 0)