Searched defs:nalSize (Results 1 - 7 of 7) sorted by relevance

/frameworks/av/media/libstagefright/include/
H A Davc_utils.h41 size_t nalSize; member in struct:android::NALPosition
54 const uint8_t **nalStart, size_t *nalSize,
/frameworks/av/media/libstagefright/rtsp/
H A DAAVCAssembler.cpp155 size_t nalSize = (data[0] << 8) | data[1]; local
157 if (size < nalSize + 2) {
162 sp<ABuffer> unit = new ABuffer(nalSize);
163 memcpy(unit->data(), &data[2], nalSize);
169 data += 2 + nalSize;
170 size -= 2 + nalSize;
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerCCDecoder.cpp204 timeUs, accessUnit->data() + nal->nalOffset, nal->nalSize);
212 int64_t timeUs, const uint8_t *nalStart, size_t nalSize) {
221 NALBitReader br(nalStart + 1, nalSize - 1);
211 parseSEINalUnit( int64_t timeUs, const uint8_t *nalStart, size_t nalSize) argument
/frameworks/av/media/libstagefright/
H A Davc_utils.cpp232 const uint8_t **nalStart, size_t *nalSize,
238 *nalSize = 0;
289 *nalSize = endOffset - startOffset;
304 size_t nalSize; local
305 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) {
307 sp<ABuffer> buffer = new ABuffer(nalSize);
308 memcpy(buffer->data(), nalStart, nalSize);
430 size_t nalSize; local
431 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) {
432 CHECK_GT(nalSize,
230 getNextNALUnit( const uint8_t **_data, size_t *_size, const uint8_t **nalStart, size_t *nalSize, bool startCodeFollows) argument
450 size_t nalSize; local
[all...]
H A DMediaCodec.cpp2767 size_t nalSize; local
2768 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) {
2769 sp<ABuffer> csd = new ABuffer(nalSize + 4);
2771 memcpy(csd->data() + 4, nalStart, nalSize);
/frameworks/av/media/libstagefright/wifi-display/rtp/
H A DRTPSender.cpp324 size_t nalSize; local
326 &data, &size, &nalStart, &nalSize,
328 size_t bytesNeeded = nalSize + 2;
337 && outBytesUsed + nalSize <= out->capacity()) {
342 memcpy(out->data() + outBytesUsed, nalStart, nalSize);
343 outBytesUsed += nalSize;
367 *dst++ = (nalSize >> 8) & 0xff;
368 *dst++ = nalSize & 0xff;
369 memcpy(dst, nalStart, nalSize);
384 while (srcOffset < nalSize) {
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp799 size_t nalSize; local
802 while ((err = getNextNALUnit(&data, &size, &nalStart, &nalSize)) == OK) {
803 if (nalSize == 0) continue;
813 ABitReader br(nalStart + 1, nalSize);
829 } else if (nalType == 6 && nalSize > 0) {
858 if (nalType == 6 && pos.nalSize > 0) {
865 seiPos.nalSize = pos.nalSize;
881 pos.nalSize);
883 dstOffset += pos.nalSize
[all...]

Completed in 123 milliseconds