Searched refs:size (Results 101 - 125 of 1923) sorted by path

1234567891011>>

/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.c166 ALOGV("EffectLibCreateEffect %p ,size %d", module, sizeof(reverb_module_t));
590 // can wraparound and stay in array boundary of 0, 1, ..., (buffer size -1)
591 // The buffer size MUST be a power of two
759 * pSize - pointer to value size: maximum size as input
763 * *pSize updated with actual value size
778 size_t size; local
784 size = sizeof(int16_t);
802 size = sizeof(int16_t);
809 size
1053 Reverb_setParameter(reverb_object_t *pReverb, int32_t param, size_t size, void *pValue) argument
[all...]
H A DEffectReverb.h33 if the buffer size is a power of two.
35 #define CIRCULAR(base,offset,size) (uint32_t)( \
39 & size \
336 int Reverb_setParameter (reverb_object_t *pReverb, int32_t param, size_t size, void *pValue);
/frameworks/av/media/libeffects/visualizer/
H A DEffectVisualizer.cpp512 int32_t size = -capturePoint; local
513 if (size > captureSize) {
514 size = captureSize;
518 size);
519 pReplyData += size;
520 captureSize -= size;
/frameworks/av/media/libmedia/
H A DAudioEffect.cpp266 uint32_t size = sizeof(int); local
271 return mIEffect->command(EFFECT_CMD_SET_PARAM, sizeof (effect_param_t) + psize, param, &size, &param->status);
287 int size = ((sizeof(effect_param_t) + psize - 1) / sizeof(int) + 1) * sizeof(int); local
289 if (mCblk->clientIndex + size > EFFECT_PARAM_BUFFER_SIZE) {
293 *p++ = size;
295 mCblk->clientIndex += size;
310 uint32_t size = 0; local
311 return mIEffect->command(EFFECT_CMD_SET_PARAM_COMMIT, 0, NULL, &size, NULL);
H A DAudioParameter.cpp76 size_t size = mParameters.size(); local
77 for (size_t i = 0; i < size; i++) {
81 if (i < (size - 1)) str += ";";
173 if (mParameters.size() > index) {
H A DAudioRecord.cpp49 size_t size = 0; local
50 if (AudioSystem::getInputBufferSize(sampleRate, format, channelMask, &size)
52 ALOGE("AudioSystem could not query the input buffer size.");
56 if (size == 0) {
62 // We double the size of input buffer for ping pong use of record buffer.
63 size <<= 1;
67 size /= channelCount * audio_bytes_per_sample(format);
70 *frameCount = size;
211 // Update buffer size in case it has been limited by AudioFlinger during track creation
484 audioBuffer->size
[all...]
H A DAudioTrack.cpp201 ALOGV_IF(sharedBuffer != 0, "sharedBuffer: %p, size: %d", sharedBuffer->pointer(), sharedBuffer->size());
792 frameCount = sharedBuffer->size();
821 frameCount = sharedBuffer->size()/channelCount/sizeof(int16_t);
857 ALOGV("Minimum buffer size corrected from %d to %d",
953 audioBuffer->size = 0;
1045 audioBuffer->size = framesReq * cblk->frameSize;
1081 ALOGE("AudioTrack::write(buffer=%p, size=%u (%d)",
1119 toWrite = audioBuffer.size>>1;
1122 toWrite = audioBuffer.size;
1141 allocateTimedBuffer(size_t size, sp<IMemory>* buffer) argument
[all...]
H A DIAudioTrack.cpp120 virtual status_t allocateTimedBuffer(size_t size, sp<IMemory>* buffer) { argument
123 data.writeInt32(size);
H A DIEffect.cpp72 int size = cmdSize; local
74 size = 0;
76 data.writeInt32(size);
77 if (size) {
78 data.write(pCmdData, size);
81 size = 0;
83 size = *pReplySize;
85 data.writeInt32(size);
95 size = reply.readInt32();
96 if (size !
[all...]
H A DIEffectClient.cpp69 int size = cmdSize; local
71 size = 0;
73 data.writeInt32(size);
74 if (size) {
75 data.write(pCmdData, size);
77 size = replySize;
79 size = 0;
81 data.writeInt32(size);
82 if (size) {
83 data.write(pReplyData, size);
[all...]
H A DIHDCP.cpp87 const void *inData, size_t size, uint32_t streamCTR,
91 data.writeInt32(size);
92 data.write(inData, size);
105 reply.read(outData, size);
177 size_t size = data.readInt32(); local
179 void *inData = malloc(2 * size);
180 void *outData = (uint8_t *)inData + size;
182 data.read(inData, size);
186 status_t err = encrypt(inData, size, streamCTR, &inputCTR, outData);
192 reply->write(outData, size);
86 encrypt( const void *inData, size_t size, uint32_t streamCTR, uint64_t *outInputCTR, void *outData) argument
[all...]
H A DIMediaDeathNotifier.cpp92 size_t count = list.size();
H A DIMediaMetadataRetriever.cpp96 data.writeInt32(headers->size());
97 for (size_t i = 0; i < headers->size(); ++i) {
H A DIMediaPlayer.cpp88 data.writeInt32(headers->size());
89 for (size_t i = 0; i < headers->size(); ++i) {
H A DIOMX.cpp133 void *params, size_t size) {
138 data.writeInt32(size);
139 data.write(params, size);
147 reply.read(params, size);
154 const void *params, size_t size) {
159 data.writeInt32(size);
160 data.write(params, size);
168 void *params, size_t size) {
173 data.writeInt32(size);
174 data.write(params, size);
131 getParameter( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument
152 setParameter( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument
166 getConfig( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument
187 setConfig( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument
296 allocateBuffer( node_id node, OMX_U32 port_index, size_t size, buffer_id *buffer, void **buffer_data) argument
505 size_t size = data.readInt32(); local
644 size_t size = data.readInt32(); local
[all...]
H A DIStreamSource.cpp65 data.writeInt32(static_cast<int32_t>(buffers.size()));
66 for (size_t i = 0; i < buffers.size(); ++i) {
145 virtual void queueBuffer(size_t index, size_t size) { argument
149 data.writeInt32(static_cast<int32_t>(size));
181 size_t size = static_cast<size_t>(data.readInt32()); local
183 queueBuffer(index, size);
H A DMediaProfiles.cpp182 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1);
204 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1);
303 for (int i = 0, n = cameraIds.size(); i < n; ++i) {
340 int n = mImageEncodingQualityLevels.size();
470 ALOGV("Number of camera ids: %d", cameraIds.size());
471 CHECK(cameraIds.size() > 0);
472 mRequiredProfileRefs = new RequiredProfiles[cameraIds.size()];
473 for (size_t i = 0, n = cameraIds.size(); i < n; ++i) {
488 for (size_t i = 0, n = mCameraIds.size(); i < n; ++i) {
503 for (size_t i = 0, n = mCamcorderProfiles.size();
[all...]
H A DMediaScannerClient.cpp156 for (int i = 0; i < mNames->size(); i++) {
203 int size = mNames->size(); local
207 for (int i = 0; i < mNames->size(); i++)
215 for (int i = 0; i < mNames->size(); i++) {
H A DMemoryLeakTrackUtil.cpp59 size_t size() const { function in struct:android::MyString8
77 size_t size; member in struct:android::__anon493
104 e->size = *reinterpret_cast<size_t *>(ptr);
114 // Now we need to sort the entries. They come sorted by size but
123 bool swap = e1->size < e2->size;
124 if (e1->size == e2->size) {
145 snprintf(buffer, SIZE, "size %8i, dup %4i, ", e->size,
[all...]
H A DMetadata.cpp100 // 4 int32s: size, key, type, value.
120 // 4 int32s: size, key, type, value.
149 size_t size = mData->readInt32(); local
150 if (size < kRecordHeaderSize || size > left) {
159 mData->setDataPosition(pos + size);
160 left -= size;
H A DSoundPool.cpp514 ALOGV("pointer = %p, size = %u, sampleRate = %u, numChannels = %d",
515 p->pointer(), p->size(), sampleRate, numChannels);
527 //_dumpBuffer(p->pointer(), p->size());
528 uint8_t* q = static_cast<uint8_t*>(p->pointer()) + p->size() - 10;
532 mSize = p->size();
587 frameCount = sample->size()/numChannels/
592 // Ensure minimum audio buffer size in case of short looped sample
602 // wrong audio audio buffer size (mAudioBufferSize)
706 b->size = 0;
718 if (b->size
[all...]
H A DSoundPoolThread.cpp27 while (mMsgQueue.size() >= maxMessages) {
40 while (mMsgQueue.size() == 0) {
H A DToneGenerator.cpp1018 // Open audio track in mono, PCM 16bit, default sampling rate, default buffer size
1081 unsigned int lNumSmp = buffer->size/sizeof(short);
1084 if (buffer->size == 0) return;
1088 memset(lpOut, 0, buffer->size);
1280 buffer->size = 0;
1293 buffer->size = 0;
1417 for (size_t lIdx = 0; lIdx < mWaveGens.size(); lIdx++) {
H A DVisualizer.cpp124 status_t Visualizer::setCaptureSize(uint32_t size) argument
126 if (size > VISUALIZER_CAPTURE_SIZE_MAX ||
127 size < VISUALIZER_CAPTURE_SIZE_MIN ||
128 popcount(size) != 1) {
143 *((int32_t *)p->data + 1)= size;
146 ALOGV("setCaptureSize size %d status %d p->status %d", size, status, p->status);
151 mCaptureSize = size;
311 uint32_t size = 0; local
313 size
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DCrypto.cpp99 const uint8_t uuid[16], const void *data, size_t size) {
110 return mFactory->createPlugin(uuid, data, size, &mPlugin);
98 createPlugin( const uint8_t uuid[16], const void *data, size_t size) argument

Completed in 187 milliseconds

1234567891011>>