Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/media/
Dv4l2-jpeg.h119 struct v4l2_jpeg_reference *huffman_tables; member
133 struct v4l2_jpeg_reference *huffman_tables);
/kernel/linux/linux-5.10/drivers/media/platform/coda/
Dcoda-jpeg.c274 struct v4l2_jpeg_reference huffman_tables[4] = { }; in coda_jpeg_decode_header() local
278 .huffman_tables = huffman_tables, in coda_jpeg_decode_header()
341 if (!huffman_tables[i].start) { in coda_jpeg_decode_header()
346 if (huffman_tables[i].length < 17 || in coda_jpeg_decode_header()
347 huffman_tables[i].length > 178 || in coda_jpeg_decode_header()
348 ((i & 2) == 0 && huffman_tables[i].length > 28)) { in coda_jpeg_decode_header()
351 i, huffman_tables[i].length); in coda_jpeg_decode_header()
364 memcpy(huff_tab->luma_dc, huffman_tables[0].start, huffman_tables[0].length); in coda_jpeg_decode_header()
365 memcpy(huff_tab->chroma_dc, huffman_tables[1].start, huffman_tables[1].length); in coda_jpeg_decode_header()
366 memcpy(huff_tab->luma_ac, huffman_tables[2].start, huffman_tables[2].length); in coda_jpeg_decode_header()
[all …]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-jpeg.c507 out->huffman_tables); in v4l2_jpeg_parse_header()
624 struct v4l2_jpeg_reference *huffman_tables) in v4l2_jpeg_parse_huffman_tables() argument
630 return jpeg_parse_huffman_tables(&stream, huffman_tables); in v4l2_jpeg_parse_huffman_tables()