/system/bt/embdrv/sbc/decoder/srce/ |
H A D | bitalloc-sbc.c | 34 static void dualBitAllocation(OI_CODEC_SBC_COMMON_CONTEXT* common) { argument 42 bitcountL = computeBitneed(common, bitneedsL.uint8, 0, &bitpoolPreferenceL); 43 bitcountR = computeBitneed(common, bitneedsR.uint8, 1, &bitpoolPreferenceR); 45 oneChannelBitAllocation(common, &bitneedsL, 0, bitcountL); 46 oneChannelBitAllocation(common, &bitneedsR, 1, bitcountR); 49 static void stereoBitAllocation(OI_CODEC_SBC_COMMON_CONTEXT* common) { argument 50 const OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; 59 bitcount = computeBitneed(common, &bitneeds.uint8[0], 0, &bitpoolPreference); 60 bitcount += computeBitneed(common, &bitneeds.uint8[nrof_subbands], 1, 65 bitadjust = adjustToFitBitpool(common 100 OI_SBC_ComputeBitAllocation(OI_CODEC_SBC_COMMON_CONTEXT* common) argument 119 OI_CODEC_SBC_GetMaxBitneed(OI_CODEC_SBC_COMMON_CONTEXT* common) argument 152 OI_CODEC_SBC_CalculatePcmBytes(OI_CODEC_SBC_COMMON_CONTEXT* common) argument [all...] |
H A D | alloc.c | 29 PRIVATE OI_STATUS OI_CODEC_SBC_Alloc(OI_CODEC_SBC_COMMON_CONTEXT* common, argument 46 common->maxChannels = maxChannels; 47 common->pcmStride = pcmStride; 52 maxChannels * sizeof(common->subdata[0]) * SBC_MAX_BANDS * SBC_MAX_BLOCKS; 59 (sizeof(common->filterBuffer[0][0]) * SBC_MAX_BANDS * maxChannels); 63 common->filterBufferLen = filterBufferCount * SBC_MAX_BANDS; 66 common->subdata = (int32_t*)codecData; 74 common->filterBufferLen * sizeof(common->filterBuffer[0][0]); 75 common [all...] |
H A D | decoder-sbc.c | 69 context->common.frameInfo.enhanced = 87 context->common.frameInfo.enhanced = FALSE; 102 OI_UINT frameSamples = context->common.frameInfo.nrof_blocks * 103 context->common.frameInfo.nrof_subbands; 111 (sizeof(int16_t) * frameSamples * context->common.pcmStride) && 118 context->common.frameInfo.nrof_subbands * 119 context->common.pcmStride) { 127 OI_SBC_ReadScalefactors(&context->common, bodyData, &bs); 130 OI_SBC_ComputeBitAllocation(&context->common); 133 if (context->common 466 OI_CODEC_SBC_COMMON_CONTEXT* common = &context->common; local [all...] |
H A D | decoder-oina.c | 73 context->common.frameInfo.enhanced = enhanced; 75 context->common.frameInfo.enhanced = FALSE; 77 context->common.frameInfo.freqIndex = frequency; 78 context->common.frameInfo.mode = mode; 79 context->common.frameInfo.subbands = subbands; 80 context->common.frameInfo.blocks = blocks; 81 context->common.frameInfo.alloc = alloc; 82 context->common.frameInfo.bitpool = maxBitpool; 84 OI_SBC_ExpandFrameFields(&context->common.frameInfo); 86 if (context->common [all...] |
H A D | decoder-private.c | 66 status = OI_CODEC_SBC_Alloc(&context->common, decoderData, decoderDataBytes, 73 context->common.codecInfo = OI_Codec_Copyright; 74 context->common.maxBitneed = 0; 76 OI_SBC_ExpandFrameFields(&context->common.frameInfo); 88 INLINE void OI_SBC_ReadHeader(OI_CODEC_SBC_COMMON_CONTEXT* common, argument 90 OI_CODEC_SBC_FRAME_INFO* frame = &common->frameInfo; 131 PRIVATE void OI_SBC_ReadScalefactors(OI_CODEC_SBC_COMMON_CONTEXT* common, argument 133 OI_UINT i = common->frameInfo.nrof_subbands * common->frameInfo.nrof_channels; 134 int8_t* scale_factor = common 180 OI_CODEC_SBC_COMMON_CONTEXT* common = &context->common; local [all...] |
H A D | synthesis-sbc.c | 281 OI_UINT nrof_channels = context->common.frameInfo.nrof_channels; 282 OI_UINT pcmStrideShift = context->common.pcmStride == 1 ? 0 : 1; 283 OI_UINT offset = context->common.filterBufferOffset; 284 int32_t* s = context->common.subdata + 8 * nrof_channels * blkstart; 290 context->common.filterBuffer[0] + context->common.filterBufferLen - 292 context->common.filterBuffer[0]); 295 context->common.filterBuffer[1] + context->common.filterBufferLen - 297 context->common [all...] |
H A D | bitalloc.c | 124 OI_UINT computeBitneed(OI_CODEC_SBC_COMMON_CONTEXT* common, uint8_t* bitneeds, argument 134 const OI_UINT nrof_subbands = common->frameInfo.nrof_subbands; 136 int8_t* scale_factor = &common->scale_factor[ch ? nrof_subbands : 0]; 141 if (common->frameInfo.alloc == SBC_SNR) { 156 offset = offset4[common->frameInfo.freqIndex]; 158 offset = offset8[common->frameInfo.freqIndex]; 179 common->maxBitneed = OI_MAX(maxBits, common->maxBitneed); 332 void oneChannelBitAllocation(OI_CODEC_SBC_COMMON_CONTEXT* common, argument 335 const uint8_t nrof_subbands = common 367 monoBitAllocation(OI_CODEC_SBC_COMMON_CONTEXT* common) argument [all...] |
/system/bt/audio_a2dp_hw/src/ |
H A D | audio_a2dp_hw.cc | 124 struct a2dp_stream_common common; member in struct:a2dp_stream_out 131 struct a2dp_stream_common common; member in struct:a2dp_stream_in 160 static void a2dp_open_ctrl_path(struct a2dp_stream_common* common); 340 static int a2dp_ctrl_receive(struct a2dp_stream_common* common, void* buffer, argument 346 OSI_NO_INTR(ret = recv(common->ctrl_fd, buffer, length, MSG_NOSIGNAL)); 365 skt_disconnect(common->ctrl_fd); 366 common->ctrl_fd = AUDIO_SKT_DISCONNECTED; 371 // Sends control info for stream |common|. The data to send is stored in 374 static int a2dp_ctrl_send(struct a2dp_stream_common* common, const void* buffer, argument 383 OSI_NO_INTR(sent = send(common 413 a2dp_command(struct a2dp_stream_common* common, tA2DP_CTRL_CMD cmd) argument 455 check_a2dp_ready(struct a2dp_stream_common* common) argument 463 a2dp_read_input_audio_config(struct a2dp_stream_common* common) argument 509 a2dp_read_output_audio_config( struct a2dp_stream_common* common, btav_a2dp_codec_config_t* codec_config, btav_a2dp_codec_config_t* codec_capability, bool update_stream_config) argument 623 a2dp_write_output_audio_config(struct a2dp_stream_common* common) argument 711 a2dp_open_ctrl_path(struct a2dp_stream_common* common) argument 741 a2dp_stream_common_init(struct a2dp_stream_common* common) argument 754 a2dp_stream_common_destroy(struct a2dp_stream_common* common) argument 761 start_audio_datapath(struct a2dp_stream_common* common) argument 792 stop_audio_datapath(struct a2dp_stream_common* common) argument 816 suspend_audio_datapath(struct a2dp_stream_common* common, bool standby) argument [all...] |
/system/chre/apps/imu_cal/ |
H A D | imu_cal.mk | 45 COMMON_SRCS += $(ALGOS_DIR)/calibration/common/calibration_data.c 46 COMMON_SRCS += $(ALGOS_DIR)/calibration/common/diversity_checker.c 47 COMMON_SRCS += $(ALGOS_DIR)/calibration/common/sphere_fit_calibration.c 53 COMMON_SRCS += $(ALGOS_DIR)/common/math/levenberg_marquardt.c 54 COMMON_SRCS += $(ALGOS_DIR)/common/math/mat.c 55 COMMON_SRCS += $(ALGOS_DIR)/common/math/quat.c 56 COMMON_SRCS += $(ALGOS_DIR)/common/math/vec.c
|
/system/update_engine/scripts/update_payload/ |
H A D | block_tracer.py | 19 import common namespace 57 for op, op_name in common.OperationIter(operations, base_name, 63 for dst_ex, dst_ex_name in common.ExtentIter(op.dst_extents, 73 (block, dst_ex_name, common.FormatExtent(dst_ex), 82 if op.type != common.OpType.MOVE: 86 for src_ex, src_ex_name in common.ExtentIter(op.src_extents, 92 (src_ex_name, common.FormatExtent(src_ex), block))
|
H A D | applier.py | 27 import common namespace 68 (name, common.FormatSha256(actual_hash), 69 common.FormatSha256(expected_hash))) 95 if ex.start_block == common.PSEUDO_EXTENT_MARKER: 123 for ex, ex_name in common.ExtentIter(extents, base_name): 129 if ex.start_block != common.PSEUDO_EXTENT_MARKER: 163 for ex, ex_name in common.ExtentIter(extents, base_name): 167 is_pseudo = ex.start_block == common.PSEUDO_EXTENT_MARKER 236 if op.type == common.OpType.REPLACE_BZ: 242 for ex, ex_name in common [all...] |
H A D | checker.py | 24 import common namespace 463 if len(signed_data) != len(common.SIG_ASN1_HEADER) + 32: 467 if not signed_data.startswith(common.SIG_ASN1_HEADER): 471 signed_hash = signed_data[len(common.SIG_ASN1_HEADER):] 475 (sig_name, common.FormatSha256(signed_hash), 476 common.FormatSha256(actual_hash))) 581 convert=common.FormatSha256) 585 convert=common.FormatSha256) 609 convert=common.FormatSha256) 617 convert=common [all...] |
H A D | checker_unittest.py | 24 import common namespace 32 'REPLACE': common.OpType.REPLACE, 33 'REPLACE_BZ': common.OpType.REPLACE_BZ, 34 'MOVE': common.OpType.MOVE, 35 'BSDIFF': common.OpType.BSDIFF, 36 'SOURCE_COPY': common.OpType.SOURCE_COPY, 37 'SOURCE_BSDIFF': common.OpType.SOURCE_BSDIFF, 38 'ZERO': common.OpType.ZERO, 39 'DISCARD': common.OpType.DISCARD, 40 'REPLACE_XZ': common [all...] |
/system/tools/hidl/c2hal/test/ |
H A D | simple.h | 38 struct hw_device_t common; member in struct:simple_t 79 return device->common.close(&device->common);
|
/system/chre/chre_api/include/chre_api/ |
H A D | chre.h | 31 #include <chre/common.h> 46 * API, documented herein, is the common interface exposed to nanoapps for any
|
/system/nvram/hal/ |
H A D | testing_module.c | 30 .common = {.tag = HARDWARE_MODULE_TAG,
|
/system/chre/platform/shared/idl/ |
H A D | update.sh | 8 flatc --cpp -o ../../../host/common/include/chre_host/ --scoped-enums \
|
/system/media/audio/include/system/ |
H A D | sound_trigger.h | 124 struct sound_trigger_sound_model common; member in struct:sound_trigger_phrase_sound_model 134 struct sound_trigger_sound_model common; member in struct:sound_trigger_generic_sound_model 193 struct sound_trigger_recognition_event common; member in struct:sound_trigger_phrase_recognition_event 199 struct sound_trigger_recognition_event common; member in struct:sound_trigger_generic_recognition_event
|
/system/chre/ |
H A D | Makefile | 56 HEXAGON_CFLAGS += -I$(SLPI_PREFIX)/Sensors/common/idl/inc 57 HEXAGON_CFLAGS += -I$(SLPI_PREFIX)/Sensors/common/inc 58 HEXAGON_CFLAGS += -I$(SLPI_PREFIX)/Sensors/common/smr/inc 59 HEXAGON_CFLAGS += -I$(SLPI_PREFIX)/Sensors/common/util/mathtools/inc 79 include build/common.mk
|
/system/nfc/halimpl/pn54x/ |
H A D | nfc_nci.c | 193 dev->nci_device.common.tag = HARDWARE_DEVICE_TAG; 194 dev->nci_device.common.version = 196 dev->nci_device.common.module = (struct hw_module_t*)module; 197 dev->nci_device.common.close = nfc_close; 224 .common =
|
/system/core/trusty/gatekeeper/ |
H A D | module.cpp | 46 .common = {
|
/system/core/trusty/keymaster/ |
H A D | module.cpp | 49 .common =
|
/system/extras/multinetwork/ |
H A D | Android.mk | 16 LOCAL_SRC_FILES := dnschk.cpp common.cpp 28 LOCAL_SRC_FILES := httpurl.cpp common.cpp
|
/system/libufdt/tests/ |
H A D | gen_test.sh | 29 source ${SCRIPT_DIR}/common.sh
|
H A D | run_tests.sh | 16 # Include some functions from common.sh. 18 source ${SCRIPT_DIR}/common.sh
|