/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_encodeframe.c | 53 BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx); 208 BLOCK_SIZE bsize) { in set_offsets() argument 212 const int mi_width = num_8x8_blocks_wide_lookup[bsize]; in set_offsets() 213 const int mi_height = num_8x8_blocks_high_lookup[bsize]; in set_offsets() 251 mi->segment_id = get_segment_id(cm, map, bsize, mi_row, mi_col); in set_offsets() 267 BLOCK_SIZE bsize) { in duplicate_mode_info_in_sb() argument 269 VPXMIN(num_8x8_blocks_wide_lookup[bsize], cm->mi_cols - mi_col); in duplicate_mode_info_in_sb() 271 VPXMIN(num_8x8_blocks_high_lookup[bsize], cm->mi_rows - mi_row); in duplicate_mode_info_in_sb() 282 BLOCK_SIZE bsize) { in set_block_size() argument 285 xd->mi[0]->sb_type = bsize; in set_block_size() [all …]
|
D | vp9_pickmode.c | 144 BLOCK_SIZE bsize, int mi_row, int mi_col, in combined_motion_search() argument 196 cpi, x, bsize, &mvp_full, step_param, cpi->sf.mv.search_method, sadpb, in combined_motion_search() 217 x->errorperbit, &cpi->fn_ptr[bsize], subpel_force_stop, in combined_motion_search() 317 static void model_rd_for_sb_y_large(VP9_COMP *cpi, BLOCK_SIZE bsize, in model_rd_for_sb_y_large() argument 338 const int bw = b_width_log2_lookup[bsize]; in model_rd_for_sb_y_large() 339 const int bh = b_height_log2_lookup[bsize]; in model_rd_for_sb_y_large() 378 tx_size = VPXMIN(max_txsize_lookup[bsize], in model_rd_for_sb_y_large() 389 tx_size = VPXMIN(max_txsize_lookup[bsize], in model_rd_for_sb_y_large() 468 const BLOCK_SIZE uv_bsize = get_plane_block_size(bsize, pd); in model_rd_for_sb_y_large() 477 vp9_build_inter_predictors_sbp(xd, mi_row, mi_col, bsize, i); in model_rd_for_sb_y_large() [all …]
|
D | vp9_rdopt.h | 29 struct RD_COST *rd_cost, BLOCK_SIZE bsize, 35 struct RD_COST *rd_cost, BLOCK_SIZE bsize, 40 struct RD_COST *rd_cost, BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx, 51 struct RD_COST *rd_cost, BLOCK_SIZE bsize,
|
D | vp9_encodemb.h | 30 void vp9_encode_sb(MACROBLOCK *x, BLOCK_SIZE bsize); 31 void vp9_encode_sby_pass1(MACROBLOCK *x, BLOCK_SIZE bsize); 39 void vp9_subtract_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane); 44 void vp9_encode_intra_block_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane,
|
D | vp9_pickmode.h | 21 BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx); 25 BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx); 28 int mi_col, RD_COST *rd_cost, BLOCK_SIZE bsize,
|
D | vp9_rdopt.c | 154 static void model_rd_for_sb(VP9_COMP *cpi, BLOCK_SIZE bsize, MACROBLOCK *x, in model_rd_for_sb() argument 186 const BLOCK_SIZE bs = get_plane_block_size(bsize, pd); in model_rd_for_sb() 782 int64_t ref_best_rd, int plane, BLOCK_SIZE bsize, in txfm_rd_in_plane() argument 796 vp9_get_entropy_contexts(bsize, tx_size, pd, args.t_above, args.t_left); in txfm_rd_in_plane() 800 vp9_foreach_transformed_block_in_plane(xd, bsize, plane, block_rd_txfm, in txfm_rd_in_plane() 959 BLOCK_SIZE bsize, int64_t rd_thresh) { in rd_pick_intra4x4block() argument 971 const int num_4x4_blocks_wide = num_4x4_blocks_wide_lookup[bsize]; in rd_pick_intra4x4block() 972 const int num_4x4_blocks_high = num_4x4_blocks_high_lookup[bsize]; in rd_pick_intra4x4block() 1189 const BLOCK_SIZE bsize = xd->mi[0]->sb_type; in rd_pick_intra_sub_8x8_y_mode() local 1190 const int num_4x4_blocks_wide = num_4x4_blocks_wide_lookup[bsize]; in rd_pick_intra_sub_8x8_y_mode() [all …]
|
D | vp9_tokenize.c | 438 int vp9_is_skippable_in_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane) { in vp9_is_skippable_in_plane() argument 441 vp9_foreach_transformed_block_in_plane(&x->e_mbd, bsize, plane, is_skippable, in vp9_is_skippable_in_plane() 458 int vp9_has_high_freq_in_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane) { in vp9_has_high_freq_in_plane() argument 461 vp9_foreach_transformed_block_in_plane(&x->e_mbd, bsize, plane, in vp9_has_high_freq_in_plane() 467 int seg_skip, BLOCK_SIZE bsize) { in vp9_tokenize_sb() argument 480 reset_skip_context(xd, bsize); in vp9_tokenize_sb() 486 vp9_foreach_transformed_block(xd, bsize, tokenize_b, &arg); in vp9_tokenize_sb() 488 vp9_foreach_transformed_block(xd, bsize, set_entropy_context_b, &arg); in vp9_tokenize_sb()
|
D | vp9_rd.c | 227 int i, bsize, segment_id; in set_block_thresholds() local 236 for (bsize = 0; bsize < BLOCK_SIZES; ++bsize) { in set_block_thresholds() 239 const int t = q * rd_thresh_block_size_factor[bsize]; in set_block_thresholds() 242 if (bsize >= BLOCK_8X8) { in set_block_thresholds() 244 rd->threshes[segment_id][bsize][i] = rd->thresh_mult[i] < thresh_max in set_block_thresholds() 249 rd->threshes[segment_id][bsize][i] = in set_block_thresholds() 446 void vp9_get_entropy_contexts(BLOCK_SIZE bsize, TX_SIZE tx_size, in vp9_get_entropy_contexts() argument 450 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in vp9_get_entropy_contexts() 653 int bsize, int best_mode_index) { in vp9_update_rd_thresh_fact() argument 655 const int top_mode = bsize < BLOCK_8X8 ? MAX_REFS : MAX_MODES; in vp9_update_rd_thresh_fact() [all …]
|
/external/mksh/src/ |
D | shf.c | 52 ssize_t bsize = in shf_open() local 58 shf = alloc(sizeof(struct shf) + bsize, ATEMP); in shf_open() 61 shf->bsize = bsize; in shf_open() 129 ssize_t bsize = in shf_fdopen() local 135 if (bsize) { in shf_fdopen() 136 shf->buf = alloc(bsize, ATEMP); in shf_fdopen() 141 shf = alloc(sizeof(struct shf) + bsize, ATEMP); in shf_fdopen() 149 shf->rbsize = bsize; in shf_fdopen() 151 shf->wbsize = sflags & SHF_UNBUF ? 0 : bsize; in shf_fdopen() 154 shf->bsize = bsize; in shf_fdopen() [all …]
|
/external/ltp/testcases/kernel/fs/doio/ |
D | datapid.c | 84 int datapidgen(int pid, char *buffer, int bsize, int offset) in datapidgen() argument 97 num_full_words = bsize / NBPW; in datapidgen() 118 for (; boff < (NBPW - cnt) && boff < bsize; boff++, chr++) { in datapidgen() 127 num_full_words = (bsize - boff) / NBPW; in datapidgen() 153 if (cnt = ((bsize - boff) % NBPW)) { in datapidgen() 163 for (tmp = 0; tmp < cnt && boff < bsize; tmp++, chr++) { in datapidgen() 168 return bsize; in datapidgen() 181 int datapidchk(int pid, char *buffer, int bsize, int offset, char **errmsg) in datapidchk() argument 198 num_full_words = bsize / NBPW; in datapidchk() 213 for (; boff < (NBPW - cnt) && boff < bsize; boff++, chr++) { in datapidchk() [all …]
|
D | databin.c | 44 void databingen(int mode, char *buffer, int bsize, int offset) in databingen() argument 51 memset(buffer, 0x55, bsize); in databingen() 55 memset(buffer, 0xf0, bsize); in databingen() 59 for (ind = 0; ind < bsize; ind++) in databingen() 65 memset(buffer, 0xff, bsize); in databingen() 69 memset(buffer, 0x0, bsize); in databingen() 73 for (ind = 0; ind < bsize; ind++) in databingen() 83 int databinchk(int mode, char *buffer, int bsize, int offset, char **errmsg) in databinchk() argument 106 for (cnt = 0; cnt < bsize; cnt++) { in databinchk() 116 sprintf(Errmsg, "all %d bytes match desired pattern", bsize); in databinchk() [all …]
|
D | dataascii.c | 45 int dataasciigen(char *listofchars, char *buffer, int bsize, int offset) in dataasciigen() argument 55 total = offset + bsize; in dataasciigen() 70 return bsize; in dataasciigen() 73 int dataasciichk(char *listofchars, char *buffer, int bsize, in dataasciichk() argument 84 total = offset + bsize; in dataasciichk() 107 sprintf(Errmsg, "all %d bytes match desired pattern", bsize); in dataasciichk()
|
/external/libvpx/libvpx/test/ |
D | vp9_subtract_test.cc | 40 for (BLOCK_SIZE bsize = BLOCK_4X4; bsize < BLOCK_SIZES; in TEST_P() local 41 bsize = static_cast<BLOCK_SIZE>(static_cast<int>(bsize) + 1)) { in TEST_P() 42 const int block_width = 4 * num_4x4_blocks_wide_lookup[bsize]; in TEST_P() 43 const int block_height = 4 * num_4x4_blocks_high_lookup[bsize]; in TEST_P() 66 << "r = " << r << ", c = " << c << ", bs = " << bsize; in TEST_P() 78 << "r = " << r << ", c = " << c << ", bs = " << bsize; in TEST_P()
|
/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
D | ClassHeaderReader.java | 33 private int bsize = 0; field in ClassHeaderReader 56 bsize = 0; in read() 144 if (amount > bsize) { in buffer() 146 bsize += read(in, b, bsize, rounded - bsize); in buffer() 147 if (amount > bsize) in buffer()
|
/external/fio/engines/ |
D | pmemblk.c | 154 uint64_t bsize; in pmb_parse_path() local 168 if (s && (bsize = strtoull(s + 1, NULL, 10))) { in pmb_parse_path() 171 *pbsize = bsize; in pmb_parse_path() 188 uint64_t bsize = 0; in pmb_open() local 191 pmb_parse_path(pathspec, &path, &bsize, &fsize); in pmb_open() 204 pmb->pmb_pool = pmemblk_open(path, bsize); in pmb_open() 206 (flags & PMB_CREATE) && (0 < fsize) && (0 < bsize)) { in pmb_open() 208 pmemblk_create(path, bsize, fsize, 0644); in pmb_open() 408 uint64_t bsize = 0; in fio_pmemblk_unlink_file() local 417 pmb_parse_path(f->file_name, &path, &bsize, &fsize); in fio_pmemblk_unlink_file()
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_blockd.h | 202 static INLINE BLOCK_SIZE get_subsize(BLOCK_SIZE bsize, in get_subsize() argument 204 return subsize_lookup[partition][bsize]; in get_subsize() 241 get_plane_block_size(BLOCK_SIZE bsize, const struct macroblockd_plane *pd) { in get_plane_block_size() argument 242 return ss_size_lookup[bsize][pd->subsampling_x][pd->subsampling_y]; in get_plane_block_size() 245 static INLINE void reset_skip_context(MACROBLOCKD *xd, BLOCK_SIZE bsize) { in reset_skip_context() argument 249 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in reset_skip_context() 272 const MACROBLOCKD *const xd, BLOCK_SIZE bsize, int plane, 276 BLOCK_SIZE bsize,
|
D | vp9_reconinter.c | 208 static void build_inter_predictors_for_planes(MACROBLOCKD *xd, BLOCK_SIZE bsize, in build_inter_predictors_for_planes() argument 216 get_plane_block_size(bsize, &xd->plane[plane]); in build_inter_predictors_for_planes() 224 assert(bsize == BLOCK_8X8); in build_inter_predictors_for_planes() 236 BLOCK_SIZE bsize) { in vp9_build_inter_predictors_sby() argument 237 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, 0, 0); in vp9_build_inter_predictors_sby() 241 BLOCK_SIZE bsize, int plane) { in vp9_build_inter_predictors_sbp() argument 242 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, plane, plane); in vp9_build_inter_predictors_sbp() 246 BLOCK_SIZE bsize) { in vp9_build_inter_predictors_sbuv() argument 247 build_inter_predictors_for_planes(xd, bsize, mi_row, mi_col, 1, in vp9_build_inter_predictors_sbuv() 252 BLOCK_SIZE bsize) { in vp9_build_inter_predictors_sb() argument [all …]
|
D | vp9_reconinter.h | 52 BLOCK_SIZE bsize); 55 BLOCK_SIZE bsize, int plane); 58 BLOCK_SIZE bsize); 61 BLOCK_SIZE bsize);
|
D | vp9_blockd.c | 38 const MACROBLOCKD *const xd, BLOCK_SIZE bsize, int plane, in vp9_foreach_transformed_block_in_plane() argument 46 const BLOCK_SIZE plane_bsize = get_plane_block_size(bsize, pd); in vp9_foreach_transformed_block_in_plane() 78 BLOCK_SIZE bsize, in vp9_foreach_transformed_block() argument 84 vp9_foreach_transformed_block_in_plane(xd, bsize, plane, visit, arg); in vp9_foreach_transformed_block()
|
/external/e2fsprogs/misc/ |
D | findsuper.c | 194 unsigned long long bsize, grpsize; in main() local 239 bsize = 1 << (ext2.s_log_block_size + 10); in main() 240 grpsize = bsize * ext2.s_blocks_per_group; in main() 248 if (ext2.s_block_group_nr == 0 || bsize == 1024) in main() 257 sk + ext2fs_blocks_count(&ext2) * bsize - in main() 259 jnl_copy ? "*" : " ", ext2fs_blocks_count(&ext2), bsize, in main()
|
/external/ltp/testcases/kernel/fs/ext4-new-features/ext4-uninit-groups/ |
D | ext4_uninit_groups_test.sh | 48 bsize=`dumpe2fs -h $EXT4_DEV 2> /dev/null | grep 'Block size'` 49 bsize=`echo $bsize | awk '{ print $3 }'` 52 dd if=/dev/zero of=mnt_point/tmp_dir bs=$bsize count=$bcount
|
/external/eigen/test/ |
D | ref.cpp | 105 Index bsize = internal::random<Index>(1,size-i); in ref_vector() local 111 RefDynMat rv2 = v1.segment(i,bsize); in ref_vector() 112 VERIFY_IS_EQUAL(rv2, v1.segment(i,bsize)); in ref_vector() 114 v2.segment(i,bsize).setOnes(); in ref_vector() 117 v2.segment(i,bsize).setRandom(); in ref_vector() 118 rv2 = v2.segment(i,bsize); in ref_vector() 121 ConstRefDynMat rm3 = v1.segment(i,bsize); in ref_vector() 122 v1.segment(i,bsize) *= 2; in ref_vector() 123 v2.segment(i,bsize) *= 2; in ref_vector() 124 VERIFY_IS_EQUAL(rm3, v2.segment(i,bsize)); in ref_vector()
|
/external/ltp/testcases/kernel/fs/ext4-new-features/ext4-online-defrag/ |
D | ext4_online_defrag_test.sh | 78 bsize=`dumpe2fs -h $EXT4_DEV | grep 'Block size'` 79 bsize=`echo $bsize | awk '{ print $NF }'` 83 dd if=/dev/zero of=$dest bs=$bsize count=$bcount
|
/external/freetype/src/gzip/ |
D | zutil.c | 86 ulg bsize = (ulg)items*size; in zcalloc() local 91 if (bsize < 65520L) { in zcalloc() 92 buf = farmalloc(bsize); in zcalloc() 95 buf = farmalloc(bsize + 16L); in zcalloc()
|
/external/ltp/testcases/kernel/fs/doio/include/ |
D | databin.h | 40 void databingen( int mode, char *buffer, int bsize, int offset ); 42 int databinchk( int mode, char *buffer, int bsize, int offset, char **errmsg);
|