Searched refs:huffman_tables (Results 1 – 3 of 3) sorted by relevance
119 struct v4l2_jpeg_reference *huffman_tables; member133 struct v4l2_jpeg_reference *huffman_tables);
274 struct v4l2_jpeg_reference huffman_tables[4] = { }; in coda_jpeg_decode_header() local278 .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 …]
507 out->huffman_tables); in v4l2_jpeg_parse_header()624 struct v4l2_jpeg_reference *huffman_tables) in v4l2_jpeg_parse_huffman_tables() argument630 return jpeg_parse_huffman_tables(&stream, huffman_tables); in v4l2_jpeg_parse_huffman_tables()