Skip to content

Decoding multiple frames without decoder create/destroy #306

@slugwarz05

Description

@slugwarz05

Similar to #86 for encoding, it would be great if an enhancement was made to implement a function similar to charls_jpegls_encoder_rewind, except on the decoding side of things.

The ideal state would be if, when decoding multiple same-sized images, no additional new/delete calls are made. This would be achieved in part by not needing to create and destroy a charls_jpegls_decoder object for each image that needs decoding.

Or, if it is possible to calculate memory needs for the encode/decode operation, enabling custom allocators would solve this as well. But that seems like a longer-term enhancement.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions