/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/include/ |
avc_utils.h | 41 size_t nalSize; 80 const uint8_t **nalStart, size_t *nalSize,
|
/frameworks/av/media/libstagefright/ |
avc_utils.cpp | 259 const uint8_t **nalStart, size_t *nalSize, 265 *nalSize = 0; 316 *nalSize = endOffset - startOffset; 331 size_t nalSize; 332 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) { 334 sp<ABuffer> buffer = new ABuffer(nalSize); 335 memcpy(buffer->data(), nalStart, nalSize); 457 size_t nalSize; 458 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) { 459 CHECK_GT(nalSize, 0u) [all...] |
MediaCodec.cpp | [all...] |
/frameworks/av/media/libstagefright/wifi-display/rtp/ |
RTPSender.cpp | 324 size_t nalSize; 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/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/mpeg2ts/ |
ESQueue.cpp | 800 size_t nalSize; 803 while ((err = getNextNALUnit(&data, &size, &nalStart, &nalSize)) == OK) { 804 if (nalSize == 0) continue; 814 ABitReader br(nalStart + 1, nalSize); 830 } else if (nalType == 6 && nalSize > 0) { 859 if (nalType == 6 && pos.nalSize > 0) { 866 seiPos.nalSize = pos.nalSize; 882 pos.nalSize); 884 dstOffset += pos.nalSize + 4 [all...] |
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/ |
omx_vdec_test.cpp | 277 int nalSize = 0; [all...] |
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/ |
omx_vdec_test.cpp | 407 int nalSize = 0; [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerCCDecoder.cpp | 225 timeUs, accessUnit->data() + nal->nalOffset, nal->nalSize);
|