Skip to content

No code path to encode with optimised COLOR_FORMAT_BYR3 bayer color format #50

Description

@smlehbleh

Looking at the code, the COLOR_FORMAT_BYR3 has a fast path which is by default enabled with the 'FAST_BYR3' define (encoder.c:119).
However, there is no exposed CFHD pixel format to use that code path.
There is a CFHD_PIXEL_FORMAT_BYR4 and a CFHD_PIXEL_FORMAT_BYR5 which map to COLOR_FORMAT_BYR4 and COLOR_FORMAT_BYR5 respectively but nothing for COLOR_FORMAT_BYR3 :(.

Is this an incomplete code optimisation which can't be used or have I misunderstood something?

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