/hardware/intel/common/libmix/videoencoder/ |
VideoEncoderAVC.cpp | 361 uint8_t *inBuffer, uint32_t bufSize, uint32_t *nalSize, 389 *nalSize = bufSize - pos; 447 *nalSize = bufSize - dataRemaining - *nalOffset - 3; 451 *nalSize = bufSize - *nalOffset; 460 uint32_t nalSize = 0; 476 nalType = nalSize = nalOffset = 0; 477 ret = getOneNALUnit(buf, bufSize, &nalSize, &nalType, &nalOffset, status); 480 LOG_V("NAL type = %d, NAL size = %d, offset = %d\n", nalType, nalSize, nalOffset); 481 size = nalSize + nalOffset; 537 uint32_t nalSize = 0 [all...] |
VideoEncoderAVC.h | 43 Encode_Status getOneNALUnit(uint8_t *inBuffer, uint32_t bufSize, uint32_t *nalSize, uint32_t *nalType, uint32_t *nalOffset, uint32_t status);
|
/frameworks/av/media/libstagefright/ |
avc_utils.cpp | 217 const uint8_t **nalStart, size_t *nalSize, 223 *nalSize = 0; 277 *nalSize = endOffset - startOffset; 292 size_t nalSize; 293 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) { 295 sp<ABuffer> buffer = new ABuffer(nalSize); 296 memcpy(buffer->data(), nalStart, nalSize); 418 size_t nalSize; 419 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) { 420 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 | 766 size_t nalSize; 779 size_t nalSize; 781 while ((err = getNextNALUnit(&data, &size, &nalStart, &nalSize)) == OK) { 782 if (nalSize == 0) continue; 789 ABitReader br(nalStart + 1, nalSize); 825 sp<ABuffer> sei = new ABuffer(pos.nalSize); 826 memcpy(sei->data(), mBuffer->data() + pos.nalOffset, pos.nalSize); 843 pos.nalSize); 845 dstOffset += pos.nalSize + 4; 853 size_t nextScan = pos.nalOffset + pos.nalSize; [all...] |
/hardware/qcom/media/mm-video-legacy/vidc/vdec/test/ |
omx_vdec_test.cpp | 277 int nalSize = 0; [all...] |
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/ |
omx_vdec_test.cpp | 407 int nalSize = 0; [all...] |