Re: [PATCH 4/9] media: rkvdec: h264: Fix bit depth wrap in pps packet

2020-07-02 Thread Ezequiel Garcia
On Wed, 2020-07-01 at 21:56 +, Jonas Karlman wrote: > The luma and chroma bit depth fields in the pps packet is 3 bits wide. > 8 is wrongly added to the bit depth value written to these 3-bit fields. > Because only the 3 LSB is written the hardware is configured correctly. > > Correct this by

[PATCH 4/9] media: rkvdec: h264: Fix bit depth wrap in pps packet

2020-07-01 Thread Jonas Karlman
The luma and chroma bit depth fields in the pps packet is 3 bits wide. 8 is wrongly added to the bit depth value written to these 3-bit fields. Because only the 3 LSB is written the hardware is configured correctly. Correct this by not adding 8 to the luma and chroma bit depth value.