Searched refs:huffman_tables (Results 1 – 3 of 3) sorted by relevance
274 struct v4l2_jpeg_reference huffman_tables[4] = { }; in coda_jpeg_decode_header() local278 .huffman_tables = huffman_tables, in coda_jpeg_decode_header()342 if (!huffman_tables[i].start) { in coda_jpeg_decode_header()347 if (huffman_tables[i].length < 17 || in coda_jpeg_decode_header()348 huffman_tables[i].length > 178 || in coda_jpeg_decode_header()349 ((i & 2) == 0 && huffman_tables[i].length > 28)) { in coda_jpeg_decode_header()352 i, huffman_tables[i].length); 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 …]
164 struct v4l2_jpeg_reference *huffman_tables; member179 struct v4l2_jpeg_reference *huffman_tables);
656 if (!out->huffman_tables) { in v4l2_jpeg_parse_header()661 out->huffman_tables); in v4l2_jpeg_parse_header()785 struct v4l2_jpeg_reference *huffman_tables) in v4l2_jpeg_parse_huffman_tables() argument791 return jpeg_parse_huffman_tables(&stream, huffman_tables); in v4l2_jpeg_parse_huffman_tables()