Skip to content

compress does not accept 16-bit input buffers #431

Description

@aaron-boxer

grk_compress_init rejects every component whose data_type is not GRK_INT_32.

Decompress can return GRK_INT_16, and signed samples up to 16 bits (unsigned up to 15) already fit in that buffer.

Accept GRK_INT_16 as compress input when the samples fit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions