Searched refs:OI_ASSERT (Results 1 – 12 of 12) sorted by relevance
85 #define FLOAT_BUTTERFLY(x,y) x += y; y = x - (y*2); OI_ASSERT(VALID_INT32(x)); OI_ASSERT(VALID_INT3… in float_dct2_8()95 in0 = FLOAT_SCALE(in[0], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in0)); in float_dct2_8()96 in1 = FLOAT_SCALE(in[1], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in1)); in float_dct2_8()97 in2 = FLOAT_SCALE(in[2], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in2)); in float_dct2_8()98 in3 = FLOAT_SCALE(in[3], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in3)); in float_dct2_8()99 in4 = FLOAT_SCALE(in[4], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in4)); in float_dct2_8()100 in5 = FLOAT_SCALE(in[5], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in5)); in float_dct2_8()101 in6 = FLOAT_SCALE(in[6], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in6)); in float_dct2_8()102 in7 = FLOAT_SCALE(in[7], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in7)); in float_dct2_8()104 L00 = (in0 + in7); OI_ASSERT(VALID_INT32(L00)); in float_dct2_8()[all …]
136 OI_ASSERT(fabs(result) < 32768 * 1.6); in dequant_float()149 OI_ASSERT(scale_factor <= 15); in OI_SBC_Dequant()150 OI_ASSERT(bits <= 16); in OI_SBC_Dequant()169 OI_ASSERT(((result >= 0) && (integerized_float_result >= 0)) || in OI_SBC_Dequant()188 OI_ASSERT(scale_factor <= 15); in OI_SBC_Dequant_Unscaled()189 OI_ASSERT(bits <= 16); in OI_SBC_Dequant_Unscaled()
61 OI_ASSERT(bs->bitPtr < 16); in OI_BITSTREAM_ReadUINT4Aligned()62 OI_ASSERT(bs->bitPtr % 4 == 0); in OI_BITSTREAM_ReadUINT4Aligned()73 OI_ASSERT(result < (1u << 4)); in OI_BITSTREAM_ReadUINT4Aligned()80 OI_ASSERT(bs->bitPtr == 8); in OI_BITSTREAM_ReadUINT8Aligned()
379 OI_ASSERT(nrof_subbands == 4 || nrof_subbands == 8); in OI_SBC_SynthFrame()399 OI_ASSERT(buffer[ 2] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()400 OI_ASSERT(buffer[10] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()401 OI_ASSERT(buffer[18] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()402 OI_ASSERT(buffer[26] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()403 OI_ASSERT(buffer[34] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()404 OI_ASSERT(buffer[42] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()405 OI_ASSERT(buffer[50] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()406 OI_ASSERT(buffer[58] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()407 OI_ASSERT(buffer[66] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()[all …]
65 OI_ASSERT(codecDataBytes >= subdataSize); in OI_CODEC_SBC_Alloc()72 OI_ASSERT(codecDataBytes >= allocSize); in OI_CODEC_SBC_Alloc()
101 OI_ASSERT(common->frameInfo.bitpool <= OI_SBC_MaxBitpool(&common->frameInfo)); in OI_SBC_ComputeBitAllocation()102 OI_ASSERT(common->frameInfo.mode < OI_ARRAYSIZE(balloc)); in OI_SBC_ComputeBitAllocation()
230 OI_ASSERT(((OI_CHAR *)(dest) - (OI_CHAR *)(src)) >= wordCount*sizeof(*dest)); in shift_buffer()237 OI_ASSERT((n * 4 * (sizeof(OI_INT32)/sizeof(*dest))) == wordCount); in shift_buffer()
94 OI_ASSERT(data[0] == OI_SBC_SYNCWORD || data[0] == OI_SBC_ENHANCED_SYNCWORD); in OI_SBC_ReadHeader()159 … OI_ASSERT(common->frameInfo.nrof_subbands == 4 && common->frameInfo.mode == SBC_JOINT_STEREO); in OI_SBC_ReadScalefactors()
156 OI_ASSERT(context->bufferedBlocks >= decode_block_count); in DecodeBody()454 OI_ASSERT((nrof_subbands >> 3u) <= 1u); in OI_SBC_ReadSamplesJoint()
54 OI_ASSERT(FALSE); in OI_SBC_MaxBitpool()
82 OI_ASSERT((bits) <= 16); \83 OI_ASSERT((bitPtr) < 16); \84 OI_ASSERT((bitPtr) >= 8); \94 OI_ASSERT((bits == 0) || (result < (1u << (bits)))); \
50 #define OI_ASSERT(condition) \ macro59 #define OI_ASSERT(condition)