/external/webp/src/utils/ |
D | bit_writer.c | 26 static int BitWriterResize(VP8BitWriter* const bw, size_t extra_size) { in BitWriterResize() argument 29 const uint64_t needed_size_64b = (uint64_t)bw->pos_ + extra_size; in BitWriterResize() 32 bw->error_ = 1; in BitWriterResize() 35 if (needed_size <= bw->max_pos_) return 1; in BitWriterResize() 37 new_size = 2 * bw->max_pos_; in BitWriterResize() 42 bw->error_ = 1; in BitWriterResize() 45 if (bw->pos_ > 0) { in BitWriterResize() 46 assert(bw->buf_ != NULL); in BitWriterResize() 47 memcpy(new_buf, bw->buf_, bw->pos_); in BitWriterResize() 49 WebPSafeFree(bw->buf_); in BitWriterResize() [all …]
|
D | bit_writer.h | 39 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size); 41 uint8_t* VP8BitWriterFinish(VP8BitWriter* const bw); 44 void VP8BitWriterWipeOut(VP8BitWriter* const bw); 46 int VP8PutBit(VP8BitWriter* const bw, int bit, int prob); 47 int VP8PutBitUniform(VP8BitWriter* const bw, int bit); 48 void VP8PutBits(VP8BitWriter* const bw, uint32_t value, int nb_bits); 49 void VP8PutSignedBits(VP8BitWriter* const bw, int value, int nb_bits); 52 int VP8BitWriterAppend(VP8BitWriter* const bw, 56 static WEBP_INLINE uint64_t VP8BitWriterPos(const VP8BitWriter* const bw) { in VP8BitWriterPos() argument 57 return (uint64_t)(bw->pos_ + bw->run_) * 8 + 8 + bw->nb_bits_; in VP8BitWriterPos() [all …]
|
/external/opencv3/3rdparty/libwebp/utils/ |
D | bit_writer.c | 27 static int BitWriterResize(VP8BitWriter* const bw, size_t extra_size) { in BitWriterResize() argument 30 const uint64_t needed_size_64b = (uint64_t)bw->pos_ + extra_size; in BitWriterResize() 33 bw->error_ = 1; in BitWriterResize() 36 if (needed_size <= bw->max_pos_) return 1; in BitWriterResize() 38 new_size = 2 * bw->max_pos_; in BitWriterResize() 43 bw->error_ = 1; in BitWriterResize() 46 memcpy(new_buf, bw->buf_, bw->pos_); in BitWriterResize() 47 free(bw->buf_); in BitWriterResize() 48 bw->buf_ = new_buf; in BitWriterResize() 49 bw->max_pos_ = new_size; in BitWriterResize() [all …]
|
D | bit_writer.h | 39 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size); 41 uint8_t* VP8BitWriterFinish(VP8BitWriter* const bw); 44 void VP8BitWriterWipeOut(VP8BitWriter* const bw); 46 int VP8PutBit(VP8BitWriter* const bw, int bit, int prob); 47 int VP8PutBitUniform(VP8BitWriter* const bw, int bit); 48 void VP8PutValue(VP8BitWriter* const bw, int value, int nb_bits); 49 void VP8PutSignedValue(VP8BitWriter* const bw, int value, int nb_bits); 52 int VP8BitWriterAppend(VP8BitWriter* const bw, 56 static WEBP_INLINE uint64_t VP8BitWriterPos(const VP8BitWriter* const bw) { in VP8BitWriterPos() argument 57 return (uint64_t)(bw->pos_ + bw->run_) * 8 + 8 + bw->nb_bits_; in VP8BitWriterPos() [all …]
|
/external/flac/libFLAC/ |
D | bitwriter.c | 71 #define FLAC__TOTAL_BITS(bw) (FLAC__WORDS_TO_BITS((bw)->words) + (bw)->bits) argument 85 FLAC__bool bitwriter_grow_(FLAC__BitWriter *bw, unsigned bits_to_add) in bitwriter_grow_() argument 90 FLAC__ASSERT(0 != bw); in bitwriter_grow_() 91 FLAC__ASSERT(0 != bw->buffer); in bitwriter_grow_() 94 …new_capacity = bw->words + ((bw->bits + bits_to_add + FLAC__BITS_PER_WORD - 1) / FLAC__BITS_PER_WO… in bitwriter_grow_() 99 if(bw->capacity >= new_capacity) in bitwriter_grow_() 103 if((new_capacity - bw->capacity) % FLAC__BITWRITER_DEFAULT_INCREMENT) in bitwriter_grow_() 104 …new_capacity += FLAC__BITWRITER_DEFAULT_INCREMENT - ((new_capacity - bw->capacity) % FLAC__BITWRIT… in bitwriter_grow_() 106 FLAC__ASSERT(0 == (new_capacity - bw->capacity) % FLAC__BITWRITER_DEFAULT_INCREMENT); in bitwriter_grow_() 107 FLAC__ASSERT(new_capacity > bw->capacity); in bitwriter_grow_() [all …]
|
D | stream_encoder_framing.c | 43 static FLAC__bool add_entropy_coding_method_(FLAC__BitWriter *bw, const FLAC__EntropyCodingMethod *… 44 static FLAC__bool add_residual_partitioned_rice_(FLAC__BitWriter *bw, const FLAC__int32 residual[],… 46 FLAC__bool FLAC__add_metadata_block(const FLAC__StreamMetadata *metadata, FLAC__BitWriter *bw) in FLAC__add_metadata_block() argument 51 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->is_last, FLAC__STREAM_METADATA_IS_LAST_LEN)) in FLAC__add_metadata_block() 54 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->type, FLAC__STREAM_METADATA_TYPE_LEN)) in FLAC__add_metadata_block() 67 if(!FLAC__bitwriter_write_raw_uint32(bw, i, FLAC__STREAM_METADATA_LENGTH_LEN)) in FLAC__add_metadata_block() 73 …if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.min_blocksize, FLAC__STREAM_ME… in FLAC__add_metadata_block() 76 …if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.max_blocksize, FLAC__STREAM_ME… in FLAC__add_metadata_block() 79 …if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.min_framesize, FLAC__STREAM_ME… in FLAC__add_metadata_block() 82 …if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.max_framesize, FLAC__STREAM_ME… in FLAC__add_metadata_block() [all …]
|
/external/webp/src/enc/ |
D | tree.c | 270 static int PutI4Mode(VP8BitWriter* const bw, int mode, in PutI4Mode() argument 272 if (VP8PutBit(bw, mode != B_DC_PRED, prob[0])) { in PutI4Mode() 273 if (VP8PutBit(bw, mode != B_TM_PRED, prob[1])) { in PutI4Mode() 274 if (VP8PutBit(bw, mode != B_VE_PRED, prob[2])) { in PutI4Mode() 275 if (!VP8PutBit(bw, mode >= B_LD_PRED, prob[3])) { in PutI4Mode() 276 if (VP8PutBit(bw, mode != B_HE_PRED, prob[4])) { in PutI4Mode() 277 VP8PutBit(bw, mode != B_RD_PRED, prob[5]); in PutI4Mode() 280 if (VP8PutBit(bw, mode != B_LD_PRED, prob[6])) { in PutI4Mode() 281 if (VP8PutBit(bw, mode != B_VL_PRED, prob[7])) { in PutI4Mode() 282 VP8PutBit(bw, mode != B_HD_PRED, prob[8]); in PutI4Mode() [all …]
|
D | syntax.c | 187 static void PutSegmentHeader(VP8BitWriter* const bw, in PutSegmentHeader() argument 191 if (VP8PutBitUniform(bw, (hdr->num_segments_ > 1))) { in PutSegmentHeader() 195 VP8PutBitUniform(bw, hdr->update_map_); in PutSegmentHeader() 196 if (VP8PutBitUniform(bw, update_data)) { in PutSegmentHeader() 198 VP8PutBitUniform(bw, 1); // (segment_feature_mode = 1. Paragraph 9.3.) in PutSegmentHeader() 200 VP8PutSignedBits(bw, enc->dqm_[s].quant_, 7); in PutSegmentHeader() 203 VP8PutSignedBits(bw, enc->dqm_[s].fstrength_, 6); in PutSegmentHeader() 208 if (VP8PutBitUniform(bw, (proba->segments_[s] != 255u))) { in PutSegmentHeader() 209 VP8PutBits(bw, proba->segments_[s], 8); in PutSegmentHeader() 217 static void PutFilterHeader(VP8BitWriter* const bw, in PutFilterHeader() argument [all …]
|
D | vp8l.c | 497 VP8LBitWriter* const bw, const uint8_t* code_length_bitdepth) { in StoreHuffmanTreeOfHuffmanTreeToBitMask() argument 512 VP8LPutBits(bw, codes_to_store - 4, 4); in StoreHuffmanTreeOfHuffmanTreeToBitMask() 514 VP8LPutBits(bw, code_length_bitdepth[kStorageOrder[i]], 3); in StoreHuffmanTreeOfHuffmanTreeToBitMask() 535 VP8LBitWriter* const bw, in StoreHuffmanTreeToBitMask() argument 542 VP8LPutBits(bw, huffman_code->codes[ix], huffman_code->code_lengths[ix]); in StoreHuffmanTreeToBitMask() 545 VP8LPutBits(bw, extra_bits, 2); in StoreHuffmanTreeToBitMask() 548 VP8LPutBits(bw, extra_bits, 3); in StoreHuffmanTreeToBitMask() 551 VP8LPutBits(bw, extra_bits, 7); in StoreHuffmanTreeToBitMask() 558 static void StoreFullHuffmanCode(VP8LBitWriter* const bw, in StoreFullHuffmanCode() argument 571 VP8LPutBits(bw, 0, 1); in StoreFullHuffmanCode() [all …]
|
D | alpha.c | 51 VP8LBitWriter* const bw, in EncodeLossless() argument 82 ok = (VP8LEncodeStream(&config, &picture, bw) == VP8_ENC_OK); in EncodeLossless() 84 ok = ok && !bw->error_; in EncodeLossless() 86 VP8LBitWriterWipeOut(bw); in EncodeLossless() 97 VP8BitWriter bw; member 159 VP8BitWriterInit(&result->bw, ALPHA_HEADER_LEN + output_size); in EncodeAlphaInternal() 160 ok = ok && VP8BitWriterAppend(&result->bw, &header, ALPHA_HEADER_LEN); in EncodeAlphaInternal() 161 ok = ok && VP8BitWriterAppend(&result->bw, output, output_size); in EncodeAlphaInternal() 166 ok = ok && !result->bw.error_; in EncodeAlphaInternal() 167 result->score = VP8BitWriterSize(&result->bw); in EncodeAlphaInternal() [all …]
|
D | frame.c | 223 static int PutCoeffs(VP8BitWriter* const bw, int ctx, const VP8Residual* res) { in PutCoeffs() argument 227 if (!VP8PutBit(bw, res->last >= 0, p[0])) { in PutCoeffs() 235 if (!VP8PutBit(bw, v != 0, p[1])) { in PutCoeffs() 239 if (!VP8PutBit(bw, v > 1, p[2])) { in PutCoeffs() 242 if (!VP8PutBit(bw, v > 4, p[3])) { in PutCoeffs() 243 if (VP8PutBit(bw, v != 2, p[4])) in PutCoeffs() 244 VP8PutBit(bw, v == 4, p[5]); in PutCoeffs() 245 } else if (!VP8PutBit(bw, v > 10, p[6])) { in PutCoeffs() 246 if (!VP8PutBit(bw, v > 6, p[7])) { in PutCoeffs() 247 VP8PutBit(bw, v == 6, 159); in PutCoeffs() [all …]
|
/external/opencv3/3rdparty/libwebp/enc/ |
D | tree.c | 275 static int PutI4Mode(VP8BitWriter* const bw, int mode, in PutI4Mode() argument 277 if (VP8PutBit(bw, mode != B_DC_PRED, prob[0])) { in PutI4Mode() 278 if (VP8PutBit(bw, mode != B_TM_PRED, prob[1])) { in PutI4Mode() 279 if (VP8PutBit(bw, mode != B_VE_PRED, prob[2])) { in PutI4Mode() 280 if (!VP8PutBit(bw, mode >= B_LD_PRED, prob[3])) { in PutI4Mode() 281 if (VP8PutBit(bw, mode != B_HE_PRED, prob[4])) { in PutI4Mode() 282 VP8PutBit(bw, mode != B_RD_PRED, prob[5]); in PutI4Mode() 285 if (VP8PutBit(bw, mode != B_LD_PRED, prob[6])) { in PutI4Mode() 286 if (VP8PutBit(bw, mode != B_VL_PRED, prob[7])) { in PutI4Mode() 287 VP8PutBit(bw, mode != B_HD_PRED, prob[8]); in PutI4Mode() [all …]
|
D | syntax.c | 191 static void PutSegmentHeader(VP8BitWriter* const bw, in PutSegmentHeader() argument 195 if (VP8PutBitUniform(bw, (hdr->num_segments_ > 1))) { in PutSegmentHeader() 199 VP8PutBitUniform(bw, hdr->update_map_); in PutSegmentHeader() 200 if (VP8PutBitUniform(bw, update_data)) { in PutSegmentHeader() 202 VP8PutBitUniform(bw, 1); // (segment_feature_mode = 1. Paragraph 9.3.) in PutSegmentHeader() 204 VP8PutSignedValue(bw, enc->dqm_[s].quant_, 7); in PutSegmentHeader() 207 VP8PutSignedValue(bw, enc->dqm_[s].fstrength_, 6); in PutSegmentHeader() 212 if (VP8PutBitUniform(bw, (proba->segments_[s] != 255u))) { in PutSegmentHeader() 213 VP8PutValue(bw, proba->segments_[s], 8); in PutSegmentHeader() 221 static void PutFilterHeader(VP8BitWriter* const bw, in PutFilterHeader() argument [all …]
|
D | vp8l.c | 246 VP8LBitWriter* const bw, const uint8_t* code_length_bitdepth) { in StoreHuffmanTreeOfHuffmanTreeToBitMask() argument 261 VP8LWriteBits(bw, 4, codes_to_store - 4); in StoreHuffmanTreeOfHuffmanTreeToBitMask() 263 VP8LWriteBits(bw, 3, code_length_bitdepth[kStorageOrder[i]]); in StoreHuffmanTreeOfHuffmanTreeToBitMask() 284 VP8LBitWriter* const bw, in StoreHuffmanTreeToBitMask() argument 291 VP8LWriteBits(bw, huffman_code->code_lengths[ix], huffman_code->codes[ix]); in StoreHuffmanTreeToBitMask() 294 VP8LWriteBits(bw, 2, extra_bits); in StoreHuffmanTreeToBitMask() 297 VP8LWriteBits(bw, 3, extra_bits); in StoreHuffmanTreeToBitMask() 300 VP8LWriteBits(bw, 7, extra_bits); in StoreHuffmanTreeToBitMask() 306 static int StoreFullHuffmanCode(VP8LBitWriter* const bw, in StoreFullHuffmanCode() argument 322 VP8LWriteBits(bw, 1, 0); in StoreFullHuffmanCode() [all …]
|
D | alpha.c | 53 VP8BitWriter* const bw, in EncodeLossless() argument 94 VP8BitWriterAppend(bw, buffer, buffer_size); in EncodeLossless() 97 return ok && !bw->error_; in EncodeLossless() 106 VP8BitWriter* const bw, in EncodeAlphaInternal() argument 128 VP8BitWriterInit(bw, expected_size); in EncodeAlphaInternal() 129 VP8BitWriterAppend(bw, &header, ALPHA_HEADER_LEN); in EncodeAlphaInternal() 140 ok = VP8BitWriterAppend(bw, alpha_src, width * height); in EncodeAlphaInternal() 141 ok = ok && !bw->error_; in EncodeAlphaInternal() 143 ok = EncodeLossless(alpha_src, width, height, effort_level, bw, stats); in EncodeAlphaInternal() 144 VP8BitWriterFinish(bw); in EncodeAlphaInternal() [all …]
|
D | frame.c | 396 static int PutCoeffs(VP8BitWriter* const bw, int ctx, const VP8Residual* res) { in PutCoeffs() argument 400 if (!VP8PutBit(bw, res->last >= 0, p[0])) { in PutCoeffs() 408 if (!VP8PutBit(bw, v != 0, p[1])) { in PutCoeffs() 412 if (!VP8PutBit(bw, v > 1, p[2])) { in PutCoeffs() 415 if (!VP8PutBit(bw, v > 4, p[3])) { in PutCoeffs() 416 if (VP8PutBit(bw, v != 2, p[4])) in PutCoeffs() 417 VP8PutBit(bw, v == 4, p[5]); in PutCoeffs() 418 } else if (!VP8PutBit(bw, v > 10, p[6])) { in PutCoeffs() 419 if (!VP8PutBit(bw, v > 6, p[7])) { in PutCoeffs() 420 VP8PutBit(bw, v == 6, 159); in PutCoeffs() [all …]
|
/external/flac/libFLAC/include/private/ |
D | bitwriter.h | 49 void FLAC__bitwriter_delete(FLAC__BitWriter *bw); 50 FLAC__bool FLAC__bitwriter_init(FLAC__BitWriter *bw); 51 void FLAC__bitwriter_free(FLAC__BitWriter *bw); /* does not 'free(buffer)' */ 52 void FLAC__bitwriter_clear(FLAC__BitWriter *bw); 53 void FLAC__bitwriter_dump(const FLAC__BitWriter *bw, FILE *out); 60 FLAC__bool FLAC__bitwriter_get_write_crc16(FLAC__BitWriter *bw, FLAC__uint16 *crc); 61 FLAC__bool FLAC__bitwriter_get_write_crc8(FLAC__BitWriter *bw, FLAC__byte *crc); 66 FLAC__bool FLAC__bitwriter_is_byte_aligned(const FLAC__BitWriter *bw); 67 unsigned FLAC__bitwriter_get_input_bits_unconsumed(const FLAC__BitWriter *bw); /* can be called any… 76 FLAC__bool FLAC__bitwriter_get_buffer(FLAC__BitWriter *bw, const FLAC__byte **buffer, size_t *bytes… [all …]
|
D | stream_encoder_framing.h | 39 FLAC__bool FLAC__add_metadata_block(const FLAC__StreamMetadata *metadata, FLAC__BitWriter *bw); 40 FLAC__bool FLAC__frame_add_header(const FLAC__FrameHeader *header, FLAC__BitWriter *bw); 41 …AC__Subframe_Constant *subframe, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw); 42 …rame, unsigned residual_samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw); 43 …rame, unsigned residual_samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw); 44 …tim *subframe, unsigned samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw);
|
/external/e2fsprogs/debugfs/ |
D | icheck.c | 40 struct block_walk_struct *bw = (struct block_walk_struct *) private; in icheck_proc() local 43 for (i=0; i < bw->num_blocks; i++) { in icheck_proc() 44 if (!bw->barray[i].ino && bw->barray[i].blk == *block_nr) { in icheck_proc() 45 bw->barray[i].ino = bw->inode; in icheck_proc() 46 bw->blocks_left--; in icheck_proc() 49 if (!bw->blocks_left) in icheck_proc() 57 struct block_walk_struct bw; in do_icheck() local 73 bw.barray = malloc(sizeof(struct block_info) * argc); in do_icheck() 74 if (!bw.barray) { in do_icheck() 79 memset(bw.barray, 0, sizeof(struct block_info) * argc); in do_icheck() [all …]
|
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
D | CheckAPI.java | 625 BufferedWriter bw = null; in run() local 628 bw = new BufferedWriter(osw); in run() 632 bw.write(String.valueOf(DATA_FILE_VERSION) + SEP); // header version in run() 633 bw.write(srcName + SEP); // source name in run() 634 bw.newLine(); in run() 635 writeResults(results, bw, true, false, false); in run() 670 bw.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">"); in run() 671 bw.newLine(); in run() 672 bw.write("<html>"); in run() 673 bw.newLine(); in run() [all …]
|
/external/toybox/toys/other/ |
D | bzcat.c | 161 static int read_block_header(struct bunzip_data *bd, struct bwdata *bw) in read_block_header() argument 170 bw->headerCRC = get_bits(bd,32); in read_block_header() 180 if ((bw->origPtr = get_bits(bd,24)) > bd->dbufSize) return RETVAL_DATA_ERROR; in read_block_header() 319 static int read_huffman_data(struct bunzip_data *bd, struct bwdata *bw) in read_huffman_data() argument 324 unsigned int *dbuf = bw->dbuf; in read_huffman_data() 332 byteCount = bw->byteCount; in read_huffman_data() 435 if (bw->origPtr >= (bw->writeCount = dbufCount)) return RETVAL_DATA_ERROR; in read_huffman_data() 450 static void burrows_wheeler_prep(struct bunzip_data *bd, struct bwdata *bw) in burrows_wheeler_prep() argument 453 unsigned int *dbuf = bw->dbuf; in burrows_wheeler_prep() 454 int *byteCount = bw->byteCount; in burrows_wheeler_prep() [all …]
|
/external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/gl-matrix/ |
D | quat.js | 216 bx = b[0], by = b[1], bz = b[2], bw = b[3]; 218 out[0] = ax * bw + aw * bx + ay * bz - az * by; 219 out[1] = ay * bw + aw * by + az * bx - ax * bz; 220 out[2] = az * bw + aw * bz + ax * by - ay * bx; 221 out[3] = aw * bw - ax * bx - ay * by - az * bz; 254 bx = Math.sin(rad), bw = Math.cos(rad); 256 out[0] = ax * bw + aw * bx; 257 out[1] = ay * bw + az * bx; 258 out[2] = az * bw - ay * bx; 259 out[3] = aw * bw - ax * bx; [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_format_rgtc.c | 53 const unsigned bw = 4, bh = 4, comps = 4; in util_format_rgtc1_unorm_unpack_rgba_8unorm() local 59 for(x = 0; x < width; x += bw) { in util_format_rgtc1_unorm_unpack_rgba_8unorm() 61 for(i = 0; i < bw; ++i) { in util_format_rgtc1_unorm_unpack_rgba_8unorm() 79 const unsigned bw = 4, bh = 4, bytes_per_block = 8; in util_format_rgtc1_unorm_pack_rgba_8unorm() local 84 for(x = 0; x < width; x += bw) { in util_format_rgtc1_unorm_pack_rgba_8unorm() 87 for(i = 0; i < bw; ++i) { in util_format_rgtc1_unorm_pack_rgba_8unorm() 126 const unsigned bw = 4, bh = 4, bytes_per_block = 8; in util_format_rgtc1_unorm_pack_rgba_float() local 131 for(x = 0; x < width; x += bw) { in util_format_rgtc1_unorm_pack_rgba_float() 134 for(i = 0; i < bw; ++i) { in util_format_rgtc1_unorm_pack_rgba_float() 177 const unsigned bw = 4, bh = 4, bytes_per_block = 8; in util_format_rgtc1_snorm_pack_rgba_float() local [all …]
|
/external/opencv3/samples/cpp/tutorial_code/ImgProc/ |
D | Morphology_3.cpp | 46 Mat bw; in main() local 47 adaptiveThreshold(~gray, bw, 255, CV_ADAPTIVE_THRESH_MEAN_C, THRESH_BINARY, 15, -2); in main() 50 imshow("binary", bw); in main() 55 Mat horizontal = bw.clone(); in main() 56 Mat vertical = bw.clone(); in main()
|
/external/mesa3d/src/mesa/main/ |
D | texcompress.c | 451 GLuint bw, bh; in _mesa_compressed_image_address() local 454 _mesa_get_format_block_size(mesaFormat, &bw, &bh); in _mesa_compressed_image_address() 456 ASSERT(col % bw == 0); in _mesa_compressed_image_address() 459 offset = ((width + bw - 1) / bw) * (row / bh) + col / bw; in _mesa_compressed_image_address() 480 GLuint bytes, bw, bh; in _mesa_decompress_image() local 483 _mesa_get_format_block_size(format, &bw, &bh); in _mesa_decompress_image()
|