Searched refs:block_size (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/tools/aapt2/util/
H A DBigBuffer.h67 * of block_size.
69 explicit BigBuffer(size_t block_size);
115 size_t block_size() const;
136 inline BigBuffer::BigBuffer(size_t block_size) argument
137 : block_size_(block_size), size_(0) {}
146 inline size_t BigBuffer::block_size() const { return block_size_; } function in class:aapt::BigBuffer
/frameworks/av/media/libstagefright/httplive/
H A DHTTPDownloader.cpp71 * | `url` file |<--------- buffer size --------->|<--- `block_size` -->| | |
77 * - block_size == 0 means entire range
83 uint32_t block_size, /* download block size */
143 if (block_size > 0 && (range_length == -1 || (int64_t)(buffer->size() + block_size) < range_length)) {
144 range_length = buffer->size() + block_size;
80 fetchBlock( const char *url, sp<ABuffer> *out, int64_t range_offset, int64_t range_length, uint32_t block_size, String8 *actualUrl, bool reconnect ) argument
H A DHTTPDownloader.h42 // If given a non-zero block_size (default 0), it is used to cap the number of
58 uint32_t block_size, /* download block size (0: entire range) */
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerCCDecoder.cpp447 size_t block_size = br.getBits(5); local
458 if (br.numBitsLeft() < block_size * 8) {
462 if (block_size > 0) {
465 sp<ABuffer> ccPacket = new ABuffer(block_size);
466 memcpy(ccPacket->data(), br.data(), block_size);
470 br.skipBits(block_size * 8);

Completed in 281 milliseconds