cineform-sdk
cineform-sdk copied to clipboard
No code path to encode with optimised COLOR_FORMAT_BYR3 bayer color format
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?