Lines Matching refs:nalSize
268 const uint8_t **nalStart, size_t *nalSize,
274 *nalSize = 0;
325 *nalSize = endOffset - startOffset;
340 size_t nalSize;
341 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) {
342 if (nalSize > 0 && (nalStart[0] & 0x1f) == nalType) {
343 sp<ABuffer> buffer = new ABuffer(nalSize);
344 memcpy(buffer->data(), nalStart, nalSize);
467 size_t nalSize;
468 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) {
469 if (nalSize == 0u) {
502 size_t nalSize;
503 while (getNextNALUnit(&data, &size, &nalStart, &nalSize, true) == OK) {
504 if (nalSize == 0) {
505 ALOGE("IsAVCReferenceFrame: invalid nalSize: 0 (%p, %zu)", accessUnit.get(), size);