Lines Matching refs:slice_no
154 static int hqx_decode_422(HQXContext *ctx, int slice_no, int x, int y) in hqx_decode_422() argument
156 HQXSlice *slice = &ctx->slice[slice_no]; in hqx_decode_422()
188 static int hqx_decode_422a(HQXContext *ctx, int slice_no, int x, int y) in hqx_decode_422a() argument
190 HQXSlice *slice = &ctx->slice[slice_no]; in hqx_decode_422a()
238 static int hqx_decode_444(HQXContext *ctx, int slice_no, int x, int y) in hqx_decode_444() argument
240 HQXSlice *slice = &ctx->slice[slice_no]; in hqx_decode_444()
274 static int hqx_decode_444a(HQXContext *ctx, int slice_no, int x, int y) in hqx_decode_444a() argument
276 HQXSlice *slice = &ctx->slice[slice_no]; in hqx_decode_444a()
327 static int decode_slice(HQXContext *ctx, int slice_no) in decode_slice() argument
340 int g_tile = slice_no * num_tiles; in decode_slice()
356 num_tiles * shuffle_16[(i + slice_no) & 0xF]; in decode_slice()
373 ctx->decode_func(ctx, slice_no, mb_x * 16, mb_y * 16); in decode_slice()
381 int slice_no, int threadnr) in decode_slice_thread() argument
387 if (slice_off[slice_no] < HQX_HEADER_SIZE || in decode_slice_thread()
388 slice_off[slice_no] >= slice_off[slice_no + 1] || in decode_slice_thread()
389 slice_off[slice_no + 1] > ctx->data_size) { in decode_slice_thread()
394 ret = init_get_bits8(&ctx->slice[slice_no].gb, in decode_slice_thread()
395 ctx->src + slice_off[slice_no], in decode_slice_thread()
396 slice_off[slice_no + 1] - slice_off[slice_no]); in decode_slice_thread()
400 return decode_slice(ctx, slice_no); in decode_slice_thread()