-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
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!
Metadata
Metadata
Assignees
Labels
No labels