merge_split.h File Reference
Merge and split.
More...
|
Functions |
void | merge_channels (unsigned char *channel_A, unsigned char *channel_B, unsigned char *channel_AB, int len_A, int len_B) |
void | split_channels (unsigned char *channel_AB, unsigned char *channel_A, unsigned char *channel_B, int len_AB, int len_A, int len_B, int *real_len_A, int *real_len_B) |
Detailed Description
The library expects that color image consists of 3 independent channels: Y, Cb and Cr. In order to provide smooth image scaling corresponding bitstreams should be merged into a singe bitstream. On decoding, the inverse operation should be taken.