Home
last modified time | relevance | path

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

12345

/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodeframe.c77 int mi_row, int mi_col, BLOCK_SIZE bsize);
172 BLOCK_SIZE bsize) { in is_block_in_mb_map() argument
178 const int mb_width = num_8x8_blocks_wide_lookup[bsize] >> 1; in is_block_in_mb_map()
179 const int mb_height = num_8x8_blocks_high_lookup[bsize] >> 1; in is_block_in_mb_map()
181 if (bsize <= BLOCK_16X16) { in is_block_in_mb_map()
199 BLOCK_SIZE bsize) { in check_active_map() argument
201 return is_block_in_mb_map(cpi, mi_row, mi_col, bsize); in check_active_map()
208 int mi_row, int mi_col, BLOCK_SIZE bsize) { in set_offsets() argument
213 const int mi_width = num_8x8_blocks_wide_lookup[bsize]; in set_offsets()
214 const int mi_height = num_8x8_blocks_high_lookup[bsize]; in set_offsets()
[all …]
Dvp9_pickmode.c31 BLOCK_SIZE bsize, int mi_row, int mi_col, in full_pixel_motion_search() argument
91 &cpi->fn_ptr[bsize], 1, in full_pixel_motion_search()
96 &cpi->fn_ptr[bsize], 1, in full_pixel_motion_search()
101 &cpi->fn_ptr[bsize], 1, in full_pixel_motion_search()
106 &cpi->fn_ptr[bsize], 1, in full_pixel_motion_search()
111 &cpi->fn_ptr[bsize], 1, in full_pixel_motion_search()
118 &cpi->fn_ptr[bsize], in full_pixel_motion_search()
141 BLOCK_SIZE bsize, int mi_row, int mi_col, in sub_pixel_motion_search() argument
166 &cpi->fn_ptr[bsize], in sub_pixel_motion_search()
181 static void model_rd_for_sb_y(VP9_COMP *cpi, BLOCK_SIZE bsize, in model_rd_for_sb_y() argument
[all …]
Dvp9_encodemb.h23 void vp9_encode_sb(MACROBLOCK *x, BLOCK_SIZE bsize);
24 void vp9_encode_sby_pass1(MACROBLOCK *x, BLOCK_SIZE bsize);
29 void vp9_subtract_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane);
35 void vp9_encode_intra_block_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane);
Dvp9_rdopt.c247 int i, bsize, segment_id; in set_block_thresholds() local
255 for (bsize = 0; bsize < BLOCK_SIZES; ++bsize) { in set_block_thresholds()
258 const int t = q * rd_thresh_block_size_factor[bsize]; in set_block_thresholds()
262 cpi->rd_threshes[segment_id][bsize][i] = in set_block_thresholds()
267 cpi->rd_thresh_sub8x8[segment_id][bsize][i] = in set_block_thresholds()
426 static void model_rd_for_sb(VP9_COMP *cpi, BLOCK_SIZE bsize, in model_rd_for_sb() argument
441 const BLOCK_SIZE bs = get_plane_block_size(bsize, pd); in model_rd_for_sb()
477 static void model_rd_for_sb_y_tx(VP9_COMP *cpi, BLOCK_SIZE bsize, in model_rd_for_sb_y_tx() argument
486 const int width = 4 * num_4x4_blocks_wide_lookup[bsize]; in model_rd_for_sb_y_tx()
487 const int height = 4 * num_4x4_blocks_high_lookup[bsize]; in model_rd_for_sb_y_tx()
[all …]
Dvp9_rdopt.h58 int *r, int64_t *d, BLOCK_SIZE bsize,
66 BLOCK_SIZE bsize,
75 BLOCK_SIZE bsize,
81 void vp9_get_entropy_contexts(BLOCK_SIZE bsize, TX_SIZE tx_size,
Dvp9_bitstream.c83 TX_SIZE tx_size, BLOCK_SIZE bsize, in write_selected_tx_size() argument
85 const TX_SIZE max_tx_size = max_txsize_lookup[bsize]; in write_selected_tx_size()
238 const BLOCK_SIZE bsize = mbmi->sb_type; in pack_inter_mode_mvs() local
261 if (bsize >= BLOCK_8X8 && cm->tx_mode == TX_MODE_SELECT && in pack_inter_mode_mvs()
264 write_selected_tx_size(cpi, mbmi->tx_size, bsize, w); in pack_inter_mode_mvs()
268 if (bsize >= BLOCK_8X8) { in pack_inter_mode_mvs()
269 write_intra_mode(w, mode, cm->fc.y_mode_prob[size_group_lookup[bsize]]); in pack_inter_mode_mvs()
272 const int num_4x4_w = num_4x4_blocks_wide_lookup[bsize]; in pack_inter_mode_mvs()
273 const int num_4x4_h = num_4x4_blocks_high_lookup[bsize]; in pack_inter_mode_mvs()
289 if (bsize >= BLOCK_8X8) { in pack_inter_mode_mvs()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
Dvp9_encodeframe.c53 int mi_row, int mi_col, BLOCK_SIZE bsize,
138 int mi_row, int mi_col, BLOCK_SIZE bsize) { in set_offsets() argument
143 const int mi_width = num_8x8_blocks_wide_lookup[bsize]; in set_offsets()
144 const int mi_height = num_8x8_blocks_high_lookup[bsize]; in set_offsets()
180 mbmi->segment_id = vp9_get_segment_id(cm, map, bsize, mi_row, mi_col); in set_offsets()
193 BLOCK_SIZE bsize) { in duplicate_mode_info_in_sb() argument
194 const int block_width = num_8x8_blocks_wide_lookup[bsize]; in duplicate_mode_info_in_sb()
195 const int block_height = num_8x8_blocks_high_lookup[bsize]; in duplicate_mode_info_in_sb()
206 BLOCK_SIZE bsize) { in set_block_size() argument
210 xd->mi[0].src_mi->mbmi.sb_type = bsize; in set_block_size()
[all …]
Dvp9_pickmode.c117 BLOCK_SIZE bsize, int mi_row, int mi_col, in combined_motion_search() argument
162 vp9_full_pixel_search(cpi, x, bsize, &mvp_full, step_param, sadpb, in combined_motion_search()
187 &cpi->fn_ptr[bsize], in combined_motion_search()
205 static void model_rd_for_sb_y(VP9_COMP *cpi, BLOCK_SIZE bsize, in model_rd_for_sb_y() argument
219 unsigned int var = cpi->fn_ptr[bsize].vf(p->src.buf, p->src.stride, in model_rd_for_sb_y()
234 MIN(max_txsize_lookup[bsize], in model_rd_for_sb_y()
240 MIN(max_txsize_lookup[bsize], in model_rd_for_sb_y()
244 vp9_model_rd_from_var_lapndz(sse - var, 1 << num_pels_log2_lookup[bsize], in model_rd_for_sb_y()
249 vp9_model_rd_from_var_lapndz(var, 1 << num_pels_log2_lookup[bsize], in model_rd_for_sb_y()
273 BLOCK_SIZE bsize, int mi_row, int mi_col, in encode_breakout_test() argument
[all …]
Dvp9_encodemb.h23 void vp9_encode_sb(MACROBLOCK *x, BLOCK_SIZE bsize);
24 void vp9_encode_sby_pass1(MACROBLOCK *x, BLOCK_SIZE bsize);
32 void vp9_subtract_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane);
38 void vp9_encode_intra_block_plane(MACROBLOCK *x, BLOCK_SIZE bsize, int plane);
Dvp9_rdopt.h28 int *r, int64_t *d, BLOCK_SIZE bsize,
36 BLOCK_SIZE bsize,
44 BLOCK_SIZE bsize,
54 BLOCK_SIZE bsize,
Dvp9_rdopt.c170 static void model_rd_for_sb(VP9_COMP *cpi, BLOCK_SIZE bsize, in model_rd_for_sb() argument
192 const BLOCK_SIZE bs = get_plane_block_size(bsize, pd); in model_rd_for_sb()
455 BLOCK_SIZE bsize, TX_SIZE tx_size, in txfm_rd_in_plane() argument
468 vp9_get_entropy_contexts(bsize, tx_size, pd, args.t_above, args.t_left); in txfm_rd_in_plane()
472 vp9_foreach_transformed_block_in_plane(xd, bsize, plane, in txfm_rd_in_plane()
483 *skippable = vp9_is_skippable_in_plane(x, bsize, plane); in txfm_rd_in_plane()
642 BLOCK_SIZE bsize, int64_t rd_thresh) { in rd_pick_intra4x4block() argument
658 const int num_4x4_blocks_wide = num_4x4_blocks_wide_lookup[bsize]; in rd_pick_intra4x4block()
659 const int num_4x4_blocks_high = num_4x4_blocks_high_lookup[bsize]; in rd_pick_intra4x4block()
772 const BLOCK_SIZE bsize = xd->mi[0].src_mi->mbmi.sb_type; in rd_pick_intra_sub_8x8_y_mode() local
[all …]
/external/mksh/src/
Dshf.c52 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/chromium_org/third_party/libvpx/source/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()
68 << ", bs = " << bsize; in TEST_P()
81 << ", bs = " << bsize; in TEST_P()
/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()
68 << ", bs = " << bsize; in TEST_P()
81 << ", bs = " << bsize; in TEST_P()
/external/qemu/
Dioport.c124 static int ioport_bsize(int size, int *bsize) in ioport_bsize() argument
127 *bsize = 0; in ioport_bsize()
129 *bsize = 1; in ioport_bsize()
131 *bsize = 2; in ioport_bsize()
142 int i, bsize; in register_ioport_read() local
144 if (ioport_bsize(size, &bsize)) { in register_ioport_read()
149 ioport_read_table[bsize][i] = func; in register_ioport_read()
161 int i, bsize; in register_ioport_write() local
163 if (ioport_bsize(size, &bsize)) { in register_ioport_write()
168 ioport_write_table[bsize][i] = func; in register_ioport_write()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c79 BLOCK_SIZE bsize, int allow_select, vp9_reader *r) { in read_tx_size() argument
80 const TX_SIZE max_tx_size = max_txsize_lookup[bsize]; in read_tx_size()
81 if (allow_select && tx_mode == TX_MODE_SELECT && bsize >= BLOCK_8X8) in read_tx_size()
87 static void set_segment_id(VP9_COMMON *cm, BLOCK_SIZE bsize, in set_segment_id() argument
90 const int bw = num_8x8_blocks_wide_lookup[bsize]; in set_segment_id()
91 const int bh = num_8x8_blocks_high_lookup[bsize]; in set_segment_id()
107 const BLOCK_SIZE bsize = xd->mi[0]->mbmi.sb_type; in read_intra_segment_id() local
117 set_segment_id(cm, bsize, mi_row, mi_col, segment_id); in read_intra_segment_id()
125 const BLOCK_SIZE bsize = mbmi->sb_type; in read_inter_segment_id() local
132 bsize, mi_row, mi_col); in read_inter_segment_id()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/decoder/
Dvp9_decodemv.c78 BLOCK_SIZE bsize, int allow_select, vp9_reader *r) { in read_tx_size() argument
79 const TX_SIZE max_tx_size = max_txsize_lookup[bsize]; in read_tx_size()
80 if (allow_select && tx_mode == TX_MODE_SELECT && bsize >= BLOCK_8X8) in read_tx_size()
86 static void set_segment_id(VP9_COMMON *cm, BLOCK_SIZE bsize, in set_segment_id() argument
89 const int bw = num_8x8_blocks_wide_lookup[bsize]; in set_segment_id()
90 const int bh = num_8x8_blocks_high_lookup[bsize]; in set_segment_id()
106 const BLOCK_SIZE bsize = xd->mi[0].src_mi->mbmi.sb_type; in read_intra_segment_id() local
116 set_segment_id(cm, bsize, mi_row, mi_col, segment_id); in read_intra_segment_id()
124 const BLOCK_SIZE bsize = mbmi->sb_type; in read_inter_segment_id() local
131 bsize, mi_row, mi_col); in read_inter_segment_id()
[all …]
/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.h245 static INLINE BLOCK_SIZE get_subsize(BLOCK_SIZE bsize, in get_subsize() argument
247 const BLOCK_SIZE subsize = subsize_lookup[partition][bsize]; in get_subsize()
275 static INLINE TX_SIZE get_uv_tx_size_impl(TX_SIZE y_tx_size, BLOCK_SIZE bsize) { in get_uv_tx_size_impl() argument
276 if (bsize < BLOCK_8X8) { in get_uv_tx_size_impl()
280 const BLOCK_SIZE plane_bsize = ss_size_lookup[bsize][1][1]; in get_uv_tx_size_impl()
289 static INLINE BLOCK_SIZE get_plane_block_size(BLOCK_SIZE bsize, in get_plane_block_size() argument
291 BLOCK_SIZE bs = ss_size_lookup[bsize][pd->subsampling_x][pd->subsampling_y]; in get_plane_block_size()
302 const MACROBLOCKD *const xd, BLOCK_SIZE bsize, int plane,
307 const MACROBLOCKD* const xd, BLOCK_SIZE bsize,
Dvp9_reconinter.h22 BLOCK_SIZE bsize);
25 BLOCK_SIZE bsize);
28 BLOCK_SIZE bsize);
31 BLOCK_SIZE bsize);
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
Dvp9_blockd.h249 static INLINE BLOCK_SIZE get_subsize(BLOCK_SIZE bsize, in get_subsize() argument
251 return subsize_lookup[partition][bsize]; in get_subsize()
277 static INLINE TX_SIZE get_uv_tx_size_impl(TX_SIZE y_tx_size, BLOCK_SIZE bsize, in get_uv_tx_size_impl() argument
279 if (bsize < BLOCK_8X8) { in get_uv_tx_size_impl()
282 const BLOCK_SIZE plane_bsize = ss_size_lookup[bsize][xss][yss]; in get_uv_tx_size_impl()
293 static INLINE BLOCK_SIZE get_plane_block_size(BLOCK_SIZE bsize, in get_plane_block_size() argument
295 return ss_size_lookup[bsize][pd->subsampling_x][pd->subsampling_y]; in get_plane_block_size()
304 const MACROBLOCKD *const xd, BLOCK_SIZE bsize, int plane,
309 const MACROBLOCKD* const xd, BLOCK_SIZE bsize,
Dvp9_reconinter.h22 BLOCK_SIZE bsize);
25 BLOCK_SIZE bsize);
28 BLOCK_SIZE bsize);
31 BLOCK_SIZE bsize);
/external/e2fsprogs/misc/
Dfindsuper.c193 unsigned long long bsize, grpsize; in main() local
235 bsize = 1 << (ext2.s_log_block_size + 10); in main()
236 grpsize = bsize * ext2.s_blocks_per_group; in main()
244 if (ext2.s_block_group_nr == 0 || bsize == 1024) in main()
253 sk + ext2fs_blocks_count(&ext2) * bsize - in main()
255 jnl_copy ? "*" : " ", ext2fs_blocks_count(&ext2), bsize, in main()
/external/stlport/src/
Dnum_put_float.cpp231 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf, size_t bsize) in _Stl_ecvtR() argument
232 { return ecvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; } in _Stl_ecvtR()
233 static inline char* _Stl_fcvtR(double x, int n, int* pt, int* sign, char* buf, size_t bsize) in _Stl_fcvtR() argument
234 { return fcvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; } in _Stl_fcvtR()
236 static inline char* _Stl_ecvtR(long double x, int n, int* pt, int* sign, char* buf, size_t bsize) in _Stl_ecvtR() argument
237 { return qecvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; } in _Stl_ecvtR()
238 static inline char* _Stl_fcvtR(long double x, int n, int* pt, int* sign, char* buf, size_t bsize) in _Stl_fcvtR() argument
239 { return qfcvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; } in _Stl_fcvtR()
254 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf, size_t bsize) in _Stl_ecvtR() argument
255 { return (ecvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0); } in _Stl_ecvtR()
[all …]
/external/eigen/test/
Dref.cpp110 Index bsize = internal::random<Index>(1,size-i); in ref_vector() local
116 RefDynMat rv2 = v1.segment(i,bsize); in ref_vector()
117 VERIFY_IS_EQUAL(rv2, v1.segment(i,bsize)); in ref_vector()
119 v2.segment(i,bsize).setOnes(); in ref_vector()
122 v2.segment(i,bsize).setRandom(); in ref_vector()
123 rv2 = v2.segment(i,bsize); in ref_vector()
126 ConstRefDynMat rm3 = v1.segment(i,bsize); in ref_vector()
127 v1.segment(i,bsize) *= 2; in ref_vector()
128 v2.segment(i,bsize) *= 2; in ref_vector()
129 VERIFY_IS_EQUAL(rm3, v2.segment(i,bsize)); in ref_vector()

12345