/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/ |
A D | jdinput.c | 251 cinfo->block_size = 1; in initial_setup() 256 cinfo->block_size = 2; in initial_setup() 261 cinfo->block_size = 3; in initial_setup() 266 cinfo->block_size = 4; in initial_setup() 271 cinfo->block_size = 5; in initial_setup() 276 cinfo->block_size = 6; in initial_setup() 281 cinfo->block_size = 7; in initial_setup() 286 cinfo->block_size = 8; in initial_setup() 291 cinfo->block_size = 9; in initial_setup() 296 cinfo->block_size = 10; in initial_setup() [all …]
|
A D | jcmaster.c | 70 cinfo->jpeg_width = cinfo->image_width * cinfo->block_size; in jpeg_calc_jpeg_dimensions() 215 cinfo->block_size = cinfo->min_DCT_h_scaled_size; in jpeg_calc_trans_dimensions() 232 if (cinfo->block_size < 1 || cinfo->block_size > 16) in initial_setup() 233 ERREXIT2(cinfo, JERR_BAD_DCTSIZE, cinfo->block_size, cinfo->block_size); in initial_setup() 236 switch (cinfo->block_size) { in initial_setup() 247 cinfo->lim_Se = cinfo->block_size < DCTSIZE ? in initial_setup() 248 cinfo->block_size * cinfo->block_size - 1 : DCTSIZE2-1; in initial_setup() 345 (long) (cinfo->max_v_samp_factor * cinfo->block_size)); in initial_setup() 559 cinfo->Se = cinfo->block_size * cinfo->block_size - 1; in select_scan_parameters() 820 if (cinfo->block_size < DCTSIZE) in jinit_c_master_control() [all …]
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | cmac.c | 141 size_t olen, block_size; in cmac_generate_subkeys() local 145 block_size = ctx->cipher_info->block_size; in cmac_generate_subkeys() 248 size_t n, j, olen, block_size; in mbedtls_cipher_cmac_update() local 255 block_size = ctx->cipher_info->block_size; in mbedtls_cipher_cmac_update() 281 n = ( ilen + block_size - 1 ) / block_size; in mbedtls_cipher_cmac_update() 293 ilen -= block_size; in mbedtls_cipher_cmac_update() 294 input += block_size; in mbedtls_cipher_cmac_update() 319 size_t olen, block_size; in mbedtls_cipher_cmac_finish() local 326 block_size = ctx->cipher_info->block_size; in mbedtls_cipher_cmac_finish() 817 ( ret = memcmp( K2, &subkeys[block_size], block_size ) ) != 0 ) in cmac_test_subkeys() [all …]
|
A D | md.c | 193 2 * ctx->md_info->block_size ); in mbedtls_md_free() 232 ctx->hmac_ctx = mbedtls_calloc( 2, md_info->block_size ); in mbedtls_md_setup() 329 if( keylen > (size_t) ctx->md_info->block_size ) in mbedtls_md_hmac_starts() 343 opad = (unsigned char *) ctx->hmac_ctx + ctx->md_info->block_size; in mbedtls_md_hmac_starts() 345 memset( ipad, 0x36, ctx->md_info->block_size ); in mbedtls_md_hmac_starts() 346 memset( opad, 0x5C, ctx->md_info->block_size ); in mbedtls_md_hmac_starts() 357 ctx->md_info->block_size ) ) != 0 ) in mbedtls_md_hmac_starts() 383 opad = (unsigned char *) ctx->hmac_ctx + ctx->md_info->block_size; in mbedtls_md_hmac_finish() 390 ctx->md_info->block_size ) ) != 0 ) in mbedtls_md_hmac_finish() 411 ctx->md_info->block_size ) ); in mbedtls_md_hmac_reset()
|
A D | cipher.c | 353 size_t block_size; in mbedtls_cipher_update() local 363 block_size = mbedtls_cipher_get_block_size( ctx ); in mbedtls_cipher_update() 367 if( ilen != block_size ) in mbedtls_cipher_update() 399 if ( 0 == block_size ) in mbedtls_cipher_update() 437 copy_len = block_size - ctx->unprocessed_len; in mbedtls_cipher_update() 443 ctx->operation, block_size, ctx->iv, in mbedtls_cipher_update() 449 *olen += block_size; in mbedtls_cipher_update() 450 output += block_size; in mbedtls_cipher_update() 462 if( 0 == block_size ) in mbedtls_cipher_update() 471 copy_len = ilen % block_size; in mbedtls_cipher_update() [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/reference/ |
A D | space_to_depth.h | 46 const int32 block_size = op_params.block_size; in SpaceToDepth() local 48 TFLITE_DCHECK_EQ(input_width, output_width * block_size); in SpaceToDepth() 49 TFLITE_DCHECK_EQ(input_height, output_height * block_size); in SpaceToDepth() 50 TFLITE_DCHECK_EQ(input_depth * block_size * block_size, output_depth); in SpaceToDepth() 58 in_d + ((in_h % block_size) * block_size + in_w % block_size) * in SpaceToDepth() 60 const int out_w = in_w / block_size; in SpaceToDepth() 61 const int out_h = in_h / block_size; in SpaceToDepth()
|
A D | depth_to_space.h | 46 const int32_t block_size = op_params.block_size; in DepthToSpace() local 48 TFLITE_DCHECK_EQ(input_width * block_size, output_width); in DepthToSpace() 49 TFLITE_DCHECK_EQ(input_height * block_size, output_height); in DepthToSpace() 50 TFLITE_DCHECK_EQ(input_depth, output_depth * block_size * block_size); in DepthToSpace() 58 out_d + ((out_h % block_size) * block_size + out_w % block_size) * in DepthToSpace() 61 const int in_w = out_w / block_size; in DepthToSpace() 62 const int in_h = out_h / block_size; in DepthToSpace()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/ |
A D | depth_to_space.cc | 56 const int block_size = params->block_size; in CalculateOpData() local 57 TF_LITE_ENSURE(context, block_size > 0); in CalculateOpData() 61 int output_height = input_height * block_size; in CalculateOpData() 62 int output_width = input_width * block_size; in CalculateOpData() 63 int output_channels = input_channels / block_size / block_size; in CalculateOpData() 65 TF_LITE_ENSURE_EQ(context, input_height, output_height / block_size); in CalculateOpData() 66 TF_LITE_ENSURE_EQ(context, input_width, output_width / block_size); in CalculateOpData() 68 output_channels * block_size * block_size); in CalculateOpData() 103 op_params.block_size = static_cast<int32_t>(params->block_size); in Eval()
|
/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | vfs_lfs_superblock.py | 13 def __init__(self, block_size, data): argument 14 self.block_size = block_size 18 addr = block * self.block_size + off 24 return len(self.data) // self.block_size 26 return self.block_size
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/cmsis/CMSIS/NN/Source/NNSupportFunctions/ |
A D | arm_q7_to_q15_with_offset.c | 42 void arm_q7_to_q15_with_offset(const q7_t *src, q15_t *dst, uint32_t block_size, q15_t offset) in arm_q7_to_q15_with_offset() argument 50 block_cnt = block_size / 8; in arm_q7_to_q15_with_offset() 62 block_cnt = block_size & 0x7; in arm_q7_to_q15_with_offset() 73 block_cnt = block_size >> 2; in arm_q7_to_q15_with_offset() 95 block_cnt = block_size % 0x4; in arm_q7_to_q15_with_offset() 100 block_cnt = block_size; in arm_q7_to_q15_with_offset()
|
A D | arm_nn_add_q7.c | 43 void arm_nn_add_q7(const q7_t *input, q31_t *output, uint32_t block_size) in arm_nn_add_q7() argument 49 block_count = block_size >> 2U; in arm_nn_add_q7() 64 block_count = block_size & 0x3; in arm_nn_add_q7() 66 block_count = block_size; in arm_nn_add_q7()
|
A D | arm_q7_to_q15_reordered_with_offset.c | 50 void arm_q7_to_q15_reordered_with_offset(const q7_t *src, q15_t *dst, uint32_t block_size, q15_t of… in arm_q7_to_q15_reordered_with_offset() argument 61 block_cnt = block_size >> 2u; in arm_q7_to_q15_reordered_with_offset() 80 block_cnt = block_size % 0x4u; in arm_q7_to_q15_reordered_with_offset() 92 (void)block_size; in arm_q7_to_q15_reordered_with_offset()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/tools/make/downloads/cmsis/CMSIS/NN/Source/NNSupportFunctions/ |
A D | arm_q7_to_q15_with_offset.c | 42 void arm_q7_to_q15_with_offset(const q7_t *src, q15_t *dst, uint32_t block_size, q15_t offset) in arm_q7_to_q15_with_offset() argument 50 block_cnt = block_size / 8; in arm_q7_to_q15_with_offset() 62 block_cnt = block_size & 0x7; in arm_q7_to_q15_with_offset() 73 block_cnt = block_size >> 2; in arm_q7_to_q15_with_offset() 95 block_cnt = block_size % 0x4; in arm_q7_to_q15_with_offset() 100 block_cnt = block_size; in arm_q7_to_q15_with_offset()
|
A D | arm_nn_add_q7.c | 43 void arm_nn_add_q7(const q7_t *input, q31_t *output, uint32_t block_size) in arm_nn_add_q7() argument 49 block_count = block_size >> 2U; in arm_nn_add_q7() 64 block_count = block_size & 0x3; in arm_nn_add_q7() 66 block_count = block_size; in arm_nn_add_q7()
|
A D | arm_q7_to_q15_reordered_with_offset.c | 50 void arm_q7_to_q15_reordered_with_offset(const q7_t *src, q15_t *dst, uint32_t block_size, q15_t of… in arm_q7_to_q15_reordered_with_offset() argument 61 block_cnt = block_size >> 2u; in arm_q7_to_q15_reordered_with_offset() 80 block_cnt = block_size % 0x4u; in arm_q7_to_q15_reordered_with_offset() 92 (void)block_size; in arm_q7_to_q15_reordered_with_offset()
|
/AliOS-Things-master/solutions/eduk1_demo/k1_apps/greedySnake/ |
A D | greedySnake.md | 66 int16_t block_size; // 网格大小 在本实验的实现中 蛇身和食物的大小被统一约束进网格的大小中 90 snake_game.pos_x_max = (map.border_right - map.border_left) / map.block_size; 91 snake_game.pos_y_max = (map.border_botton - map.border_top) / map.block_size; 170 map.border_left + snake.XPos[i] * map.block_size, 171 map.border_top + snake.YPos[i] * map.block_size, 179 map.border_left + snake.XPos[i] * map.block_size, 180 map.border_top + snake.YPos[i] * map.block_size, 186 map.border_left + snake.XPos[i] * map.block_size, 187 map.border_top + snake.YPos[i] * map.block_size, 208 map.border_left + food.x * map.block_size, [all …]
|
A D | greedySnake.c | 41 int16_t block_size; member 184 (map.border_right - map.border_left) / map.block_size; in greedySnake_init() 186 (map.border_botton - map.border_top) / map.block_size; in greedySnake_init() 218 OLED_Icon_Draw(map.border_left + snake.XPos[i] * map.block_size, in draw_snake() 219 map.border_top + snake.YPos[i] * map.block_size, in draw_snake() 222 OLED_Icon_Draw(map.border_left + snake.XPos[i] * map.block_size, in draw_snake() 223 map.border_top + snake.YPos[i] * map.block_size, in draw_snake() 226 OLED_Icon_Draw(map.border_left + snake.XPos[i] * map.block_size, in draw_snake() 227 map.border_top + snake.YPos[i] * map.block_size, in draw_snake() 254 OLED_Icon_Draw(map.border_left + food.x * map.block_size, in draw_food() [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/cmsis/CMSIS/NN/Source/BasicMathFunctions/ |
A D | arm_elementwise_mul_s8.c | 60 const uint32_t block_size) in arm_elementwise_mul_s8() argument 66 loop_count = (block_size + 3) / 4; in arm_elementwise_mul_s8() 67 uint32_t num_elements = block_size; in arm_elementwise_mul_s8() 110 loop_count = block_size >> 2; in arm_elementwise_mul_s8() 171 loop_count = block_size & 0x3; in arm_elementwise_mul_s8() 173 loop_count = block_size; in arm_elementwise_mul_s8()
|
A D | arm_elementwise_add_s8.c | 85 const uint32_t block_size) in arm_elementwise_add_s8() argument 88 int32_t count = (int32_t)block_size; in arm_elementwise_add_s8() 140 loop_count = block_size >> 2; in arm_elementwise_add_s8() 217 loop_count = block_size & 0x3; in arm_elementwise_add_s8() 219 loop_count = block_size; in arm_elementwise_add_s8()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/tools/make/downloads/cmsis/CMSIS/NN/Source/BasicMathFunctions/ |
A D | arm_elementwise_mul_s8.c | 60 const uint32_t block_size) in arm_elementwise_mul_s8() argument 66 loop_count = (block_size + 3) / 4; in arm_elementwise_mul_s8() 67 uint32_t num_elements = block_size; in arm_elementwise_mul_s8() 110 loop_count = block_size >> 2; in arm_elementwise_mul_s8() 171 loop_count = block_size & 0x3; in arm_elementwise_mul_s8() 173 loop_count = block_size; in arm_elementwise_mul_s8()
|
A D | arm_elementwise_add_s8.c | 85 const uint32_t block_size) in arm_elementwise_add_s8() argument 88 int32_t count = (int32_t)block_size; in arm_elementwise_add_s8() 140 loop_count = block_size >> 2; in arm_elementwise_add_s8() 217 loop_count = block_size & 0x3; in arm_elementwise_add_s8() 219 loop_count = block_size; in arm_elementwise_add_s8()
|
/AliOS-Things-master/components/ota/hal/ |
A D | ota_hal_plat.c | 40 unsigned int block_size = 0; in ota_hal_init() local 42 block_size = (len > OTA_FLASH_BLOCK_SIZE) ? OTA_FLASH_BLOCK_SIZE : len; in ota_hal_init() 43 ret = aos_hal_flash_erase(boot_part, ota_receive_total_len + off, block_size); in ota_hal_init() 53 off += block_size; in ota_hal_init() 54 len -= block_size; in ota_hal_init()
|
A D | ota_hal_vfs_plat.c | 37 unsigned int block_size = 0; in ota_hal_init() local 72 block_size = (len > OTA_FLASH_BLOCK_SIZE) ? OTA_FLASH_BLOCK_SIZE : len; in ota_hal_init() 80 erase_info.length = block_size; in ota_hal_init() 87 off += block_size; in ota_hal_init() 88 len -= block_size; in ota_hal_init()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/tools/make/downloads/cmsis/CMSIS/NN/Include/ |
A D | arm_nnsupportfunctions.h | 110 void arm_nn_add_q7(const q7_t *input, q31_t *output, uint32_t block_size); 138 void arm_q7_to_q15_with_offset(const q7_t *src, q15_t *dst, uint32_t block_size, q15_t offset); 153 void arm_q7_to_q15_reordered_with_offset(const q7_t *src, q15_t *dst, uint32_t block_size, q15_t of… 170 void arm_nn_accumulate_q7_to_q15(q15_t *dst, const q7_t *src, uint32_t block_size); 548 __STATIC_FORCEINLINE void arm_memset_q7(q7_t *dst, const q7_t val, uint32_t block_size) in arm_memset_q7() argument 558 : [ cnt ] "r"(block_size), [ set_val ] "r"(val) in arm_memset_q7() 561 memset(dst, val, block_size); in arm_memset_q7() 808 …RCEINLINE void arm_memcpy_q7(q7_t *__RESTRICT dst, const q7_t *__RESTRICT src, uint32_t block_size) in arm_memcpy_q7() argument 818 : [ cnt ] "r"(block_size) in arm_memcpy_q7() 821 memcpy(dst, src, block_size); in arm_memcpy_q7()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/cmsis/CMSIS/NN/Include/ |
A D | arm_nnsupportfunctions.h | 110 void arm_nn_add_q7(const q7_t *input, q31_t *output, uint32_t block_size); 138 void arm_q7_to_q15_with_offset(const q7_t *src, q15_t *dst, uint32_t block_size, q15_t offset); 153 void arm_q7_to_q15_reordered_with_offset(const q7_t *src, q15_t *dst, uint32_t block_size, q15_t of… 170 void arm_nn_accumulate_q7_to_q15(q15_t *dst, const q7_t *src, uint32_t block_size); 548 __STATIC_FORCEINLINE void arm_memset_q7(q7_t *dst, const q7_t val, uint32_t block_size) in arm_memset_q7() argument 558 : [ cnt ] "r"(block_size), [ set_val ] "r"(val) in arm_memset_q7() 561 memset(dst, val, block_size); in arm_memset_q7() 808 …RCEINLINE void arm_memcpy_q7(q7_t *__RESTRICT dst, const q7_t *__RESTRICT src, uint32_t block_size) in arm_memcpy_q7() argument 818 : [ cnt ] "r"(block_size) in arm_memcpy_q7() 821 memcpy(dst, src, block_size); in arm_memcpy_q7()
|