Searched refs:huff_tab (Results 1 – 1 of 1) sorted by relevance
281 struct coda_huff_tab *huff_tab; in coda_jpeg_decode_header() local356 huff_tab = ctx->params.jpeg_huff_tab; in coda_jpeg_decode_header()357 if (!huff_tab) { in coda_jpeg_decode_header()358 huff_tab = kzalloc(sizeof(struct coda_huff_tab), GFP_KERNEL); in coda_jpeg_decode_header()359 if (!huff_tab) in coda_jpeg_decode_header()361 ctx->params.jpeg_huff_tab = huff_tab; in coda_jpeg_decode_header()364 memset(huff_tab, 0, sizeof(*huff_tab)); in coda_jpeg_decode_header()365 memcpy(huff_tab->luma_dc, huffman_tables[0].start, huffman_tables[0].length); in coda_jpeg_decode_header()366 memcpy(huff_tab->chroma_dc, huffman_tables[1].start, huffman_tables[1].length); in coda_jpeg_decode_header()367 memcpy(huff_tab->luma_ac, huffman_tables[2].start, huffman_tables[2].length); in coda_jpeg_decode_header()[all …]