/frameworks/av/media/libstagefright/ |
avc_utils.cpp | 181 const uint8_t **nalStart, size_t *nalSize, 187 *nalSize = 0; 241 *nalSize = endOffset - startOffset; 258 size_t nalSize; 259 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) { 261 sp<ABuffer> buffer = new ABuffer(nalSize); 262 memcpy(buffer->data(), nalStart, nalSize); 385 size_t nalSize; 386 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) { 387 CHECK_GT(nalSize, 0u) [all...] |
MediaCodec.cpp | [all...] |
/frameworks/av/media/libstagefright/wifi-display/rtp/ |
RTPSender.cpp | 326 size_t nalSize; 328 &data, &size, &nalStart, &nalSize, 330 size_t bytesNeeded = nalSize + 2; 339 && outBytesUsed + nalSize <= out->capacity()) { 344 memcpy(out->data() + outBytesUsed, nalStart, nalSize); 345 outBytesUsed += nalSize; 369 *dst++ = (nalSize >> 8) & 0xff; 370 *dst++ = nalSize & 0xff; 371 memcpy(dst, nalStart, nalSize); 386 while (srcOffset < nalSize) { [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
AAVCAssembler.cpp | 155 size_t nalSize = (data[0] << 8) | data[1]; 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/libstagefright/include/ |
avc_utils.h | 49 const uint8_t **nalStart, size_t *nalSize,
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
ESQueue.cpp | 531 size_t nalSize; 544 size_t nalSize; 546 while ((err = getNextNALUnit(&data, &size, &nalStart, &nalSize)) == OK) { 547 if (nalSize == 0) continue; 554 ABitReader br(nalStart + 1, nalSize); 602 pos.nalSize); 604 dstOffset += pos.nalSize + 4; 610 size_t nextScan = pos.nalOffset + pos.nalSize; 632 pos.nalSize = nalSize; [all...] |
/hardware/qcom/media/mm-video-legacy/vidc/vdec/test/ |
omx_vdec_test.cpp | 281 int nalSize = 0; [all...] |
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/ |
omx_vdec_test.cpp | 374 int nalSize = 0; [all...] |
/frameworks/av/media/libstagefright/mp4/ |
FragmentedMP4Parser.cpp | 988 size_t nalSize = parseNALSize(nalLengthSize, &srcPtr[srcOffset]); 991 if (srcOffset + nalSize > sample.mSize) { 1002 nalSize); 1005 srcOffset += nalSize; 1006 dstOffset += nalSize + 4; [all...] |