Home
last modified time | relevance | path

Searched refs:OI_ASSERT (Results 1 – 12 of 12) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/external/sbc/decoder/srce/
Dsynthesis-dct8.c87 #define FLOAT_BUTTERFLY(x,y) x += y; y = x - (y*2); OI_ASSERT(VALID_INT32(x)); OI_ASSERT(VALID_INT3… in float_dct2_8()
97 in0 = FLOAT_SCALE(in[0], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in0)); in float_dct2_8()
98 in1 = FLOAT_SCALE(in[1], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in1)); in float_dct2_8()
99 in2 = FLOAT_SCALE(in[2], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in2)); in float_dct2_8()
100 in3 = FLOAT_SCALE(in[3], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in3)); in float_dct2_8()
101 in4 = FLOAT_SCALE(in[4], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in4)); in float_dct2_8()
102 in5 = FLOAT_SCALE(in[5], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in5)); in float_dct2_8()
103 in6 = FLOAT_SCALE(in[6], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in6)); in float_dct2_8()
104 in7 = FLOAT_SCALE(in[7], DCTII_8_SHIFT_IN); OI_ASSERT(VALID_INT32(in7)); in float_dct2_8()
106 L00 = (in0 + in7); OI_ASSERT(VALID_INT32(L00)); in float_dct2_8()
[all …]
Ddequant.c139 OI_ASSERT(fabs(result) < 32768 * 1.6); in dequant_float()
152 OI_ASSERT(scale_factor <= 15); in OI_SBC_Dequant()
153 OI_ASSERT(bits <= 16); in OI_SBC_Dequant()
172 OI_ASSERT(((result >= 0) && (integerized_float_result >= 0)) || in OI_SBC_Dequant()
191 OI_ASSERT(scale_factor <= 15); in OI_SBC_Dequant_Unscaled()
192 OI_ASSERT(bits <= 16); in OI_SBC_Dequant_Unscaled()
Dbitstream-decode.c64 OI_ASSERT(bs->bitPtr < 16); in OI_BITSTREAM_ReadUINT4Aligned()
65 OI_ASSERT(bs->bitPtr % 4 == 0); in OI_BITSTREAM_ReadUINT4Aligned()
76 OI_ASSERT(result < (1u << 4)); in OI_BITSTREAM_ReadUINT4Aligned()
83 OI_ASSERT(bs->bitPtr == 8); in OI_BITSTREAM_ReadUINT8Aligned()
Dsynthesis-sbc.c381 OI_ASSERT(nrof_subbands == 4 || nrof_subbands == 8); in OI_SBC_SynthFrame()
401 OI_ASSERT(buffer[ 2] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()
402 OI_ASSERT(buffer[10] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()
403 OI_ASSERT(buffer[18] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()
404 OI_ASSERT(buffer[26] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()
405 OI_ASSERT(buffer[34] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()
406 OI_ASSERT(buffer[42] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()
407 OI_ASSERT(buffer[50] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()
408 OI_ASSERT(buffer[58] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()
409 OI_ASSERT(buffer[66] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()
[all …]
Dalloc.c67 OI_ASSERT(codecDataBytes >= subdataSize); in OI_CODEC_SBC_Alloc()
74 OI_ASSERT(codecDataBytes >= allocSize); in OI_CODEC_SBC_Alloc()
Dbitalloc-sbc.c103 OI_ASSERT(common->frameInfo.bitpool <= OI_SBC_MaxBitpool(&common->frameInfo)); in OI_SBC_ComputeBitAllocation()
104 OI_ASSERT(common->frameInfo.mode < OI_ARRAYSIZE(balloc)); in OI_SBC_ComputeBitAllocation()
Dframing.c232 OI_ASSERT(((OI_CHAR *)(dest) - (OI_CHAR *)(src)) >= wordCount * sizeof(*dest)); in shift_buffer()
239 OI_ASSERT((n * 4 * (sizeof(OI_INT32) / sizeof(*dest))) == wordCount); in shift_buffer()
Ddecoder-private.c101 OI_ASSERT(data[0] == OI_SBC_SYNCWORD || data[0] == OI_SBC_ENHANCED_SYNCWORD in OI_SBC_ReadHeader()
192OI_ASSERT(common->frameInfo.nrof_subbands == 4 && common->frameInfo.mode == SBC_JOINT_STEREO); in OI_SBC_ReadScalefactors()
Ddecoder-sbc.c161 OI_ASSERT(context->bufferedBlocks >= decode_block_count); in DecodeBody()
460 OI_ASSERT((nrof_subbands >> 3u) <= 1u); in OI_SBC_ReadSamplesJoint()
Dbitalloc.c57 OI_ASSERT(FALSE); in OI_SBC_MaxBitpool()
/hal_espressif-latest/components/bt/host/bluedroid/external/sbc/decoder/include/
Doi_bitstream.h82 OI_ASSERT((bits) <= 16); \
83 OI_ASSERT((bitPtr) < 16); \
84 OI_ASSERT((bitPtr) >= 8); \
94 OI_ASSERT((bits == 0) || (result < (1u << (bits)))); \
Doi_assert.h50 #define OI_ASSERT(condition) \ macro
59 #define OI_ASSERT(condition)