Go to the documentation of this file.
45 for (
int i = 0;
i < n;
i++)
50 if ((lens[
i] + codes[
i]) & 1) {
54 codes[
i - 1] = (lens[
i] + codes[
i]) >> 1;
56 for (
int i = 0;
i < n;
i++) {
58 dst[
i] = codes[len_table[
i]]++;
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
#define FF_ARRAY_ELEMS(a)
int ff_huffyuv_generate_bits_table(uint32_t *dst, const uint8_t *len_table, int n)
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
#define i(width, name, range_min, range_max)
#define AVERROR_INVALIDDATA
Invalid data found when processing input.