Home
last modified time | relevance | path

Searched refs:nbytes (Results 1 – 5 of 5) sorted by relevance

/frameworks/wilhelm/tests/sandbox/
Dplaybq.c70 static SLuint32 squeeze(void *buffer, SLuint32 nbytes) in squeeze() argument
74 swab(buffer, buffer, nbytes); in squeeze()
78 nbytes / sizeof(int16_t)); in squeeze()
79 nbytes /= 2; in squeeze()
82 nbytes / sizeof(int32_t)); in squeeze()
83 nbytes = nbytes * 3 / 4; in squeeze()
85 return nbytes; in squeeze()
103 SLuint32 nbytes = count * sfframesize; in callback() local
104 nbytes = squeeze(buffer, nbytes); in callback()
105 SLresult result = (*bufq)->Enqueue(bufq, buffer, nbytes); in callback()
[all …]
Dplaybq.cpp70 static SLuint32 squeeze(void *buffer, SLuint32 nbytes) in squeeze() argument
74 swab(buffer, buffer, nbytes); in squeeze()
78 nbytes / sizeof(int16_t)); in squeeze()
79 nbytes /= 2; in squeeze()
82 nbytes / sizeof(int32_t)); in squeeze()
83 nbytes = nbytes * 3 / 4; in squeeze()
85 return nbytes; in squeeze()
103 SLuint32 nbytes = count * sfframesize; in callback() local
104 nbytes = squeeze(buffer, nbytes); in callback()
105 SLresult result = (*bufq)->Enqueue(bufq, buffer, nbytes); in callback()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DARTPConnection.cpp384 ssize_t nbytes; in receive() local
386 nbytes = recvfrom( in receive()
393 } while (nbytes < 0 && errno == EINTR); in receive()
395 if (nbytes <= 0) { in receive()
399 buffer->setRange(0, nbytes); in receive()
/frameworks/av/cmds/stagefright/
DSimplePlayer.cpp628 ssize_t nbytes = state->mAudioTrack->write( in renderAudio() local
631 CHECK_EQ(nbytes, (ssize_t)copy); in renderAudio()
635 uint32_t numFramesWritten = nbytes / state->mAudioTrack->frameSize(); in renderAudio()
643 info->mOffset += nbytes; in renderAudio()
644 info->mSize -= nbytes; in renderAudio()
/frameworks/base/core/java/android/util/jar/
DStrictJarVerifier.java125 public void write(byte[] buf, int off, int nbytes) { in write() argument
126 digest.update(buf, off, nbytes); in write()