Skip to content

Drop requirement for unsized formats to have bytesPlane of 0 #27

@MarkCallow

Description

@MarkCallow

There is a lengthy discussion on this topic starting at KhronosGroup/KTX-Specification#216 (comment). (Unfortunately there is no easy way to move it over here.)

The conclusion of that discussion is that because bytesPlane provides information not otherwise available in the DFD for certain formats, such as those with packing (unused) bits in the most-significant bits of a sample, it should not be set to 0 when the data is "unsized" (compressed with variable length compression schemes such as zstd or ZLIB).

Formats such as KTX provide information indicating use of such schemes allowing apps to avoid using the DFD until the data has been inflated as well as indicating how to inflate it. An open question is do we want to provide an indicator in the DFD that the data is not in repetitive form. If so, how. The alternative is to require any uses of such schemes together with a DFD to provide the information out of band.

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