Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/chips-media/
H A Dcoda-jpeg.c265 static int coda9_jpeg_gen_dec_huff_tab(struct coda_ctx *ctx, int tab_num);
582 static int coda9_jpeg_gen_enc_huff_tab(struct coda_ctx *ctx, int tab_num, in coda9_jpeg_gen_enc_huff_tab() argument
600 bits = huff_tabs[tab_num]; in coda9_jpeg_gen_enc_huff_tab()
601 huffval = huff_tabs[tab_num] + 16; in coda9_jpeg_gen_enc_huff_tab()
603 maxsymbol = tab_num & 1 ? 256 : 16; in coda9_jpeg_gen_enc_huff_tab()
651 static u8 *coda9_jpeg_get_huff_bits(struct coda_ctx *ctx, int tab_num) in coda9_jpeg_get_huff_bits() argument
658 switch (tab_num) { in coda9_jpeg_get_huff_bits()
668 static int coda9_jpeg_gen_dec_huff_tab(struct coda_ctx *ctx, int tab_num) in coda9_jpeg_gen_dec_huff_tab() argument
678 huff_bits = coda9_jpeg_get_huff_bits(ctx, tab_num); in coda9_jpeg_gen_dec_huff_tab()
683 ofs = ((tab_num & 1) << 1) | ((tab_num >> 1) & 1); in coda9_jpeg_gen_dec_huff_tab()