/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_encodeframe.c | 77 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 …]
|
D | vp9_pickmode.c | 31 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 …]
|
D | vp9_encodemb.h | 23 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);
|
D | vp9_rdopt.c | 247 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 …]
|
D | vp9_rdopt.h | 58 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,
|
D | vp9_bitstream.c | 83 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/ |
D | vp9_encodeframe.c | 53 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 …]
|
D | vp9_pickmode.c | 117 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 …]
|
D | vp9_encodemb.h | 23 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);
|
D | vp9_rdopt.h | 28 int *r, int64_t *d, BLOCK_SIZE bsize, 36 BLOCK_SIZE bsize, 44 BLOCK_SIZE bsize, 54 BLOCK_SIZE bsize,
|
D | vp9_rdopt.c | 170 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/ |
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/chromium_org/third_party/libvpx/source/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() 68 << ", bs = " << bsize; in TEST_P() 81 << ", bs = " << bsize; in TEST_P()
|
/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() 68 << ", bs = " << bsize; in TEST_P() 81 << ", bs = " << bsize; in TEST_P()
|
/external/qemu/ |
D | ioport.c | 124 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/ |
D | vp9_decodemv.c | 79 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/ |
D | vp9_decodemv.c | 78 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/ |
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 | 245 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,
|
D | vp9_reconinter.h | 22 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/ |
D | vp9_blockd.h | 249 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,
|
D | vp9_reconinter.h | 22 BLOCK_SIZE bsize); 25 BLOCK_SIZE bsize); 28 BLOCK_SIZE bsize); 31 BLOCK_SIZE bsize);
|
/external/e2fsprogs/misc/ |
D | findsuper.c | 193 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/ |
D | num_put_float.cpp | 231 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/ |
D | ref.cpp | 110 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()
|