Hello:
I have just done a JPEG HW encoder for the RK3288. I have been told that I can't use the standard way to generate huffman table, the VPU supports only 10 levels with a different huffman table. If I send the huffman table through the v4l2 extra control, the memory copy is requested, although the data is not very large(2 x 64 bytes) but still a overhead. The other way is to place them in the kernel driver, and just define the quality every time it encode a picture. But storing in kernel would make the driver a little bigger(2 x 11 x 64 bytes) and beyond the FIFO job.
  So where Should I place the huffman table?
--
Randy Li
The third produce department
===========================================================================
This email message, including any attachments, is for the sole
use of the intended recipient(s) and may contain confidential and
privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message. [Fuzhou Rockchip Electronics, INC. China mainland]
===========================================================================

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to