Home
last modified time | relevance | path

Searched refs:bs (Results 1 – 14 of 14) sorted by relevance

/hal_espressif-3.7.0/components/bt/host/bluedroid/external/sbc/decoder/srce/
Dbitstream-decode.c43 PRIVATE void OI_BITSTREAM_ReadInit(OI_BITSTREAM *bs, in OI_BITSTREAM_ReadInit() argument
46 bs->value = ((OI_INT32)buffer[0] << 16) | ((OI_INT32)buffer[1] << 8) | (buffer[2]); in OI_BITSTREAM_ReadInit()
47 bs->ptr.r = buffer + 3; in OI_BITSTREAM_ReadInit()
48 bs->bitPtr = 8; in OI_BITSTREAM_ReadInit()
51 PRIVATE OI_UINT32 OI_BITSTREAM_ReadUINT(OI_BITSTREAM *bs, OI_UINT bits) in OI_BITSTREAM_ReadUINT() argument
55 OI_BITSTREAM_READUINT(result, bits, bs->ptr.r, bs->value, bs->bitPtr); in OI_BITSTREAM_ReadUINT()
60 PRIVATE OI_UINT8 OI_BITSTREAM_ReadUINT4Aligned(OI_BITSTREAM *bs) in OI_BITSTREAM_ReadUINT4Aligned() argument
64 OI_ASSERT(bs->bitPtr < 16); in OI_BITSTREAM_ReadUINT4Aligned()
65 OI_ASSERT(bs->bitPtr % 4 == 0); in OI_BITSTREAM_ReadUINT4Aligned()
67 if (bs->bitPtr == 8) { in OI_BITSTREAM_ReadUINT4Aligned()
[all …]
Ddecoder-private.c169 OI_BITSTREAM *bs) in OI_SBC_ReadScalefactors() argument
190 OI_BITSTREAM_ReadInit(bs, b); in OI_SBC_ReadScalefactors()
205 OI_BITSTREAM_ReadInit(bs, b); in OI_SBC_ReadScalefactors()
206 *scale_factor++ = OI_BITSTREAM_ReadUINT4Aligned(bs); in OI_SBC_ReadScalefactors()
Ddecoder-sbc.c109 OI_BITSTREAM bs; in DecodeBody() local
129 OI_SBC_ReadScalefactors(&context->common, bodyData, &bs); in DecodeBody()
136 OI_SBC_ReadSamplesJoint(context, &bs); in DecodeBody()
138 OI_SBC_ReadSamples(context, &bs); in DecodeBody()
/hal_espressif-3.7.0/components/bootloader/subproject/main/
Dbootloader_start.c16 static int select_partition_number(bootloader_state_t *bs);
17 static int selected_boot_partition(const bootloader_state_t *bs);
50 bootloader_state_t bs = {0}; in call_start_cpu0() local
51 int boot_index = select_partition_number(&bs); in call_start_cpu0()
57 bootloader_utility_load_boot_image(&bs, boot_index); in call_start_cpu0()
61 static int select_partition_number(bootloader_state_t *bs) in select_partition_number() argument
64 if (!bootloader_utility_load_partition_table(bs)) { in select_partition_number()
70 return selected_boot_partition(bs); in select_partition_number()
77 static int selected_boot_partition(const bootloader_state_t *bs) in selected_boot_partition() argument
79 int boot_index = bootloader_utility_get_selected_boot_partition(bs); in selected_boot_partition()
[all …]
/hal_espressif-3.7.0/components/bt/host/bluedroid/external/sbc/decoder/include/
Doi_bitstream.h43 INLINE void OI_BITSTREAM_ReadInit(OI_BITSTREAM *bs, const OI_BYTE *buffer);
45 INLINE void OI_BITSTREAM_WriteInit(OI_BITSTREAM *bs, OI_BYTE *buffer);
47 INLINE OI_UINT32 OI_BITSTREAM_ReadUINT(OI_BITSTREAM *bs, OI_UINT bits);
49 INLINE OI_UINT8 OI_BITSTREAM_ReadUINT4Aligned(OI_BITSTREAM *bs);
51 INLINE OI_UINT8 OI_BITSTREAM_ReadUINT8Aligned(OI_BITSTREAM *bs);
53 INLINE void OI_BITSTREAM_WriteUINT(OI_BITSTREAM *bs,
60 PRIVATE void OI_BITSTREAM_WriteUINT8Aligned(OI_BITSTREAM *bs,
66 PRIVATE void OI_BITSTREAM_Write2xUINT4Aligned(OI_BITSTREAM *bs,
74 #define OI_BITSTREAM_GetWritePtr(bs) ((bs)->ptr.w - 3) argument
75 #define OI_BITSTREAM_GetReadPtr(bs) ((bs)->ptr.r - 3) argument
Doi_codec_sbc_private.h211 …d OI_SBC_ReadScalefactors(OI_CODEC_SBC_COMMON_CONTEXT *common, const OI_BYTE *b, OI_BITSTREAM *bs);
/hal_espressif-3.7.0/components/bootloader_support/src/
Dbootloader_utility.c156 bool bootloader_utility_load_partition_table(bootloader_state_t *bs) in bootloader_utility_load_partition_table() argument
190 bs->factory = partition->pos; in bootloader_utility_load_partition_table()
194 bs->test = partition->pos; in bootloader_utility_load_partition_table()
200 bs->ota[partition->subtype & PART_SUBTYPE_OTA_MASK] = partition->pos; in bootloader_utility_load_partition_table()
201 ++bs->app_count; in bootloader_utility_load_partition_table()
212 bs->ota_info = partition->pos; in bootloader_utility_load_partition_table()
252 static esp_partition_pos_t index_to_partition(const bootloader_state_t *bs, int index) in index_to_partition() argument
255 return bs->factory; in index_to_partition()
259 return bs->test; in index_to_partition()
262 if (index >= 0 && index < MAX_OTA_SLOTS && index < (int)bs->app_count) { in index_to_partition()
[all …]
/hal_espressif-3.7.0/components/bootloader_support/private_include/
Dbootloader_utility.h21 bool bootloader_utility_load_partition_table(bootloader_state_t* bs);
34 int bootloader_utility_get_selected_boot_partition(const bootloader_state_t *bs);
48 __attribute__((__noreturn__)) void bootloader_utility_load_boot_image(const bootloader_state_t *bs,…
Dbootloader_config.h34 bool flash_encrypt(bootloader_state_t *bs);
/hal_espressif-3.7.0/components/spi_flash/test_apps/flash_encryption/
Dencrypt_flash.sh9 dd if=/dev/zero of=key.bin bs=1 count=32
12 echo -ne \\xFF | dd conv=notrunc bs=1 count=1 of=key.bin
/hal_espressif-3.7.0/components/soc/esp32/include/soc/
Dtwai_struct.h54 uint32_t bs: 1; /* SR.7 Bus Status */ member
/hal_espressif-3.7.0/components/soc/esp32c3/include/soc/
Dtwai_struct.h54 uint32_t bs: 1; /* SR.7 Bus Status */ member
/hal_espressif-3.7.0/components/soc/esp32s3/include/soc/
Dtwai_struct.h55 uint32_t bs: 1; /* SR.7 Bus Status */ member
/hal_espressif-3.7.0/components/soc/esp32s2/include/soc/
Dtwai_struct.h54 uint32_t bs: 1; /* SR.7 Bus Status */ member