/external/chromium_org/third_party/libwebp/utils/ |
H A D | bit_writer.c | 26 static int BitWriterResize(VP8BitWriter* const bw, size_t extra_size) { argument 29 const uint64_t needed_size_64b = (uint64_t)bw->pos_ + extra_size; 32 bw->error_ = 1; 35 if (needed_size <= bw->max_pos_) return 1; 37 new_size = 2 * bw->max_pos_; 42 bw->error_ = 1; 45 if (bw->pos_ > 0) { 46 assert(bw->buf_ != NULL); 47 memcpy(new_buf, bw->buf_, bw 55 kFlush(VP8BitWriter* const bw) argument 108 VP8PutBit(VP8BitWriter* const bw, int bit, int prob) argument 126 VP8PutBitUniform(VP8BitWriter* const bw, int bit) argument 143 VP8PutValue(VP8BitWriter* const bw, int value, int nb_bits) argument 149 VP8PutSignedValue(VP8BitWriter* const bw, int value, int nb_bits) argument 161 VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size) argument 173 VP8BitWriterFinish(VP8BitWriter* const bw) argument 180 VP8BitWriterAppend(VP8BitWriter* const bw, const uint8_t* data, size_t size) argument 190 VP8BitWriterWipeOut(VP8BitWriter* const bw) argument 209 VP8LBitWriterResize(VP8LBitWriter* const bw, size_t extra_size) argument 240 VP8LBitWriterInit(VP8LBitWriter* const bw, size_t expected_size) argument 245 VP8LBitWriterDestroy(VP8LBitWriter* const bw) argument 252 VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits) argument 294 VP8LBitWriterFinish(VP8LBitWriter* const bw) argument [all...] |
H A 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) { argument 57 return (uint64_t)(bw 61 VP8BitWriterBuf(const VP8BitWriter* const bw) argument 65 VP8BitWriterSize(const VP8BitWriter* const bw) argument 96 VP8LBitWriterNumBytes(VP8LBitWriter* const bw) argument [all...] |
/external/webp/src/utils/ |
H A D | bit_writer.c | 26 static int BitWriterResize(VP8BitWriter* const bw, size_t extra_size) { argument 29 const uint64_t needed_size_64b = (uint64_t)bw->pos_ + extra_size; 32 bw->error_ = 1; 35 if (needed_size <= bw->max_pos_) return 1; 37 new_size = 2 * bw->max_pos_; 42 bw->error_ = 1; 45 if (bw->pos_ > 0) { 46 assert(bw->buf_ != NULL); 47 memcpy(new_buf, bw->buf_, bw 55 kFlush(VP8BitWriter* const bw) argument 108 VP8PutBit(VP8BitWriter* const bw, int bit, int prob) argument 126 VP8PutBitUniform(VP8BitWriter* const bw, int bit) argument 143 VP8PutValue(VP8BitWriter* const bw, int value, int nb_bits) argument 149 VP8PutSignedValue(VP8BitWriter* const bw, int value, int nb_bits) argument 161 VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size) argument 173 VP8BitWriterFinish(VP8BitWriter* const bw) argument 180 VP8BitWriterAppend(VP8BitWriter* const bw, const uint8_t* data, size_t size) argument 190 VP8BitWriterWipeOut(VP8BitWriter* const bw) argument 209 VP8LBitWriterResize(VP8LBitWriter* const bw, size_t extra_size) argument 240 VP8LBitWriterInit(VP8LBitWriter* const bw, size_t expected_size) argument 245 VP8LBitWriterDestroy(VP8LBitWriter* const bw) argument 252 VP8LWriteBits(VP8LBitWriter* const bw, int n_bits, uint32_t bits) argument 294 VP8LBitWriterFinish(VP8LBitWriter* const bw) argument [all...] |
H A 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) { argument 57 return (uint64_t)(bw 61 VP8BitWriterBuf(const VP8BitWriter* const bw) argument 65 VP8BitWriterSize(const VP8BitWriter* const bw) argument 96 VP8LBitWriterNumBytes(VP8LBitWriter* const bw) argument [all...] |
/external/flac/libFLAC/include/private/ |
H A D | bitwriter.h | 48 void FLAC__bitwriter_delete(FLAC__BitWriter *bw); 49 FLAC__bool FLAC__bitwriter_init(FLAC__BitWriter *bw); 50 void FLAC__bitwriter_free(FLAC__BitWriter *bw); /* does not 'free(buffer)' */ 51 void FLAC__bitwriter_clear(FLAC__BitWriter *bw); 52 void FLAC__bitwriter_dump(const FLAC__BitWriter *bw, FILE *out); 57 * non-const *bw because they have to cal FLAC__bitwriter_get_buffer() 59 FLAC__bool FLAC__bitwriter_get_write_crc16(FLAC__BitWriter *bw, FLAC__uint16 *crc); 60 FLAC__bool FLAC__bitwriter_get_write_crc8(FLAC__BitWriter *bw, FLAC__byte *crc); 65 FLAC__bool FLAC__bitwriter_is_byte_aligned(const FLAC__BitWriter *bw); 66 unsigned FLAC__bitwriter_get_input_bits_unconsumed(const FLAC__BitWriter *bw); /* ca [all...] |
H A D | stream_encoder_framing.h | 38 FLAC__bool FLAC__add_metadata_block(const FLAC__StreamMetadata *metadata, FLAC__BitWriter *bw); 39 FLAC__bool FLAC__frame_add_header(const FLAC__FrameHeader *header, FLAC__BitWriter *bw); 40 FLAC__bool FLAC__subframe_add_constant(const FLAC__Subframe_Constant *subframe, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw); 41 FLAC__bool FLAC__subframe_add_fixed(const FLAC__Subframe_Fixed *subframe, unsigned residual_samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw); 42 FLAC__bool FLAC__subframe_add_lpc(const FLAC__Subframe_LPC *subframe, unsigned residual_samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw); 43 FLAC__bool FLAC__subframe_add_verbatim(const FLAC__Subframe_Verbatim *subframe, unsigned samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw);
|
/external/flac/libFLAC/ |
H A D | bitwriter.c | 84 #define FLAC__TOTAL_BITS(bw) (FLAC__WORDS_TO_BITS((bw)->words) + (bw)->bits) 120 static FLAC__bool bitwriter_grow_(FLAC__BitWriter *bw, unsigned bits_to_add) argument 125 FLAC__ASSERT(0 != bw); 126 FLAC__ASSERT(0 != bw->buffer); 129 new_capacity = bw->words + ((bw->bits + bits_to_add + FLAC__BITS_PER_WORD - 1) / FLAC__BITS_PER_WORD); 134 if(bw->capacity >= new_capacity) 138 if((new_capacity - bw 162 FLAC__BitWriter *bw = (FLAC__BitWriter*)calloc(1, sizeof(FLAC__BitWriter)); local 167 FLAC__bitwriter_delete(FLAC__BitWriter *bw) argument 181 FLAC__bitwriter_init(FLAC__BitWriter *bw) argument 194 FLAC__bitwriter_free(FLAC__BitWriter *bw) argument 205 FLAC__bitwriter_clear(FLAC__BitWriter *bw) argument 210 FLAC__bitwriter_dump(const FLAC__BitWriter *bw, FILE *out) argument 234 FLAC__bitwriter_get_write_crc16(FLAC__BitWriter *bw, FLAC__uint16 *crc) argument 249 FLAC__bitwriter_get_write_crc8(FLAC__BitWriter *bw, FLAC__byte *crc) argument 264 FLAC__bitwriter_is_byte_aligned(const FLAC__BitWriter *bw) argument 269 FLAC__bitwriter_get_input_bits_unconsumed(const FLAC__BitWriter *bw) argument 274 FLAC__bitwriter_get_buffer(FLAC__BitWriter *bw, const FLAC__byte **buffer, size_t *bytes) argument 294 FLAC__bitwriter_release_buffer(FLAC__BitWriter *bw) argument 302 FLAC__bitwriter_write_zeroes(FLAC__BitWriter *bw, unsigned bits) argument 340 FLAC__bitwriter_write_raw_uint32(FLAC__BitWriter *bw, FLAC__uint32 val, unsigned bits) argument 379 FLAC__bitwriter_write_raw_int32(FLAC__BitWriter *bw, FLAC__int32 val, unsigned bits) argument 388 FLAC__bitwriter_write_raw_uint64(FLAC__BitWriter *bw, FLAC__uint64 val, unsigned bits) argument 400 FLAC__bitwriter_write_raw_uint32_little_endian(FLAC__BitWriter *bw, FLAC__uint32 val) argument 416 FLAC__bitwriter_write_byte_block(FLAC__BitWriter *bw, const FLAC__byte vals[], unsigned nvals) argument 429 FLAC__bitwriter_write_unary_unsigned(FLAC__BitWriter *bw, unsigned val) argument 515 FLAC__bitwriter_write_rice_signed(FLAC__BitWriter *bw, FLAC__int32 val, unsigned parameter) argument 541 FLAC__bitwriter_write_rice_signed_block(FLAC__BitWriter *bw, const FLAC__int32 *vals, unsigned nvals, unsigned parameter) argument 781 FLAC__bitwriter_write_utf8_uint32(FLAC__BitWriter *bw, FLAC__uint32 val) argument 827 FLAC__bitwriter_write_utf8_uint64(FLAC__BitWriter *bw, FLAC__uint64 val) argument 882 FLAC__bitwriter_zero_pad_to_byte_boundary(FLAC__BitWriter *bw) argument [all...] |
H A D | stream_encoder_framing.c | 47 static FLAC__bool add_entropy_coding_method_(FLAC__BitWriter *bw, const FLAC__EntropyCodingMethod *method); 48 static FLAC__bool add_residual_partitioned_rice_(FLAC__BitWriter *bw, const FLAC__int32 residual[], const unsigned residual_samples, const unsigned predictor_order, const unsigned rice_parameters[], const unsigned raw_bits[], const unsigned partition_order, const FLAC__bool is_extended); 50 FLAC__bool FLAC__add_metadata_block(const FLAC__StreamMetadata *metadata, FLAC__BitWriter *bw) argument 55 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->is_last, FLAC__STREAM_METADATA_IS_LAST_LEN)) 58 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->type, FLAC__STREAM_METADATA_TYPE_LEN)) 71 if(!FLAC__bitwriter_write_raw_uint32(bw, i, FLAC__STREAM_METADATA_LENGTH_LEN)) 77 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.min_blocksize, FLAC__STREAM_METADATA_STREAMINFO_MIN_BLOCK_SIZE_LEN)) 80 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.max_blocksize, FLAC__STREAM_METADATA_STREAMINFO_MAX_BLOCK_SIZE_LEN)) 83 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.min_framesize, FLAC__STREAM_METADATA_STREAMINFO_MIN_FRAME_SIZE_LEN)) 86 if(!FLAC__bitwriter_write_raw_uint32(bw, metadat 219 FLAC__frame_add_header(const FLAC__FrameHeader *header, FLAC__BitWriter *bw) argument 366 FLAC__subframe_add_constant(const FLAC__Subframe_Constant *subframe, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw) argument 379 FLAC__subframe_add_fixed(const FLAC__Subframe_Fixed *subframe, unsigned residual_samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw) argument 417 FLAC__subframe_add_lpc(const FLAC__Subframe_LPC *subframe, unsigned residual_samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw) argument 463 FLAC__subframe_add_verbatim(const FLAC__Subframe_Verbatim *subframe, unsigned samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWriter *bw) argument 481 add_entropy_coding_method_(FLAC__BitWriter *bw, const FLAC__EntropyCodingMethod *method) argument 497 add_residual_partitioned_rice_(FLAC__BitWriter *bw, const FLAC__int32 residual[], const unsigned residual_samples, const unsigned predictor_order, const unsigned rice_parameters[], const unsigned raw_bits[], const unsigned partition_order, const FLAC__bool is_extended) argument [all...] |
/external/chromium_org/third_party/libwebp/enc/ |
H A D | tree.c | 270 static int PutI4Mode(VP8BitWriter* const bw, int mode, argument 272 if (VP8PutBit(bw, mode != B_DC_PRED, prob[0])) { 273 if (VP8PutBit(bw, mode != B_TM_PRED, prob[1])) { 274 if (VP8PutBit(bw, mode != B_VE_PRED, prob[2])) { 275 if (!VP8PutBit(bw, mode >= B_LD_PRED, prob[3])) { 276 if (VP8PutBit(bw, mode != B_HE_PRED, prob[4])) { 277 VP8PutBit(bw, mode != B_RD_PRED, prob[5]); 280 if (VP8PutBit(bw, mode != B_LD_PRED, prob[6])) { 281 if (VP8PutBit(bw, mode != B_VL_PRED, prob[7])) { 282 VP8PutBit(bw, mod 292 PutI16Mode(VP8BitWriter* const bw, int mode) argument 300 PutUVMode(VP8BitWriter* const bw, int uv_mode) argument 308 PutSegment(VP8BitWriter* const bw, int s, const uint8_t* p) argument 314 VP8BitWriter* const bw = &enc->bw_; local 485 VP8WriteProbas(VP8BitWriter* const bw, const VP8Proba* const probas) argument [all...] |
H A D | syntax.c | 187 static void PutSegmentHeader(VP8BitWriter* const bw, argument 191 if (VP8PutBitUniform(bw, (hdr->num_segments_ > 1))) { 195 VP8PutBitUniform(bw, hdr->update_map_); 196 if (VP8PutBitUniform(bw, update_data)) { 198 VP8PutBitUniform(bw, 1); // (segment_feature_mode = 1. Paragraph 9.3.) 200 VP8PutSignedValue(bw, enc->dqm_[s].quant_, 7); 203 VP8PutSignedValue(bw, enc->dqm_[s].fstrength_, 6); 208 if (VP8PutBitUniform(bw, (proba->segments_[s] != 255u))) { 209 VP8PutValue(bw, proba->segments_[s], 8); 217 static void PutFilterHeader(VP8BitWriter* const bw, argument 237 PutQuant(VP8BitWriter* const bw, const VP8Encoder* const enc) argument 267 VP8BitWriter* const bw = &enc->bw_; local 313 VP8BitWriter* const bw = &enc->bw_; local [all...] |
H A D | vp8l.c | 259 VP8LBitWriter* const bw, const uint8_t* code_length_bitdepth) { 274 VP8LWriteBits(bw, 4, codes_to_store - 4); 276 VP8LWriteBits(bw, 3, code_length_bitdepth[kStorageOrder[i]]); 297 VP8LBitWriter* const bw, 304 VP8LWriteBits(bw, huffman_code->code_lengths[ix], huffman_code->codes[ix]); 307 VP8LWriteBits(bw, 2, extra_bits); 310 VP8LWriteBits(bw, 3, extra_bits); 313 VP8LWriteBits(bw, 7, extra_bits); 320 static void StoreFullHuffmanCode(VP8LBitWriter* const bw, argument 333 VP8LWriteBits(bw, 258 StoreHuffmanTreeOfHuffmanTreeToBitMask( VP8LBitWriter* const bw, const uint8_t* code_length_bitdepth) argument 296 StoreHuffmanTreeToBitMask( VP8LBitWriter* const bw, const HuffmanTreeToken* const tokens, const int num_tokens, const HuffmanTreeCode* const huffman_code) argument 383 StoreHuffmanCode(VP8LBitWriter* const bw, HuffmanTree* const huff_tree, HuffmanTreeToken* const tokens, const HuffmanTreeCode* const huffman_code) argument 422 WriteHuffmanCode(VP8LBitWriter* const bw, const HuffmanTreeCode* const code, int code_index) argument 430 StoreImageToBitMask( VP8LBitWriter* const bw, int width, int histo_bits, VP8LBackwardRefs* const refs, const uint16_t* histogram_symbols, const HuffmanTreeCode* const huffman_codes) argument 481 EncodeImageNoHuffman(VP8LBitWriter* const bw, const uint32_t* const argb, VP8LHashChain* const hash_chain, VP8LBackwardRefs refs_array[2], int width, int height, int quality) argument 555 EncodeImageInternal(VP8LBitWriter* const bw, const uint32_t* const argb, VP8LHashChain* const hash_chain, VP8LBackwardRefs refs_array[2], int width, int height, int quality, int cache_bits, int histogram_bits) argument 701 EvalAndApplySubtractGreen(VP8LEncoder* const enc, int width, int height, VP8LBitWriter* const bw) argument 739 ApplyPredictFilter(const VP8LEncoder* const enc, int width, int height, int quality, VP8LBitWriter* const bw) argument 759 ApplyCrossColorFilter(const VP8LEncoder* const enc, int width, int height, int quality, VP8LBitWriter* const bw) argument 796 WriteImageSize(const WebPPicture* const pic, VP8LBitWriter* const bw) argument 807 WriteRealAlphaAndVersion(VP8LBitWriter* const bw, int has_alpha) argument 813 WriteImage(const WebPPicture* const pic, VP8LBitWriter* const bw, size_t* const coded_size) argument 932 EncodePalette(VP8LBitWriter* const bw, VP8LEncoder* const enc, int quality) argument 1047 VP8LEncodeStream(const WebPConfig* const config, const WebPPicture* const picture, VP8LBitWriter* const bw) argument 1157 VP8LBitWriter bw; local [all...] |
/external/webp/src/enc/ |
H A D | tree.c | 270 static int PutI4Mode(VP8BitWriter* const bw, int mode, argument 272 if (VP8PutBit(bw, mode != B_DC_PRED, prob[0])) { 273 if (VP8PutBit(bw, mode != B_TM_PRED, prob[1])) { 274 if (VP8PutBit(bw, mode != B_VE_PRED, prob[2])) { 275 if (!VP8PutBit(bw, mode >= B_LD_PRED, prob[3])) { 276 if (VP8PutBit(bw, mode != B_HE_PRED, prob[4])) { 277 VP8PutBit(bw, mode != B_RD_PRED, prob[5]); 280 if (VP8PutBit(bw, mode != B_LD_PRED, prob[6])) { 281 if (VP8PutBit(bw, mode != B_VL_PRED, prob[7])) { 282 VP8PutBit(bw, mod 292 PutI16Mode(VP8BitWriter* const bw, int mode) argument 300 PutUVMode(VP8BitWriter* const bw, int uv_mode) argument 308 PutSegment(VP8BitWriter* const bw, int s, const uint8_t* p) argument 314 VP8BitWriter* const bw = &enc->bw_; local 485 VP8WriteProbas(VP8BitWriter* const bw, const VP8Proba* const probas) argument [all...] |
H A D | syntax.c | 187 static void PutSegmentHeader(VP8BitWriter* const bw, argument 191 if (VP8PutBitUniform(bw, (hdr->num_segments_ > 1))) { 195 VP8PutBitUniform(bw, hdr->update_map_); 196 if (VP8PutBitUniform(bw, update_data)) { 198 VP8PutBitUniform(bw, 1); // (segment_feature_mode = 1. Paragraph 9.3.) 200 VP8PutSignedValue(bw, enc->dqm_[s].quant_, 7); 203 VP8PutSignedValue(bw, enc->dqm_[s].fstrength_, 6); 208 if (VP8PutBitUniform(bw, (proba->segments_[s] != 255u))) { 209 VP8PutValue(bw, proba->segments_[s], 8); 217 static void PutFilterHeader(VP8BitWriter* const bw, argument 237 PutQuant(VP8BitWriter* const bw, const VP8Encoder* const enc) argument 267 VP8BitWriter* const bw = &enc->bw_; local 313 VP8BitWriter* const bw = &enc->bw_; local [all...] |
H A D | vp8l.c | 259 VP8LBitWriter* const bw, const uint8_t* code_length_bitdepth) { 274 VP8LWriteBits(bw, 4, codes_to_store - 4); 276 VP8LWriteBits(bw, 3, code_length_bitdepth[kStorageOrder[i]]); 297 VP8LBitWriter* const bw, 304 VP8LWriteBits(bw, huffman_code->code_lengths[ix], huffman_code->codes[ix]); 307 VP8LWriteBits(bw, 2, extra_bits); 310 VP8LWriteBits(bw, 3, extra_bits); 313 VP8LWriteBits(bw, 7, extra_bits); 320 static void StoreFullHuffmanCode(VP8LBitWriter* const bw, argument 333 VP8LWriteBits(bw, 258 StoreHuffmanTreeOfHuffmanTreeToBitMask( VP8LBitWriter* const bw, const uint8_t* code_length_bitdepth) argument 296 StoreHuffmanTreeToBitMask( VP8LBitWriter* const bw, const HuffmanTreeToken* const tokens, const int num_tokens, const HuffmanTreeCode* const huffman_code) argument 383 StoreHuffmanCode(VP8LBitWriter* const bw, HuffmanTree* const huff_tree, HuffmanTreeToken* const tokens, const HuffmanTreeCode* const huffman_code) argument 422 WriteHuffmanCode(VP8LBitWriter* const bw, const HuffmanTreeCode* const code, int code_index) argument 430 StoreImageToBitMask( VP8LBitWriter* const bw, int width, int histo_bits, VP8LBackwardRefs* const refs, const uint16_t* histogram_symbols, const HuffmanTreeCode* const huffman_codes) argument 481 EncodeImageNoHuffman(VP8LBitWriter* const bw, const uint32_t* const argb, VP8LHashChain* const hash_chain, VP8LBackwardRefs refs_array[2], int width, int height, int quality) argument 555 EncodeImageInternal(VP8LBitWriter* const bw, const uint32_t* const argb, VP8LHashChain* const hash_chain, VP8LBackwardRefs refs_array[2], int width, int height, int quality, int cache_bits, int histogram_bits) argument 701 EvalAndApplySubtractGreen(VP8LEncoder* const enc, int width, int height, VP8LBitWriter* const bw) argument 739 ApplyPredictFilter(const VP8LEncoder* const enc, int width, int height, int quality, VP8LBitWriter* const bw) argument 759 ApplyCrossColorFilter(const VP8LEncoder* const enc, int width, int height, int quality, VP8LBitWriter* const bw) argument 796 WriteImageSize(const WebPPicture* const pic, VP8LBitWriter* const bw) argument 807 WriteRealAlphaAndVersion(VP8LBitWriter* const bw, int has_alpha) argument 813 WriteImage(const WebPPicture* const pic, VP8LBitWriter* const bw, size_t* const coded_size) argument 932 EncodePalette(VP8LBitWriter* const bw, VP8LEncoder* const enc, int quality) argument 1047 VP8LEncodeStream(const WebPConfig* const config, const WebPPicture* const picture, VP8LBitWriter* const bw) argument 1157 VP8LBitWriter bw; local [all...] |
/external/e2fsprogs/debugfs/ |
H A D | icheck.c | 40 struct block_walk_struct *bw = (struct block_walk_struct *) private; variable in typeref:struct:block_walk_struct 43 for (i=0; i < bw->num_blocks; i++) { 44 if (!bw->barray[i].ino && bw->barray[i].blk == *block_nr) { 45 bw->barray[i].ino = bw->inode; 46 bw->blocks_left--; 49 if (!bw->blocks_left) 57 struct block_walk_struct bw; local 73 bw [all...] |
/external/chromium_org/third_party/mesa/src/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); 64 return block_size / bw;
|
/external/chromium_org/third_party/mesa/src/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); 64 return block_size / bw;
|
/external/chromium_org/third_party/mesa/src/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); 64 return block_size / bw;
|
/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); 64 return block_size / bw;
|
/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); 64 return block_size / bw;
|
/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); 64 return block_size / bw;
|
/external/chromium_org/ui/file_manager/gallery/js/image_editor/ |
H A D | exif_encoder.js | 200 var bw = new ByteWriter(bytes.buffer, HEADER_SIZE); 203 bw.setByteOrder(ByteWriter.LITTLE_ENDIAN); 204 bw.writeScalar(EXIF_ALIGN_LITTLE, 2); 206 bw.setByteOrder(ByteWriter.BIG_ENDIAN); 207 bw.writeScalar(EXIF_ALIGN_BIG, 2); 210 bw.writeScalar(EXIF_TAG_TIFF, 2); 212 bw.forward('image-dir', 4); // The pointer should point right after itself. 213 bw.resolveOffset('image-dir'); 215 ExifEncoder.encodeDirectory(bw, this.ifd_.image, 219 bw [all...] |
/external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/ |
H A D | quat.js | 141 bx = b[0], by = b[1], bz = b[2], bw = b[3]; 143 out[0] = ax * bw + aw * bx + ay * bz - az * by; 144 out[1] = ay * bw + aw * by + az * bx - ax * bz; 145 out[2] = az * bw + aw * bz + ax * by - ay * bx; 146 out[3] = aw * bw - ax * bx - ay * by - az * bz; 179 bx = Math.sin(rad), bw = Math.cos(rad); 181 out[0] = ax * bw + aw * bx; 182 out[1] = ay * bw + az * bx; 183 out[2] = az * bw - ay * bx; 184 out[3] = aw * bw [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/test/ |
H A D | vp9_boolcoder_test.cc | 53 vp9_writer bw; local 55 vp9_start_encode(&bw, bw_buffer); 64 vp9_write(&bw, bit, static_cast<int>(probas[i])); 67 vp9_stop_encode(&bw);
|
/external/libvpx/libvpx/test/ |
H A D | vp9_boolcoder_test.cc | 53 vp9_writer bw; local 55 vp9_start_encode(&bw, bw_buffer); 64 vp9_write(&bw, bit, static_cast<int>(probas[i])); 67 vp9_stop_encode(&bw);
|