Home
last modified time | relevance | path

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

/external/opencore/protocols/systems/3g-324m_pvterminal/h223/src/
Dlevel0.cpp143 uint8* write_pos = pos; in AppendTxOctet() local
146 write_pos += AppendTxBits0(iTxCheck0Pos, iTxCheck0, write_pos); in AppendTxOctet()
150 write_pos += AppendTxBits0(8, octet, write_pos); in AppendTxOctet()
151 return (uint16)(write_pos - pos); in AppendTxOctet()
157 uint8* write_pos = pos; in AppendTxBits0() local
163 *write_pos++ = (uint8)iTxByte0; in AppendTxBits0()
167 return (uint16)(write_pos - pos); in AppendTxBits0()
173 uint8* write_pos = out_buffer; in Insert0Octet() local
184 write_pos += AppendTxBits0(5, iTxCheck0 & 0x1F, write_pos); in Insert0Octet()
185 write_pos += AppendTxBits0(1, 0, write_pos); in Insert0Octet()
[all …]
Dlevel1.cpp195 … for (uint8* write_pos = iPduPos + FLAG_SZ - 1; write_pos >= iPduPos; write_pos--) in Parse() local
197 *write_pos = (uint8)copy_from; in Parse()
/external/opencore/codecs_v2/video/avc_h264/enc/src/
Dbitstream_io.cpp58 stream->write_pos = 0; in BitstreamEncInit()
92 …if (stream->buf_size - stream->write_pos <= (num_bits >> 3) + 2) /* 2 more bytes for possible EPBS… in AVCBitstreamSaveWord()
101 write_pnt = stream->bitstreamBuffer + stream->write_pos; in AVCBitstreamSaveWord()
110 stream->write_pos++; in AVCBitstreamSaveWord()
117 stream->write_pos++; in AVCBitstreamSaveWord()
121 stream->write_pos++; in AVCBitstreamSaveWord()
271 if (stream->write_pos + numExtraBytes >= stream->oBSize) in AVCBitstreamUseOverrunBuffer()
273 stream->oBSize = stream->write_pos + numExtraBytes + 100; in AVCBitstreamUseOverrunBuffer()
295 oscl_memcpy(stream->overrunBuffer, stream->bitstreamBuffer, stream->write_pos); in AVCBitstreamUseOverrunBuffer()
301 stream->oBSize = stream->write_pos + numExtraBytes + 100; in AVCBitstreamUseOverrunBuffer()
[all …]
Davcenc_api.cpp414 *buf_nal_size = bitstream->write_pos; in PVAVCEncodeNAL()
443 *buf_nal_size = bitstream->write_pos; in PVAVCEncodeNAL()
477 *buf_nal_size = bitstream->write_pos; in PVAVCEncodeNAL()
Dslice.cpp413 start_mb_bits = 32 + (encvid->bitstream->write_pos << 3) - encvid->bitstream->bit_left; in EncodeMB()
434 start_text_bits = 32 + (encvid->bitstream->write_pos << 3) - encvid->bitstream->bit_left; in EncodeMB()
500 num_bits = 32 + (encvid->bitstream->write_pos << 3) - encvid->bitstream->bit_left; in EncodeMB()
Davcenc_int.h133 int write_pos; /* next position to write to bitstreamBuffer */ member
Dheader.cpp326 num_bits = (stream->write_pos << 3) - stream->bit_left; in EncodeSliceHeader()
500 encvid->rateCtrl->NumberofHeaderBits += (stream->write_pos << 3) - stream->bit_left - num_bits; in EncodeSliceHeader()
/external/opencore/protocols/systems/tools/general/common/src/
Dmedia_packet.cpp169 uint8* write_pos = frag->GetPtr(); in PVMFMediaMsgToMediaPacket() local
173 oscl_memcpy(write_pos, rcmfrag.getMemFragPtr(), rcmfrag.getMemFragSize()); in PVMFMediaMsgToMediaPacket()
174 write_pos += rcmfrag.getMemFragSize(); in PVMFMediaMsgToMediaPacket()
/external/qemu/audio/
Dwinaudio.c99 int write_pos; /* position in current writable buffer */ member
247 s->write_pos = 0; in winaudio_out_init()
272 int wav_bytes = (s->write_size - s->write_pos); in winaudio_out_run()
276 uint8_t* dst = (uint8_t*)wav_buffer->lpData + s->write_pos; in winaudio_out_run()
293 s->write_pos += wav_bytes; in winaudio_out_run()
294 if (s->write_pos == s->write_size) { in winaudio_out_run()
304 s->write_pos = 0; in winaudio_out_run()