You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I have a question about buffer usage for codaj12 accelerator. I am using the StarFive VisionFive2 board and examples from this repository.
In the documentation on using the JpgDecOpenParam structure, it is written about the pBitStream field that the buffer size should not exceed 16383 x 1024 bytes, and the minimum size is 1024. How to properly use this buffer when decoding? It is clear that I can allocate a lot of memory for it and load the whole picture, but is it possible to use a small buffer and load the bitstream as it is decoded (as, for example, done in libjpeg)? I could not run the examples provided above on a small buffer: either the decoding falls, or the image is not completely decoded.
Thanks in advance for your reply!
The text was updated successfully, but these errors were encountered:
Hello!
I have a question about buffer usage for codaj12 accelerator. I am using the StarFive VisionFive2 board and examples from this repository.
In the documentation on using the JpgDecOpenParam structure, it is written about the pBitStream field that the buffer size should not exceed 16383 x 1024 bytes, and the minimum size is 1024. How to properly use this buffer when decoding? It is clear that I can allocate a lot of memory for it and load the whole picture, but is it possible to use a small buffer and load the bitstream as it is decoded (as, for example, done in libjpeg)? I could not run the examples provided above on a small buffer: either the decoding falls, or the image is not completely decoded.
Thanks in advance for your reply!
The text was updated successfully, but these errors were encountered: