Searched refs:dyn_rng_ctl (Results 1 – 1 of 1) sorted by relevance
113 UCHAR dyn_rng_ctl[MAX_DRC_BANDS]; member281 static void encodeDynrng(INT gain, UCHAR* const dyn_rng_ctl, UCHAR* const dyn_rng_sgn ) in encodeDynrng() argument294 *dyn_rng_ctl = (UCHAR)((gain + (1<<13)) >> 14); in encodeDynrng()298 static INT decodeDynrng(const UCHAR dyn_rng_ctl, const UCHAR dyn_rng_sgn) in decodeDynrng() argument300 INT tmp = ((INT)dyn_rng_ctl << (16-2)); in decodeDynrng()514 dynrng = decodeDynrng(pMetadata->mpegDrc.dyn_rng_ctl[0], pMetadata->mpegDrc.dyn_rng_sgn[0]); in ProcessCompressor()534 encodeDynrng(dynrng, pMetadata->mpegDrc.dyn_rng_ctl, pMetadata->mpegDrc.dyn_rng_sgn); in ProcessCompressor()751 …FDKwriteBits(&bsWriter, pMetadata->mpegDrc.dyn_rng_ctl[i], 7); /* dyn_rng_ctl … in WriteDynamicRangeInfoPayload()