/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_encodeframe.c | 53 BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx); 222 BLOCK_SIZE bsize) { in set_offsets() argument 226 const int mi_width = num_8x8_blocks_wide_lookup[bsize]; in set_offsets() 227 const int mi_height = num_8x8_blocks_high_lookup[bsize]; in set_offsets() 265 mi->segment_id = get_segment_id(cm, map, bsize, mi_row, mi_col); in set_offsets() 281 BLOCK_SIZE bsize) { in duplicate_mode_info_in_sb() argument 283 VPXMIN(num_8x8_blocks_wide_lookup[bsize], cm->mi_cols - mi_col); in duplicate_mode_info_in_sb() 285 VPXMIN(num_8x8_blocks_high_lookup[bsize], cm->mi_rows - mi_row); in duplicate_mode_info_in_sb() 296 BLOCK_SIZE bsize) { in set_block_size() argument 299 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 201 cpi, x, bsize, &mvp_full, step_param, cpi->sf.mv.search_method, sadpb, in combined_motion_search() 229 x->errorperbit, &cpi->fn_ptr[bsize], subpel_force_stop, in combined_motion_search() 329 static void model_rd_for_sb_y_large(VP9_COMP *cpi, BLOCK_SIZE bsize, in model_rd_for_sb_y_large() argument 351 const int bw = b_width_log2_lookup[bsize]; in model_rd_for_sb_y_large() 352 const int bh = b_height_log2_lookup[bsize]; in model_rd_for_sb_y_large() 391 tx_size = VPXMIN(max_txsize_lookup[bsize], in model_rd_for_sb_y_large() 402 tx_size = VPXMIN(max_txsize_lookup[bsize], in model_rd_for_sb_y_large() 481 const BLOCK_SIZE uv_bsize = get_plane_block_size(bsize, pd); in model_rd_for_sb_y_large() 490 vp9_build_inter_predictors_sbp(xd, mi_row, mi_col, bsize, i); in model_rd_for_sb_y_large() [all …]
|
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() 783 int64_t ref_best_rd, int plane, BLOCK_SIZE bsize, in txfm_rd_in_plane() argument 797 vp9_get_entropy_contexts(bsize, tx_size, pd, args.t_above, args.t_left); in txfm_rd_in_plane() 801 vp9_foreach_transformed_block_in_plane(xd, bsize, plane, block_rd_txfm, in txfm_rd_in_plane() 960 BLOCK_SIZE bsize, int64_t rd_thresh) { in rd_pick_intra4x4block() argument 972 const int num_4x4_blocks_wide = num_4x4_blocks_wide_lookup[bsize]; in rd_pick_intra4x4block() 973 const int num_4x4_blocks_high = num_4x4_blocks_high_lookup[bsize]; in rd_pick_intra4x4block() 1190 const BLOCK_SIZE bsize = xd->mi[0]->sb_type; in rd_pick_intra_sub_8x8_y_mode() local 1191 const int num_4x4_blocks_wide = num_4x4_blocks_wide_lookup[bsize]; in rd_pick_intra_sub_8x8_y_mode() [all …]
|
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 …]
|
D | vp9_skin_detection.c | 19 int stride, int strideuv, int bsize, in vp9_compute_skin_block() argument 27 const int y_width_shift = (4 << b_width_log2_lookup[bsize]) >> 1; in vp9_compute_skin_block() 28 const int y_height_shift = (4 << b_height_log2_lookup[bsize]) >> 1; in vp9_compute_skin_block() 40 void vp9_compute_skin_sb(VP9_COMP *const cpi, BLOCK_SIZE bsize, int mi_row, in vp9_compute_skin_sb() argument 49 const int y_bsize = 4 << b_width_log2_lookup[bsize]; in vp9_compute_skin_sb() 72 if (bsize == BLOCK_8X8) in vp9_compute_skin_sb() 81 bsize, consec_zeromv, 0); in vp9_compute_skin_sb()
|
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_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()
|
/external/mksh/src/ |
D | shf.c | 54 ssize_t bsize = in shf_open() local 60 shf = alloc(sizeof(struct shf) + bsize, ATEMP); in shf_open() 63 shf->bsize = bsize; in shf_open() 131 ssize_t bsize = in shf_fdopen() local 137 if (bsize) { in shf_fdopen() 138 shf->buf = alloc(bsize, ATEMP); in shf_fdopen() 143 shf = alloc(sizeof(struct shf) + bsize, ATEMP); in shf_fdopen() 151 shf->rbsize = bsize; in shf_fdopen() 153 shf->wbsize = sflags & SHF_UNBUF ? 0 : bsize; in shf_fdopen() 156 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/freetype/src/bdf/ |
D | bdfdrivr.c | 438 FT_Bitmap_Size* bsize = bdfface->available_sizes; in BDF_Face_Init() local 443 FT_ZERO( bsize ); in BDF_Face_Init() 459 bsize->height = (FT_Short)( font->font_ascent + font->font_descent ); in BDF_Face_Init() 471 bsize->width = 0x7FFF; in BDF_Face_Init() 473 bsize->width )); in BDF_Face_Init() 476 bsize->width = FT_ABS( (FT_Short)( ( prop->value.l + 5 ) / 10 ) ); in BDF_Face_Init() 481 bsize->width = (FT_Short)FT_MulDiv( bsize->height, 2, 3 ); in BDF_Face_Init() 495 bsize->size = 0x7FFF; in BDF_Face_Init() 497 bsize->size )); in BDF_Face_Init() 500 bsize->size = FT_MulDiv( FT_ABS( prop->value.l ), in BDF_Face_Init() [all …]
|
/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/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/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/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 …]
|
/external/freetype/src/pcf/ |
D | pcfread.c | 1499 FT_Bitmap_Size* bsize = root->available_sizes; in pcf_load_font() local 1503 FT_ZERO( bsize ); in pcf_load_font() 1508 bsize->height = face->accel.maxbounds.ascent << 6; in pcf_load_font() 1518 bsize->height = 0x7FFF; in pcf_load_font() 1520 bsize->height )); in pcf_load_font() 1523 bsize->height = FT_ABS( (FT_Short)( face->accel.fontAscent + in pcf_load_font() 1535 bsize->width = 0x7FFF; in pcf_load_font() 1537 bsize->width )); in pcf_load_font() 1540 bsize->width = FT_ABS( (FT_Short)( ( prop->value.l + 5 ) / 10 ) ); in pcf_load_font() 1545 bsize->width = (FT_Short)FT_MulDiv( bsize->height, 2, 3 ); in pcf_load_font() [all …]
|
/external/freetype/src/winfonts/ |
D | winfnt.c | 799 FT_Bitmap_Size* bsize = root->available_sizes; in FNT_Face_Init() local 803 bsize->width = (FT_Short)font->header.avg_width; in FNT_Face_Init() 804 bsize->height = (FT_Short)( font->header.pixel_height + in FNT_Face_Init() 806 bsize->size = font->header.nominal_point_size << 6; in FNT_Face_Init() 816 bsize->y_ppem = FT_MulDiv( bsize->size, y_res, 72 ); in FNT_Face_Init() 817 bsize->y_ppem = FT_PIX_ROUND( bsize->y_ppem ); in FNT_Face_Init() 827 if ( bsize->y_ppem > ( font->header.pixel_height << 6 ) ) in FNT_Face_Init() 831 bsize->y_ppem = font->header.pixel_height << 6; in FNT_Face_Init() 832 bsize->size = FT_MulDiv( bsize->y_ppem, 72, y_res ); in FNT_Face_Init() 835 bsize->x_ppem = FT_MulDiv( bsize->size, x_res, 72 ); in FNT_Face_Init() [all …]
|
/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/tensorflow/tensorflow/core/kernels/ |
D | ops_util.cc | 39 int* bsize) { in GetBroadcastSize() argument 46 *bsize = ksize; in GetBroadcastSize() 50 *bsize = ksize + *bindex - pad_size; in GetBroadcastSize() 57 *bsize = std::min((in_size - *bindex), ksize); in GetBroadcastSize()
|
/external/opencv/cvaux/src/ |
D | cvfindhandregion.cpp | 72 float value, vmin, vmax, vl, bsize, vc; in icvFindHandRegion() local 171 bsize = vl / nbins; in icvFindHandRegion() 176 l = cvRound( (vv[i] - vmin) / bsize ); in icvFindHandRegion() 201 hand_left = vmin + left * bsize; in icvFindHandRegion() 216 hand_right = vmax - (nbins - right - 1) * bsize; in icvFindHandRegion() 294 float value, vmin, vmax, vl, bsize, bsizej, vc, vcl, vcr; in icvFindHandRegionA() local 457 bsize = vl / nbins; in icvFindHandRegionA() 462 l = cvRound( (vv[i] - vmin) / bsize ); in icvFindHandRegionA() 505 hand_left = vmin + left * bsize; in icvFindHandRegionA() 511 hand_right = vmax - (nbins - right - 1) * bsize; in icvFindHandRegionA()
|
/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-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
|