/third_party/ffmpeg/libavcodec/ |
H A D | vc1_loopfilter.c | 109 int block_count = CONFIG_GRAY && (s->avctx->flags & AV_CODEC_FLAG_GRAY) ? 4 : 6; in ff_vc1_i_overlap_filter() local 126 for (i = 0; i < block_count; i++) { in ff_vc1_i_overlap_filter() 142 for (i = 0; i < block_count; i++) { in ff_vc1_i_overlap_filter() 165 int block_count = CONFIG_GRAY && (s->avctx->flags & AV_CODEC_FLAG_GRAY) ? 4 : 6; in ff_vc1_p_overlap_filter() local 174 for (i = 0; i < block_count; i++) { in ff_vc1_p_overlap_filter() 187 for (i = 0; i < block_count; i++) { in ff_vc1_p_overlap_filter() 274 int block_count = CONFIG_GRAY && (s->avctx->flags & AV_CODEC_FLAG_GRAY) ? 4 : 6; in ff_vc1_i_loop_filter() local 293 for (i = 0; i < block_count; i++) in ff_vc1_i_loop_filter() 299 for (i = 0; i < block_count; i++) in ff_vc1_i_loop_filter() 308 for (i = 0; i < block_count; in ff_vc1_i_loop_filter() 473 int block_count = CONFIG_GRAY && (s->avctx->flags & AV_CODEC_FLAG_GRAY) ? 4 : 6; ff_vc1_p_loop_filter() local 912 int block_count = CONFIG_GRAY && (s->avctx->flags & AV_CODEC_FLAG_GRAY) ? 4 : 6; ff_vc1_p_intfr_loop_filter() local 1175 int block_count = CONFIG_GRAY && (s->avctx->flags & AV_CODEC_FLAG_GRAY) ? 4 : 6; ff_vc1_b_intfi_loop_filter() local [all...] |
H A D | amr_parser.c | 42 uint64_t block_count; member 107 avctx->bit_rate = s->cumulated_size / ++s->block_count * 8 * 50; in amr_parse()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_blockdetect.c | 89 int block_count = 0; in calculate_blockiness() local 124 block_count = 0; in calculate_blockiness() 129 block_count++; in calculate_blockiness() 135 if (block_count && nonblock_count) { in calculate_blockiness() 136 temp = (block / block_count) / (nonblock / nonblock_count); in calculate_blockiness() 142 block_count = 0; in calculate_blockiness() 167 block_count = 0; in calculate_blockiness() 174 block_count++; in calculate_blockiness() 180 if (block_count && nonblock_count) { in calculate_blockiness() 181 temp = (block / block_count) / (nonbloc in calculate_blockiness() [all...] |
H A D | vf_blurdetect.c | 196 int block_count; in calculate_blur() local 213 block_count = 0; in calculate_blur() 224 block_count++; in calculate_blur() 231 if (block_total_width >= 2 && block_count) { in calculate_blur() 232 blks[blkcnt] = block_total_width / block_count; in calculate_blur()
|
H A D | vf_signature.c | 268 blocksum += get_block_sum(sc, intpic, &elemcat->blocks[j*elemcat->block_count+k]); in filter_frame() 269 blocksize += get_block_size(&elemcat->blocks[j*elemcat->block_count+k]); in filter_frame() 277 for (; k < elemcat->block_count; k++) { in filter_frame() 278 blocksum += get_block_sum(sc, intpic, &elemcat->blocks[j*elemcat->block_count+k]); in filter_frame() 279 blocksize += get_block_size(&elemcat->blocks[j*elemcat->block_count+k]); in filter_frame()
|
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_device.c | 177 uint32_t block_count, in merge_extension_names() 190 if (!find_extension_names(block_exts, block_count, exts[i])) in merge_extension_names() 216 uint32_t block_count = 0; in vn_device_fix_create_info() local 249 block_exts[block_count++] = VK_KHR_SWAPCHAIN_EXTENSION_NAME; in vn_device_fix_create_info() 250 block_exts[block_count++] = in vn_device_fix_create_info() 252 block_exts[block_count++] = in vn_device_fix_create_info() 257 block_exts[block_count++] = VK_ANDROID_NATIVE_BUFFER_EXTENSION_NAME; in vn_device_fix_create_info() 260 block_exts[block_count++] = in vn_device_fix_create_info() 280 block_exts[block_count++] = in vn_device_fix_create_info() 296 block_exts[block_count in vn_device_fix_create_info() 172 merge_extension_names(const char *const *exts, uint32_t ext_count, const char *const *extra_exts, uint32_t extra_count, const char *const *block_exts, uint32_t block_count, const VkAllocationCallbacks *alloc, const char *const **out_exts, uint32_t *out_count) merge_extension_names() argument [all...] |
/third_party/littlefs/bd/ |
H A D | lfs_testbd.c | 19 ".block_size=%"PRIu32", .block_count=%"PRIu32"}, " in lfs_testbd_createcfg() 27 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count, in lfs_testbd_createcfg() 42 bd->wear = lfs_malloc(sizeof(lfs_testbd_wear_t)*cfg->block_count); in lfs_testbd_createcfg() 49 memset(bd->wear, 0, sizeof(lfs_testbd_wear_t) * cfg->block_count); in lfs_testbd_createcfg() 75 ".block_size=%"PRIu32", .block_count=%"PRIu32"}, " in lfs_testbd_create() 80 cfg->read_size, cfg->prog_size, cfg->block_size, cfg->block_count, in lfs_testbd_create() 157 LFS_ASSERT(block < cfg->block_count); in lfs_testbd_read() 182 LFS_ASSERT(block < cfg->block_count); in lfs_testbd_prog() 226 LFS_ASSERT(block < cfg->block_count); in lfs_testbd_erase() 284 LFS_ASSERT(block < cfg->block_count); in lfs_testbd_getwear() [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_liveness.c | 128 unsigned block_count = 0; in ir3_calc_liveness() local 130 block->index = block_count++; in ir3_calc_liveness() 139 live->block_count = block_count; in ir3_calc_liveness() 143 live->live_in = ralloc_array(live, BITSET_WORD *, block_count); in ir3_calc_liveness() 144 live->live_out = ralloc_array(live, BITSET_WORD *, block_count); in ir3_calc_liveness()
|
H A D | ir3_ra_validate.c | 97 unsigned block_count; member 513 rzalloc_array(ctx, struct reaching_state, ctx->block_count); in check_reaching_defs() 544 unsigned half_size, unsigned block_count) in ir3_ra_validate() 559 ctx->block_count = block_count; in ir3_ra_validate() 543 ir3_ra_validate(struct ir3_shader_variant *v, unsigned full_size, unsigned half_size, unsigned block_count) ir3_ra_validate() argument
|
H A D | ir3_ra.h | 139 unsigned block_count; member 172 unsigned half_size, unsigned block_count);
|
/third_party/ffmpeg/libavformat/ |
H A D | mca.c | 29 uint32_t block_count; member 85 m->block_count = nb_samples / m->samples_per_block; in read_header() 90 || loop_start > loop_end || m->block_count < 1) in read_header() 188 if (m->current_block > m->block_count) in read_packet() 209 if (timestamp >= m->block_count) in read_seek() 210 timestamp = m->block_count - 1; in read_seek()
|
H A D | brstm.c | 35 uint32_t block_count; member 243 b->block_count = read32(s); in read_header() 244 if (b->block_count > UINT16_MAX) { in read_header() 245 av_log(s, AV_LOG_WARNING, "too many blocks: %"PRIu32"\n", b->block_count); in read_header() 317 asize = b->block_count * st->codecpar->ch_layout.nb_channels * 4; in read_header() 379 if (b->current_block == b->block_count) { in read_packet() 392 } else if (b->current_block < b->block_count) { in read_packet() 458 if (timestamp >= b->block_count) in read_seek() 459 timestamp = b->block_count - 1; in read_seek()
|
H A D | vpk.c | 29 unsigned block_count; member 69 vpk->block_count = (st->duration + (samples_per_block - 1)) / samples_per_block; in vpk_read_header() 88 if (vpk->current_block == vpk->block_count) { in vpk_read_packet() 105 } else if (vpk->current_block < vpk->block_count) { in vpk_read_packet()
|
H A D | xmv.c | 94 uint64_t block_count; ///< Running counter of decompressed audio block. member 202 packet->block_count = 0; in xmv_read_header() 444 uint32_t block_count; in xmv_fetch_audio_packet() local 467 block_count = data_size / audio->block_align; in xmv_fetch_audio_packet() 469 pkt->duration = block_count; in xmv_fetch_audio_packet() 470 pkt->pts = audio->block_count; in xmv_fetch_audio_packet() 473 audio->block_count += block_count; in xmv_fetch_audio_packet()
|
H A D | hca.c | 47 uint32_t block_count; in hca_read_header() local 84 block_count = bytestream2_get_be32(&gb); in hca_read_header() 98 st->duration = 1024 * block_count; in hca_read_header()
|
/third_party/skia/tests/ |
H A D | SkBlockAllocatorTest.cpp | 26 static int block_count(const SkSBlockAllocator<N>& pool) { in block_count() function 333 REPORTER_ASSERT(r, block_count(pool) == 4); // 3 added plus the implicit head in DEF_TEST() 342 REPORTER_ASSERT(r,block_count(pool) == 1); in DEF_TEST() 376 REPORTER_ASSERT(r, block_count(pool) == 3); in DEF_TEST() 381 REPORTER_ASSERT(r, block_count(pool) == 2); in DEF_TEST() 386 REPORTER_ASSERT(r, block_count(pool) == 1); in DEF_TEST() 399 REPORTER_ASSERT(r, block_count(pool) == 1); in DEF_TEST() 408 REPORTER_ASSERT(r, block_count(pool) == 3); in DEF_TEST() 430 REPORTER_ASSERT(r, block_count(pool) == 1); in DEF_TEST() 447 REPORTER_ASSERT(r, block_count(poo in DEF_TEST() [all...] |
/third_party/littlefs/ |
H A D | lfs.h | 209 lfs_size_t block_count; member 300 lfs_size_t block_count; member 404 lfs_size_t block_count; member 442 lfs_size_t block_count; member 746 int lfs_fs_grow(lfs_t *lfs, lfs_size_t block_count);
|
H A D | lfs.c | 50 || (lfs->block_count && block >= lfs->block_count)) { in lfs_bd_read() 107 LFS_ASSERT(!lfs->block_count || block < lfs->block_count); in lfs_bd_read() 179 LFS_ASSERT(pcache->block < lfs->block_count); in lfs_bd_flush() 232 LFS_ASSERT(block == LFS_BLOCK_INLINE || block < lfs->block_count); in lfs_bd_prog() 276 LFS_ASSERT(block < lfs->block_count); in lfs_bd_erase() 477 superblock->block_count = lfs_fromle32(superblock->block_count); in lfs_superblock_fromle32() 487 superblock->block_count in lfs_superblock_tole32() 5049 lfs_fs_rawgrow(lfs_t *lfs, lfs_size_t block_count) global() argument 5163 uint32_t block_count; global() member 6286 lfs_fs_grow(lfs_t *lfs, lfs_size_t block_count) global() argument [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_schedule_instructions.cpp | 603 unsigned hw_reg_count, int block_count, in instruction_scheduler() 616 this->reg_pressure_in = rzalloc_array(mem_ctx, int, block_count); in instruction_scheduler() 618 this->livein = ralloc_array(mem_ctx, BITSET_WORD *, block_count); in instruction_scheduler() 619 for (int i = 0; i < block_count; i++) in instruction_scheduler() 623 this->liveout = ralloc_array(mem_ctx, BITSET_WORD *, block_count); in instruction_scheduler() 624 for (int i = 0; i < block_count; i++) in instruction_scheduler() 628 this->hw_liveout = ralloc_array(mem_ctx, BITSET_WORD *, block_count); in instruction_scheduler() 629 for (int i = 0; i < block_count; i++) in instruction_scheduler() 739 int block_count, 755 int block_count, in fs_instruction_scheduler() 602 instruction_scheduler(const backend_shader *s, int grf_count, unsigned hw_reg_count, int block_count, instruction_scheduler_mode mode) instruction_scheduler() argument 753 fs_instruction_scheduler(const fs_visitor *v, int grf_count, int hw_reg_count, int block_count, instruction_scheduler_mode mode) fs_instruction_scheduler() argument [all...] |
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | rdtarga.c | 63 int block_count; /* # of pixels remaining in RLE block */ member 142 if (--sinfo->block_count < 0) { /* decrement pixels remaining in block */ in read_rle_pixel() 146 sinfo->block_count = 0; /* then read new block header */ in read_rle_pixel() 148 sinfo->block_count = i & 0x7F; /* number of pixels after this one */ in read_rle_pixel() 375 source->block_count = source->dup_pixel_count = 0; in start_input_tga()
|
/third_party/mesa3d/src/freedreno/decode/ |
H A D | crashdec-mempool.c | 217 uint32_t block_count[6]; in dump_cp_mem_pool() member 265 printf("\t\tblock_count: %d\n", data1.block_count[queue]); in dump_cp_mem_pool()
|
/third_party/mesa3d/src/amd/common/ |
H A D | ac_surface_modifier_test.c | 49 block_count(unsigned w, unsigned h, unsigned elem_bits, unsigned block_bits, in block_count() function 266 surf_size = block_count(dims[i][0], dims[i][1], in test_modifier() 284 uint64_t dcc_size = block_count(dims[i][0], dims[i][1], in test_modifier() 322 uint64_t dcc_size = block_count(dims[i][0], dims[i][1], in test_modifier()
|
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
H A D | validate_layout.cpp | 197 if (_.current_function().block_count() != 0) { in FunctionScopedInstructions() 216 if (_.current_function().block_count() == 0 && in FunctionScopedInstructions()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
H A D | validate_layout.cpp | 197 if (_.current_function().block_count() != 0) { in FunctionScopedInstructions() 216 if (_.current_function().block_count() == 0 && in FunctionScopedInstructions()
|
/third_party/spirv-tools/source/val/ |
H A D | validate_layout.cpp | 195 if (_.current_function().block_count() != 0) { in FunctionScopedInstructions() 214 if (_.current_function().block_count() == 0 && in FunctionScopedInstructions()
|