/external/sl4a/Utils/src/com/trilead/ssh2/ |
StreamGobbler.java | 60 int avail = is.read(buffer, write_pos, buffer.length - write_pos); 68 write_pos += avail; 70 int space_available = buffer.length - write_pos; 77 write_pos -= read_pos; 80 write_pos = 0; 112 private int write_pos = 0; field in class:StreamGobbler 149 while (read_pos == write_pos) { 177 return write_pos - read_pos; 218 while (read_pos == write_pos) { [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
bitstream_io.cpp | 36 ^ ^write_pos ^buf_size 57 stream->write_pos = 0; 91 if (stream->buf_size - stream->write_pos <= (num_bits >> 3) + 2) /* 2 more bytes for possible EPBS */ 100 write_pnt = stream->bitstreamBuffer + stream->write_pos; 102 while (num_bits) /* no need to check stream->buf_size and stream->write_pos, taken care already */ 111 stream->write_pos++; 118 stream->write_pos++; 125 stream->write_pos++; 273 if (stream->write_pos + numExtraBytes >= stream->oBSize) 275 stream->oBSize = stream->write_pos + numExtraBytes + 100 [all...] |
avcenc_api.cpp | 404 *buf_nal_size = bitstream->write_pos; 433 *buf_nal_size = bitstream->write_pos; 467 *buf_nal_size = bitstream->write_pos;
|
avcenc_int.h | 135 int write_pos; /* next position to write to bitstreamBuffer */ member in struct:tagEncBitstream
|
slice.cpp | 412 start_mb_bits = 32 + (encvid->bitstream->write_pos << 3) - encvid->bitstream->bit_left; 433 start_text_bits = 32 + (encvid->bitstream->write_pos << 3) - encvid->bitstream->bit_left; 499 num_bits = 32 + (encvid->bitstream->write_pos << 3) - encvid->bitstream->bit_left;
|
header.cpp | 326 num_bits = (stream->write_pos << 3) - stream->bit_left; 500 encvid->rateCtrl->NumberofHeaderBits += (stream->write_pos << 3) - stream->bit_left - num_bits; [all...] |
/external/webrtc/webrtc/common_audio/ |
ring_buffer.c | 27 size_t write_pos; member in struct:RingBuffer 95 self->write_pos = 0; 173 const size_t margin = self->element_count - self->write_pos; 177 memcpy(self->data + self->write_pos * self->element_size, 179 self->write_pos = 0; 183 memcpy(self->data + self->write_pos * self->element_size, 186 self->write_pos += n; 235 return self->write_pos - self->read_pos; 237 return self->element_count - self->read_pos + self->write_pos;
|
/external/libopus/src/ |
analysis.h | 75 int write_pos; member in struct:__anon16118
|
analysis.c | 151 curr_lookahead = tonal->write_pos-tonal->read_pos; 155 if (len > 480 && pos != tonal->write_pos) 161 if (pos == tonal->write_pos) 245 info = &tonal->info[tonal->write_pos++]; 246 if (tonal->write_pos>=DETECT_SIZE) 247 tonal->write_pos-=DETECT_SIZE;
|
/external/webrtc/webrtc/base/ |
stream.cc | 1073 size_t count, read_pos, write_pos; local 1099 write_pos = 0; 1100 while (write_pos < read_pos) { 1101 result = sink->Write(buffer + write_pos, read_pos - write_pos, 1105 *data_len = read_pos - write_pos; 1106 if (write_pos > 0) { 1107 memmove(buffer, buffer + write_pos, *data_len); 1112 write_pos += count;
|