Searched defs:size (Results 1 - 25 of 558) sorted by path

1234567891011>>

/frameworks/av/camera/
H A DCameraParameters.cpp27 const char CameraParameters::KEY_PREVIEW_SIZE[] = "preview-size";
28 const char CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES[] = "preview-size-values";
35 const char CameraParameters::KEY_PICTURE_SIZE[] = "picture-size";
36 const char CameraParameters::KEY_SUPPORTED_PICTURE_SIZES[] = "picture-size-values";
41 const char CameraParameters::KEY_SUPPORTED_JPEG_THUMBNAIL_SIZES[] = "jpeg-thumbnail-size-values";
84 const char CameraParameters::KEY_VIDEO_SIZE[] = "video-size";
85 const char CameraParameters::KEY_SUPPORTED_VIDEO_SIZES[] = "video-size-values";
86 const char CameraParameters::KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO[] = "preferred-preview-size-for-video";
182 size_t size = mMap.size(); local
[all...]
/frameworks/av/cmds/stagefright/
H A DWaveWriter.h49 void Append(const void *data, size_t size) { argument
50 fwrite(data, 1, size, mFile);
51 mTotalBytes += size;
H A Dcodec.cpp137 for (size_t i = 0; i < stateByTrack.size(); ++i) {
148 state->mInBuffers.size(), state->mOutBuffers.size());
184 buffer->size(),
196 for (size_t i = 0; i < stateByTrack.size(); ++i) {
210 0 /* size */,
225 for (size_t i = 0; i < stateByTrack.size(); ++i) {
237 for (size_t i = 0; i < stateByTrack.size(); ++i) {
246 size_t size; local
250 &index, &offset, &size,
[all...]
H A Dsf2.cpp299 size_t size; local
300 if (meta->findData(kKeyAVCC, &type, &data, &size)) {
305 CHECK(size >= 7);
323 size -= 6;
329 CHECK(size >= 2);
333 size -= 2;
335 CHECK(size >= length);
337 memcpy(buffer->data() + buffer->size(), "\x00\x00\x00\x01", 4);
338 memcpy(buffer->data() + buffer->size() + 4, ptr, length);
339 buffer->setRange(0, buffer->size()
[all...]
H A Dstagefright.cpp89 size_t n = decodeTimesUs->size();
121 size_t size; local
122 if (meta->findData(kKeyAVCC, &type, &data, &size)) {
124 CHECK(size >= 7);
458 size_t size = buffer->range_length(); local
459 for (size_t i = 0; i + 3 < size; ++i) {
517 for (size_t i = 0; i < sources.size(); ++i) {
636 for (size_t i = 0; i < results.size(); ++i) {
640 if (results[i].mProfileLevels.size() == 0) {
645 for (size_t j = 0; j < results[i].mProfileLevels.size();
[all...]
H A Dstream.cpp91 CHECK_LT(index, mBuffers.size());
114 ssize_t n = read(mFd, mem->pointer(), mem->size());
150 static ssize_t WriteDataWrapper(void *me, const void *data, size_t size);
151 ssize_t writeData(const void *data, size_t size);
200 void *me, const void *data, size_t size) {
201 return static_cast<MyConvertingStreamSource *>(me)->writeData(data, size);
204 ssize_t MyConvertingStreamSource::writeData(const void *data, size_t size) { argument
207 while (size > 0) {
223 size_t copy = size;
224 if (copy + mCurrentBufferOffset > mem->size()) {
199 WriteDataWrapper( void *me, const void *data, size_t size) argument
[all...]
/frameworks/av/drm/common/
H A DIDrmManagerService.cpp47 int size = handle->copyControlVector.size(); local
48 data->writeInt32(size);
49 for (int i = 0; i < size; i++) {
54 size = handle->extendedData.size();
55 data->writeInt32(size);
56 for (int i = 0; i < size; i++) {
79 int size = data.readInt32(); local
80 for (int i = 0; i < size;
185 const int size = reply.readInt32(); local
214 const int size = reply.readInt32(); local
337 const int size = reply.readInt32(); local
754 const int size = reply.readInt32(); local
965 const int size = data.readInt32(); local
1008 const int size = data.readInt32(); local
1462 const int size = decBuffer->length; local
[all...]
H A DReadWriteUtils.cpp85 int size = data.size(); local
86 if (FAILURE != ftruncate(fd, size)) {
87 if (size != write(fd, data.string(), size)) {
102 int size = data.size(); local
103 if (size != write(fd, data.string(), size)) {
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp57 const int size = mUniqueIdVector.size(); local
72 for (; index < size; ++index) {
78 if (index == size) {
92 for (unsigned int i = 0; i < mUniqueIdVector.size(); i++) {
114 for (unsigned int i = 0; i < plugInPathList.size(); ++i) {
151 for (unsigned int index = 0; index < plugInIdList.size(); index++) {
162 for (unsigned int index = 0; index < plugInIdList.size(); index++) {
236 for (unsigned int i = 0; i < plugInPathList.size(); ++i) {
346 for (unsigned int index = 0; index < plugInIdList.size(); inde
401 int size = plugInPathList.size(); local
[all...]
/frameworks/av/drm/libdrmframework/plugins/common/util/include/
H A DSessionMap.h78 return map.size();
92 if (map.size() > index) {
152 int size = map.size(); local
154 for (int i = 0; i < size; i++) {
/frameworks/av/drm/libdrmframework/plugins/common/util/src/
H A DMimeTypeUtil.cpp43 int size; // Number of bytes. e.g. "audio/" = 6 bytes member in struct:android::MimeGroup
49 int size; // Number of bytes. e.g. "x-mpeg" = 6 bytes member in struct:android::MimeTypeList
138 if (0 == strncmp(pMimeType, pGroup->pGroup, pGroup->size)) {
147 len = strlen (pMimeType+pGroup->size);
150 (len == pMimeItem->size) &&
151 (0 == strcmp(pMimeType+pGroup->size, pMimeItem->pMimeExt))) {
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp68 int size = decodeSessionMap.getSize(); local
70 for (int i = 0; i < size; i++) {
76 size = convertSessionMap.getSize();
77 for (int i = 0; i < size; i++) {
541 // offset is always 0 and length is not used. so any positive size.
620 ssize_t size = -1; local
628 size = FwdLockFile_read(session->fileDesc, buffer, numBytes);
630 if (0 > size) {
633 session->offset += size;
638 return size;
[all...]
/frameworks/av/include/media/
H A DAudioParameter.h65 size_t size() { return mParameters.size(); } function in class:android::AudioParameter
H A DAudioRecord.h67 size_t size; // total size in bytes == frameCount * frameSize member in class:android::AudioRecord::Buffer
84 * more bytes than indicated by 'size' field and update 'size' if less bytes are
123 * frameCount: Total size of track PCM buffer in frames. This defines the
178 * This includes the latency due to AudioRecord buffer size
303 ssize_t read(void* buffer, size_t size);
H A DAudioTrack.h77 size_t frameCount; // number of sample frames corresponding to size;
81 size_t size; // input/output in byte units member in class:android::AudioTrack::Buffer
99 * more bytes than indicated by 'size' field and update 'size' if fewer bytes are
139 * frameCount: Minimum size of track PCM buffer in frames. This defines the
140 * latency of the track. The actual size selected by the AudioTrack could be
141 * larger if the requested size is not compatible with current audio HAL
232 * This includes the latency due to AudioTrack buffer size, AudioMixer (if any)
349 * Note that the actual position set is <position> modulo the AudioTrack buffer size in frames.
442 * BAD_VALUE size i
[all...]
H A DSoundPool.h60 size_t size() { return mSize; } function in class:android::Sample
68 void init(int numChannels, int sampleRate, audio_format_t format, size_t size, sp<IMemory> data ) { argument
69 mNumChannels = numChannels; mSampleRate = sampleRate; mFormat = format; mSize = size; mData = data; }
/frameworks/av/include/media/stagefright/foundation/
H A DABuffer.h40 size_t size() const { return mRangeLength; } function in struct:android::ABuffer
43 void setRange(size_t offset, size_t size);
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorAudioPlayer.cpp315 size_t numBytesWritten = fillBuffer(buffer->raw, buffer->size);
317 buffer->size = numBytesWritten;
581 void *buffer, size_t size, void *cookie) {
584 return me->fillBuffer(buffer, size);
588 size_t VideoEditorAudioPlayer::fillBuffer(void *data, size_t size) { argument
595 size_t size_remaining = size;
656 // after reading same size from Background track PCM file
691 ALOGV("mix with bgm with size %lld", mBGAudioPCMFileLength);
820 ALOGV("buffer->size() = %d, "
886 M4OSA_Int16 *data, M4OSA_UInt32 size, M4OSA_Floa
579 AudioSinkCallback( MediaPlayerBase::AudioSink *audioSink, void *buffer, size_t size, void *cookie) argument
885 setPrimaryTrackVolume( M4OSA_Int16 *data, M4OSA_UInt32 size, M4OSA_Float volLevel) argument
[all...]
H A DVideoEditorPlayer.cpp483 const void* buffer, size_t size) {
490 const void* buffer, size_t size) {
494 //ALOGV("write(%p, %u)", buffer, size);
496 snoopWrite(buffer, size);
497 ssize_t ret = mTrack->write(buffer, size);
551 me, buffer->raw, buffer->size, me->mCallbackCookie);
553 buffer->size = actualSize;
573 ::write(fd, result.string(), result.size());
482 snoopWrite( const void* buffer, size_t size) argument
489 write( const void* buffer, size_t size) argument
/frameworks/av/libvideoeditor/osal/src/
H A DLVOSA_FileReader_optim.c55 * File reader cache buffers parameters (size, number of buffers, etc)
74 M4OSA_FilePosition size; /**< size of the buffer */ member in struct:__anon82
162 apContext->buffer[i].size = 0;
191 M4OSA_FilePosition size, M4OSA_MemAddr8 pData)
197 if(apContext->buffer[i].size == M4OSA_EOF) return M4OSA_EOF;
200 || (pos > (apContext->buffer[i].filepos + apContext->buffer[i].size - 1)) )
207 copysize = apContext->buffer[i].size - offset;
208 copysize = (size < copysize) ? size
189 M4OSA_FileReader_BufferCopy(M4OSA_FileReader_Context_optim* apContext, M4OSA_Int8 i, M4OSA_FilePosition pos, M4OSA_FilePosition size, M4OSA_MemAddr8 pData) argument
227 M4OSA_FilePosition size; local
[all...]
H A DM4PSW_MemoryInterface.c32 * @fn M4OSA_MemAddr32 M4OSA_32bitAlignedMalloc(M4OSA_UInt32 size,
37 * @param size (IN): size of allocated block in bytes
44 M4OSA_MemAddr32 M4OSA_32bitAlignedMalloc(M4OSA_UInt32 size, argument
51 * If size is 0, malloc on WIN OS allocates a zero-length item in
55 if (size == 0)
60 if (size%4 != 0)
62 size = size + 4 - (size
[all...]
/frameworks/av/libvideoeditor/vss/3gpwriter/inc/
H A DM4MP4W_Types.h69 M4OSA_UInt32 size; member in struct:__anon87
124 frame size (e.g. if SID)*/
158 * @brief Video plane size
211 /* previously, audio au size was supposed constant,
213 /* at first audio au, sampleSize is set. It is later reset to 0 if non constant size.*/
215 M4OSA_UInt32* TABLE_STSZ; /* table size is 4K*/
223 M4OSA_UInt8 dsiSize; /* DSI size, always 9 bytes for AMR */
252 M4OSA_UInt32* TABLE_STTS; /* table size is J*/
255 M4OSA_UInt16* TABLE_STSZ; /* table size is 2K*/
257 M4OSA_UInt32* TABLE_STSZ; /* table size i
[all...]
/frameworks/av/libvideoeditor/vss/3gpwriter/src/
H A DM4MP4W_Utils.c86 M4OSA_ERR M4MP4W_putBlock(const M4OSA_UChar* Block, M4OSA_UInt32 size, argument
90 M4OSA_ERR err = fileFunction->writeData(context, (M4OSA_MemAddr8)Block, size);
H A DM4MP4W_Writer.c183 /* due to current limitations, size must be 16 */
190 /* due to current limitations, size must be 60 */
602 32; /*init with ftyp + beginning of mdat size*/
1046 /*decoder specific info size is supposed to be always 7 bytes long */
1084 /*decoder specific info size is supposed to be always <
1085 105 so that ESD size can be coded with 1 byte*/
1128 /* Store the DSI size */
1169 /* Store the DSI size */
1251 for audio size estimation*/
1468 /*add chunk size t
5112 M4OSA_UInt32 size; local
[all...]
/frameworks/av/libvideoeditor/vss/common/inc/
H A DM4READER_3gpCom.h84 M4OSA_UInt32 size; /**< the size in bytes of the buffer */ member in struct:__anon165

Completed in 676 milliseconds

1234567891011>>