Re: [PATCH v6 8/9] media: Avoid parsing quantization and huffman tables

2021-01-04 Thread Philipp Zabel
On Tue, 2020-12-15 at 13:18 +0200, Mirela Rabulea (OSS) wrote: > From: Mirela Rabulea > > These are optional in struct v4l2_jpeg_header, so skip DHT/DQT segment > parsing if huffman_tables/quantization_tables were not requested by user, > to save time. > However, do count them (num_dht/num_dqt).

[PATCH v6 8/9] media: Avoid parsing quantization and huffman tables

2020-12-15 Thread Mirela Rabulea (OSS)
From: Mirela Rabulea These are optional in struct v4l2_jpeg_header, so skip DHT/DQT segment parsing if huffman_tables/quantization_tables were not requested by user, to save time. However, do count them (num_dht/num_dqt). Signed-off-by: Mirela Rabulea --- Changes in v6: Call jpeg_skip_segment