/external/mesa3d/src/mesa/drivers/dri/i915/ |
H A D | intel_tex_format.c | 58 GLuint bw, bh; local 62 _mesa_get_format_block_size(mesaFormat, &bw, &bh);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | intel_tex_format.c | 58 GLuint bw, bh; local 62 _mesa_get_format_block_size(mesaFormat, &bw, &bh);
|
/external/mesa3d/src/mesa/drivers/dri/intel/ |
H A D | intel_tex_format.c | 58 GLuint bw, bh; local 62 _mesa_get_format_block_size(mesaFormat, &bw, &bh);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_format_etc.c | 28 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; local 32 for (y = 0; y < height; y += bh) { 38 for (j = 0; j < bh; j++) { 68 const unsigned bw = 4, bh = 4; local 72 assert(i < bw && j < bh);
|
H A D | u_format_rgtc.c | 53 const unsigned bw = 4, bh = 4, comps = 4; local 57 for(y = 0; y < height; y += bh) { 60 for(j = 0; j < bh; ++j) { 79 const unsigned bw = 4, bh = 4, bytes_per_block = 8; local 82 for(y = 0; y < height; y += bh) { 85 uint8_t tmp[4][4]; /* [bh][bw][comps] */ 86 for(j = 0; j < bh; ++j) { 126 const unsigned bw = 4, bh = 4, bytes_per_block = 8; local 129 for(y = 0; y < height; y += bh) { 132 uint8_t tmp[4][4]; /* [bh][b 177 const unsigned bw = 4, bh = 4, bytes_per_block = 8; local 245 const unsigned bw = 4, bh = 4, comps = 4; local 270 const unsigned bw = 4, bh = 4, bytes_per_block = 16; local 295 const unsigned bw = 4, bh = 4, bytes_per_block = 16; local 409 const unsigned bw = 4, bh = 4, bytes_per_block = 16; local [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | texcompress.c | 451 GLuint bw, bh; local 454 _mesa_get_format_block_size(mesaFormat, &bw, &bh); 457 ASSERT(row % bh == 0); 459 offset = ((width + bw - 1) / bw) * (row / bh) + col / bw; 480 GLuint bytes, bw, bh; local 483 _mesa_get_format_block_size(format, &bw, &bh); 492 texImage.RowStride = srcRowStride * bh / bytes;
|
H A D | texcompress_etc_tmp.h | 146 const unsigned bw = 4, bh = 4, bs = 8, comps = 4; local 150 for (y = 0; y < height; y += bh) { 156 for (j = 0; j < bh; j++) {
|
H A D | formats.c | 1678 * \param bh returns block height in pixels 1681 _mesa_get_format_block_size(gl_format format, GLuint *bw, GLuint *bh) argument 1685 *bh = info->BlockHeight; 1880 const GLuint bw = info->BlockWidth, bh = info->BlockHeight; local 1882 const GLuint hblocks = (height + bh - 1) / bh; 1906 const uint64_t bw = info->BlockWidth, bh = info->BlockHeight; local 1908 const uint64_t hblocks = (height + bh - 1) / bh;
|
H A D | texgetimage.c | 640 GLuint bw, bh; local 641 _mesa_get_format_block_size(texImage->TexFormat, &bw, &bh); 642 for (i = 0; i < (texImage->Height + bh - 1) / bh; i++) {
|
/external/squashfs-tools/kernel/fs/squashfs/ |
H A D | block.c | 50 struct buffer_head *bh; local 52 bh = sb_bread(sb, *cur_index); 53 if (bh == NULL) 57 *length = (unsigned char) bh->b_data[*offset]; 58 put_bh(bh); 59 bh = sb_bread(sb, ++(*cur_index)); 60 if (bh == NULL) 62 *length |= (unsigned char) bh->b_data[0] << 8; 65 *length = (unsigned char) bh->b_data[*offset] | 66 (unsigned char) bh 86 struct buffer_head **bh; local [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_aq_complexity.c | 116 const int bh = num_8x8_blocks_high_lookup[BLOCK_64X64]; local 126 // Rate depends on fraction of a SB64 in frame (xmis * ymis / bw * bh). 129 (cpi->rc.sb64_target_rate * xmis * ymis * 256) / (bw * bh);
|
H A D | vp9_aq_variance.c | 152 const int bh = 8 * num_8x8_blocks_high_lookup[bs] - bottom_overflow; local 157 CONVERT_TO_BYTEPTR(vp9_highbd_64_zeros), 0, bw, bh, 163 bw, bh, &sse, &avg); 167 bw, bh, &sse, &avg); 169 var = sse - (unsigned int)(((int64_t)avg * avg) / (bw * bh)); 170 return (unsigned int)(((uint64_t)256 * var) / (bw * bh));
|
H A D | vp9_segmentation.c | 108 int *t_unpred_seg_counts, int bw, int bh, int mi_row, 117 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); 148 int bw, bh; local 154 bh = num_8x8_blocks_high_lookup[mi[0]->sb_type]; 156 if (bw == bs && bh == bs) { 159 } else if (bw == bs && bh < bs) { 165 } else if (bw < bs && bh == bs) { 175 assert(bw < bs && bh < bs); 104 count_segs(const VP9_COMMON *cm, MACROBLOCKD *xd, const TileInfo *tile, MODE_INFO **mi, int *no_pred_segcounts, int (*temporal_predictor_count)[2], int *t_unpred_seg_counts, int bw, int bh, int mi_row, int mi_col) argument
|
H A D | vp9_aq_cyclicrefresh.c | 155 const int bh = num_8x8_blocks_high_lookup[bsize]; local 157 const int ymis = VPXMIN(cm->mi_rows - mi_row, bh); 218 const int bh = num_8x8_blocks_high_lookup[bsize]; local 220 const int ymis = VPXMIN(cm->mi_rows - mi_row, bh);
|
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_screen_cache.c | 46 unsigned bw, bh, bpb, total_size, i; local 58 svga_format_size(key->format, &bw, &bh, &bpb); 66 unsigned img_size = ((w + bw - 1) / bw) * ((h + bh - 1) / bh) * d * bpb;
|
/external/e2fsprogs/debugfs/ |
H A D | revoke.c | 325 * parameter, but does _not_ forget the buffer_head if the bh was only 338 struct buffer_head *bh = NULL; local 354 bh = bh_in; 356 if (!bh) { 357 bh = __find_get_block(bdev, blocknr, journal->j_blocksize); 358 if (bh) 359 BUFFER_TRACE(bh, "found on hash"); 370 if (bh2 != bh && buffer_revokevalid(bh2)) 386 if (bh) { 387 if (!J_EXPECT_BH(bh, !buffer_revoke 432 struct buffer_head *bh = jh2bh(jh); local 499 struct buffer_head *bh; local 644 jbd2_revoke_csum_set(journal_t *j, struct buffer_head *bh) argument [all...] |
H A D | do_journal.c | 69 struct buffer_head *bh, *cbh = NULL; local 82 bh = getblk(trans->journal->j_dev, 0, trans->journal->j_blocksize); 83 if (bh == NULL) 87 commit = (struct commit_header *)bh->b_data; 135 jbd2_commit_block_csum_set(trans->journal, bh); 136 err = journal_bmap(trans->journal, trans->block, &bh->b_blocknr); 141 bh->b_blocknr); 142 mark_buffer_dirty(bh); 143 ll_rw_block(WRITE, 1, &bh); 144 err = bh 170 struct buffer_head *bh; local 274 struct buffer_head *bh = NULL, *data_bh; local 653 struct buffer_head *bh; local [all...] |
/external/e2fsprogs/e2fsck/ |
H A D | revoke.c | 325 * parameter, but does _not_ forget the buffer_head if the bh was only 338 struct buffer_head *bh = NULL; local 354 bh = bh_in; 356 if (!bh) { 357 bh = __find_get_block(bdev, blocknr, journal->j_blocksize); 358 if (bh) 359 BUFFER_TRACE(bh, "found on hash"); 370 if (bh2 != bh && buffer_revokevalid(bh2)) 386 if (bh) { 387 if (!J_EXPECT_BH(bh, !buffer_revoke 432 struct buffer_head *bh = jh2bh(jh); local 499 struct buffer_head *bh; local 644 jbd2_revoke_csum_set(journal_t *j, struct buffer_head *bh) argument [all...] |
/external/libvpx/libvpx/vp9/common/ |
H A D | vp9_pred_common.h | 27 const int bh = num_8x8_blocks_high_lookup[bsize]; local 29 const int ymis = VPXMIN(cm->mi_rows - mi_row, bh);
|
H A D | vp9_reconinter.c | 91 int bh, int ss_x, int ss_y) { 97 const int spel_top = (VP9_INTERP_EXTEND + bh) << SUBPEL_BITS; 127 int bw, int bh, int x, int y, int w, int h, 150 xd, &mv, bw, bh, pd->subsampling_x, pd->subsampling_y); 220 const int bh = 4 * num_4x4_h; local 227 build_inter_predictors(xd, plane, i++, bw, bh, 4 * x, 4 * y, 4, 4, 230 build_inter_predictors(xd, plane, 0, bw, bh, 0, 0, bw, bh, mi_x, mi_y); 90 clamp_mv_to_umv_border_sb(const MACROBLOCKD *xd, const MV *src_mv, int bw, int bh, int ss_x, int ss_y) argument 126 build_inter_predictors(MACROBLOCKD *xd, int plane, int block, int bw, int bh, int x, int y, int w, int h, int mi_x, int mi_y) argument
|
/external/libyuv/files/unit_test/ |
H A D | color_test.cc | 445 static void PrintHistogram(int rh[256], int gh[256], int bh[256]) { argument 449 if (rh[i] || gh[i] || bh[i]) { 455 if (rh[i] || gh[i] || bh[i]) { 461 if (rh[i] || gh[i] || bh[i]) { 467 if (rh[i] || gh[i] || bh[i]) { 468 printf("\t%8d", bh[i]); 483 bh[256] = { local 498 ++bh[b1 - b0 + 128]; 502 PrintHistogram(rh, gh, bh); 514 bh[25 local [all...] |
/external/mesa3d/src/mesa/swrast/ |
H A D | s_texture.c | 195 GLuint bw, bh; local 201 _mesa_get_format_block_size(texImage->TexFormat, &bw, &bh); 204 assert(y % bh == 0); 232 map += stride * (y / bh) + texelSize * (x / bw);
|
/external/syslinux/gpxe/src/arch/i386/include/ |
H A D | registers.h | 82 uint8_t bh; member in struct:i386_regs::__anon20080::__anon20081
|
/external/libjpeg-turbo/simd/ |
H A D | jdcolext-altivec.c | 49 crl, crh, rl, rh, gl, gh, bl, bh, g0w, g1w, g2w, g3w; local 110 bh = vec_add(cbh, cbh); 112 bh = vec_madds(bh, pw_mf0228, pw_one); 114 bh = vec_sra(bh, (__vector unsigned short)pw_one); 116 bh = vec_add(bh, cbh); 118 bh = vec_add(bh, cb [all...] |
/external/libvncserver/test/ |
H A D | bmp.c | 181 bmphdr bh; int flags=O_RDONLY; local 193 readme(fd, &bh.bfType, sizeof(unsigned short)); 194 if(!littleendian()) bh.bfType=byteswap16(bh.bfType); 196 if(bh.bfType==0x3650) 201 if(bh.bfType==0x3350) 207 readme(fd, &bh.bfSize, sizeof(unsigned int)); 208 readme(fd, &bh.bfReserved1, sizeof(unsigned short)); 209 readme(fd, &bh.bfReserved2, sizeof(unsigned short)); 210 readme(fd, &bh 304 bmphdr bh; int mode; local [all...] |