cineform-sdk icon indicating copy to clipboard operation
cineform-sdk copied to clipboard

No code path to encode with optimised COLOR_FORMAT_BYR3 bayer color format

Open smlehbleh opened this issue 3 years ago • 0 comments

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?

smlehbleh avatar Jan 20 '21 20:01 smlehbleh