Home
last modified time | relevance | path

Searched refs:bsize (Results 1 – 25 of 109) sorted by relevance

12345

/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodeframe.c53 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 …]
Dvp9_pickmode.c144 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 …]
Dvp9_rdopt.c154 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 …]
Dvp9_rd.c227 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 …]
Dvp9_skin_detection.c19 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()
Dvp9_rdopt.h29 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,
Dvp9_encodemb.h30 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,
Dvp9_tokenize.c438 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/
Dshf.c54 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/
Ddatapid.c84 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 …]
Ddatabin.c44 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 …]
Ddataascii.c45 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/
Dbdfdrivr.c438 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/
Dvp9_subtract_test.cc40 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/
Dpmemblk.c154 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/
DClassHeaderReader.java33 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/
Dvp9_blockd.h202 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,
Dvp9_reconinter.c208 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/
Dpcfread.c1499 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/
Dwinfnt.c799 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/
Dfindsuper.c194 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/
Dops_util.cc39 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/
Dcvfindhandregion.cpp72 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/
Dref.cpp105 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/
Dext4_uninit_groups_test.sh48 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

12345