Home
last modified time | relevance | path

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

/system/bt/embdrv/sbc/decoder/srce/
Dsynthesis-dct8.c89 OI_ASSERT(VALID_INT32(x)); \ in float_dct2_8()
90 OI_ASSERT(VALID_INT32(y)); in float_dct2_8()
101 OI_ASSERT(VALID_INT32(in0)); in float_dct2_8()
103 OI_ASSERT(VALID_INT32(in1)); in float_dct2_8()
105 OI_ASSERT(VALID_INT32(in2)); in float_dct2_8()
107 OI_ASSERT(VALID_INT32(in3)); in float_dct2_8()
109 OI_ASSERT(VALID_INT32(in4)); in float_dct2_8()
111 OI_ASSERT(VALID_INT32(in5)); in float_dct2_8()
113 OI_ASSERT(VALID_INT32(in6)); in float_dct2_8()
115 OI_ASSERT(VALID_INT32(in7)); in float_dct2_8()
[all …]
Ddequant.c144 OI_ASSERT(fabs(result) < 32768 * 1.6); in dequant_float()
156 OI_ASSERT(scale_factor <= 15); in OI_SBC_Dequant()
157 OI_ASSERT(bits <= 16); in OI_SBC_Dequant()
176 OI_ASSERT(((result >= 0) && (integerized_float_result >= 0)) || in OI_SBC_Dequant()
195 OI_ASSERT(scale_factor <= 15); in OI_SBC_Dequant_Unscaled()
196 OI_ASSERT(bits <= 16); in OI_SBC_Dequant_Unscaled()
Dbitstream-decode.c59 OI_ASSERT(bs->bitPtr < 16); in OI_BITSTREAM_ReadUINT4Aligned()
60 OI_ASSERT(bs->bitPtr % 4 == 0); in OI_BITSTREAM_ReadUINT4Aligned()
71 OI_ASSERT(result < (1u << 4)); in OI_BITSTREAM_ReadUINT4Aligned()
77 OI_ASSERT(bs->bitPtr == 8); in OI_BITSTREAM_ReadUINT8Aligned()
Dsynthesis-sbc.c419 OI_ASSERT(nrof_subbands == 4 || nrof_subbands == 8); in OI_SBC_SynthFrame()
439 OI_ASSERT(buffer[2] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()
440 OI_ASSERT(buffer[10] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()
441 OI_ASSERT(buffer[18] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()
442 OI_ASSERT(buffer[26] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()
443 OI_ASSERT(buffer[34] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()
444 OI_ASSERT(buffer[42] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()
445 OI_ASSERT(buffer[50] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()
446 OI_ASSERT(buffer[58] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()
447 OI_ASSERT(buffer[66] == 0); in SynthWindow40_int32_int32_symmetry_with_sum()
[all …]
Dalloc.c68 OI_ASSERT(codecDataBytes >= subdataSize); in OI_CODEC_SBC_Alloc()
76 OI_ASSERT(codecDataBytes >= allocSize); in OI_CODEC_SBC_Alloc()
Dbitalloc-sbc.c101 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()
Dframing.c267 OI_ASSERT(((OI_CHAR*)(dest) - (OI_CHAR*)(src)) >= wordCount * sizeof(*dest)); in shift_buffer()
274 OI_ASSERT((n * 4 * (sizeof(int32_t) / sizeof(*dest))) == wordCount); in shift_buffer()
Ddecoder-private.c93 OI_ASSERT(data[0] == OI_SBC_SYNCWORD || data[0] == OI_SBC_ENHANCED_SYNCWORD); in OI_SBC_ReadHeader()
156 OI_ASSERT(common->frameInfo.nrof_subbands == 4 && in OI_SBC_ReadScalefactors()
Ddecoder-sbc.c162 OI_ASSERT(context->bufferedBlocks >= decode_block_count); in DecodeBody()
469 OI_ASSERT((nrof_subbands >> 3u) <= 1u); in OI_SBC_ReadSamplesJoint()
Dbitalloc.c54 OI_ASSERT(false); in OI_SBC_MaxBitpool()
/system/bt/embdrv/sbc/decoder/include/
Doi_bitstream.h80 OI_ASSERT((bits) <= 16); \
81 OI_ASSERT((bitPtr) < 16); \
82 OI_ASSERT((bitPtr) >= 8); \
92 OI_ASSERT(((bits) == 0) || ((result) < (1u << (bits)))); \
Doi_assert.h51 #define OI_ASSERT(condition) \ macro
61 #define OI_ASSERT(condition)