Home
last modified time | relevance | path

Searched refs:buffer_capacity (Results 1 – 9 of 9) sorted by relevance

/external/libaom/libaom/common/
Dobudec.c69 static int obudec_read_obu_header(FILE *f, size_t buffer_capacity, in obudec_read_obu_header() argument
72 if (!f || buffer_capacity < (OBU_HEADER_SIZE + OBU_EXTENSION_SIZE) || in obudec_read_obu_header()
121 static int obudec_read_obu_header_and_size(FILE *f, size_t buffer_capacity, in obudec_read_obu_header_and_size() argument
128 buffer_capacity < kMinimumBufferSize) { in obudec_read_obu_header_and_size()
150 if (obudec_read_obu_header(f, buffer_capacity - leb128_length_obu, is_annexb, in obudec_read_obu_header_and_size()
343 obu_ctx->buffer_capacity = OBU_BUFFER_SIZE; in file_is_obu()
350 if (payload_length > (obu_ctx->buffer_capacity - bytes_read)) { in file_is_obu()
420 &obu_ctx->buffer_capacity, &obu_size, &obu_header, in obudec_read_temporal_unit()
Dobudec.h23 size_t buffer_capacity; member
/external/libchrome/mojo/core/
Dchannel_win.cc286 size_t buffer_capacity = next_read_size_hint; in ReadMore() local
287 char* buffer = GetReadBuffer(&buffer_capacity); in ReadMore()
288 DCHECK_GT(buffer_capacity, 0u); in ReadMore()
291 ::ReadFile(handle_.Get(), buffer, static_cast<DWORD>(buffer_capacity), in ReadMore()
Dchannel_fuchsia.cc332 size_t buffer_capacity = 0; in OnZxHandleSignalled() local
335 buffer_capacity = next_read_size; in OnZxHandleSignalled()
336 char* buffer = GetReadBuffer(&buffer_capacity); in OnZxHandleSignalled()
337 DCHECK_GT(buffer_capacity, 0u); in OnZxHandleSignalled()
344 handle_.read(0, buffer, buffer_capacity, &bytes_read, handles, in OnZxHandleSignalled()
Dchannel_posix.cc447 size_t buffer_capacity = 0; in OnFileCanReadWithoutBlocking() local
451 buffer_capacity = next_read_size; in OnFileCanReadWithoutBlocking()
452 char* buffer = GetReadBuffer(&buffer_capacity); in OnFileCanReadWithoutBlocking()
453 DCHECK_GT(buffer_capacity, 0u); in OnFileCanReadWithoutBlocking()
457 SocketRecvmsg(socket_.get(), buffer, buffer_capacity, &incoming_fds); in OnFileCanReadWithoutBlocking()
474 } while (bytes_read == buffer_capacity && in OnFileCanReadWithoutBlocking()
Dchannel_unittest.cc24 char* GetReadBufferTest(size_t* buffer_capacity) { in GetReadBufferTest() argument
25 return GetReadBuffer(buffer_capacity); in GetReadBufferTest()
Dchannel.cc612 char* Channel::GetReadBuffer(size_t* buffer_capacity) { in GetReadBuffer() argument
614 size_t required_capacity = *buffer_capacity; in GetReadBuffer()
618 *buffer_capacity = required_capacity; in GetReadBuffer()
Dchannel.h311 char* GetReadBuffer(size_t* buffer_capacity);
/external/webrtc/talk/app/webrtc/java/jni/
Dandroidmediadecoder_jni.cc549 int64_t buffer_capacity = jni->GetDirectBufferCapacity(j_input_buffer); in DecodeOnCodecThread() local
550 if (CheckException(jni) || buffer_capacity < inputImage._length) { in DecodeOnCodecThread()
552 " is bigger than buffer size " << buffer_capacity; in DecodeOnCodecThread()