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

1234567891011>>

/frameworks/av/camera/
H A DCameraParameters.cpp28 const char CameraParameters::KEY_PREVIEW_SIZE[] = "preview-size";
29 const char CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES[] = "preview-size-values";
36 const char CameraParameters::KEY_PICTURE_SIZE[] = "picture-size";
37 const char CameraParameters::KEY_SUPPORTED_PICTURE_SIZES[] = "picture-size-values";
42 const char CameraParameters::KEY_SUPPORTED_JPEG_THUMBNAIL_SIZES[] = "jpeg-thumbnail-size-values";
85 const char CameraParameters::KEY_VIDEO_SIZE[] = "video-size";
86 const char CameraParameters::KEY_SUPPORTED_VIDEO_SIZES[] = "video-size-values";
87 const char CameraParameters::KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO[] = "preferred-preview-size-for-video";
188 size_t size = mMap.size(); local
[all...]
H A DCameraParameters2.cpp40 size_t size = mMap.size(); local
42 for (size_t i = 0; i < size; i++) {
50 if (i != size-1)
354 ALOGD("dump: mMap.size = %d", mMap.size());
355 for (size_t i = 0; i < mMap.size(); i++) {
369 snprintf(buffer, 255, "CameraParameters2::dump: mMap.size = %zu\n", mMap.size());
371 for (size_t i = 0; i < mMap.size();
[all...]
/frameworks/av/camera/camera2/
H A DCaptureRequest.cpp46 int32_t size; local
47 if ((err = parcel->readInt32(&size)) != OK) {
48 ALOGE("%s: Failed to read surface list size from parcel", __FUNCTION__);
51 ALOGV("%s: Read surface list size = %d", __FUNCTION__, size);
54 for (int i = 0; i < size; ++i) {
99 int32_t size = static_cast<int32_t>(mSurfaceList.size()); local
102 parcel->writeInt32(size);
104 for (int32_t i = 0; i < size;
[all...]
/frameworks/av/camera/tests/
H A DVendorTagDescriptorTests.cpp41 static bool ContainsTag(uint32_t* tagArray, size_t size, uint32_t tag) { argument
42 for (size_t i = 0; i < size; ++i) {
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp71 static bool gSizeSpecified = false; // was size explicitly requested?
208 * Sets the display projection, based on the display dimensions, video size,
339 size_t bufIndex, offset, size; local
351 err = encoder->dequeueOutputBuffer(&bufIndex, &offset, &size, &ptsUsec,
358 ALOGV("Got codec config buffer (%zu bytes)", size);
362 size = 0;
365 if (size != 0) {
366 ALOGV("Got data in buffer %zu, size=%zu, pts=%" PRId64,
367 bufIndex, size, ptsUsec);
397 fwrite(buffers[bufIndex]->data(), 1, size, rawF
[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.cpp140 for (size_t i = 0; i < stateByTrack.size(); ++i) {
151 state->mInBuffers.size(), state->mOutBuffers.size());
187 buffer->size(),
199 for (size_t i = 0; i < stateByTrack.size(); ++i) {
213 0 /* size */,
228 for (size_t i = 0; i < stateByTrack.size(); ++i) {
240 for (size_t i = 0; i < stateByTrack.size(); ++i) {
249 size_t size; local
253 &index, &offset, &size,
[all...]
H A Dsf2.cpp323 size_t size; local
324 if (meta->findData(kKeyAVCC, &type, &data, &size)) {
329 CHECK(size >= 7);
347 size -= 6;
353 CHECK(size >= 2);
357 size -= 2;
359 CHECK(size >= length);
361 memcpy(buffer->data() + buffer->size(), "\x00\x00\x00\x01", 4);
362 memcpy(buffer->data() + buffer->size() + 4, ptr, length);
363 buffer->setRange(0, buffer->size()
[all...]
H A Dstagefright.cpp88 size_t n = decodeTimesUs->size();
120 size_t size; local
121 if (meta->findData(kKeyAVCC, &type, &data, &size)) {
123 CHECK(size >= 7);
457 size_t size = buffer->range_length(); local
458 for (size_t i = 0; i + 3 < size; ++i) {
516 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.cpp93 CHECK_LT(index, mBuffers.size());
116 ssize_t n = read(mFd, mem->pointer(), mem->size());
152 static ssize_t WriteDataWrapper(void *me, const void *data, size_t size);
153 ssize_t writeData(const void *data, size_t size);
204 void *me, const void *data, size_t size) {
205 return static_cast<MyConvertingStreamSource *>(me)->writeData(data, size);
208 ssize_t MyConvertingStreamSource::writeData(const void *data, size_t size) { argument
211 while (size > 0) {
227 size_t copy = size;
228 if (copy + mCurrentBufferOffset > mem->size()) {
203 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;
173 const int size = reply.readInt32(); local
203 const int size = reply.readInt32(); local
327 const int size = reply.readInt32(); local
744 const int size = reply.readInt32(); local
944 const int size = data.readInt32(); local
987 const int size = data.readInt32(); local
1441 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.cpp104 for (size_t i = 0; i < plugInPathList.size(); ++i) {
141 for (size_t index = 0; index < plugInIdList.size(); index++) {
152 for (size_t index = 0; index < plugInIdList.size(); index++) {
211 for (size_t i = 0; i < plugInPathList.size(); ++i) {
321 for (size_t index = 0; index < plugInIdList.size(); index++) {
376 int size = plugInPathList.size(); local
379 if (0 < size) {
382 for (int i = 0; i < size; ++i) {
392 validPlugins = drmSupportInfoList.size();
[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++) {
542 // offset is always 0 and length is not used. so any positive size.
621 ssize_t size = -1; local
629 size = FwdLockFile_read(session->fileDesc, buffer, numBytes);
631 if (0 > size) {
634 session->offset += size;
639 return size;
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DCryptoFactory.cpp39 const void* data, size_t size,
47 data, size);
37 createPlugin( const uint8_t uuid[16], const void* data, size_t size, android::CryptoPlugin** plugin) argument
H A DSessionLibrary.cpp54 sessionIdString.size());
67 const void* data, size_t size) {
69 sessionId.appendArray(reinterpret_cast<const uint8_t*>(data), size); local
66 findSession( const void* data, size_t size) argument
/frameworks/av/drm/mediadrm/plugins/mock/
H A DMockDrmCryptoPlugin.cpp72 size_t size, CryptoPlugin **plugin)
142 for (size_t i = 0; i < optionalParameters.size(); i++) {
183 if (response.size() == 0) {
667 ALOGD("findSession: nsessions=%d, size=%d", mSessions.size(), sessionId.size());
668 for (size_t i = 0; i < mSessions.size(); ++i) {
669 if (memcmp(mSessions[i].array(), sessionId.array(), sessionId.size()) == 0) {
678 ALOGD("findKeySet: nkeySets=%d, size=%d", mKeySets.size(), keySetI
71 createPlugin(const uint8_t uuid[16], const void *data, size_t size, CryptoPlugin **plugin) argument
[all...]
/frameworks/av/include/camera/
H A DCameraParameters2.h89 // Retrieve the preferred preview size (width and height) in pixels
123 size_t size() const { function in struct:android::CameraParameters2::OrderedKeyedVector
124 return mList.size();
144 for (; vectorIdx < mList.size(); ++vectorIdx) {
/frameworks/av/include/media/
H A DAudioParameter.h65 size_t size() { return mParameters.size(); } function in class:android::AudioParameter
H A DAudioRecord.h64 size_t frameCount; // number of sample frames corresponding to size;
69 size_t size; // input/output in bytes == frameCount * frameSize member in class:android::AudioRecord::Buffer
91 * more bytes than indicated by 'size' field and update 'size' if fewer bytes are
141 * frameCount: Minimum size of track PCM buffer in frames. This defines the
143 * latency of the track. The actual size selected by the AudioRecord could
144 * be larger if the requested size is not compatible with current audio HAL
214 * This includes the latency due to AudioRecord buffer size,
352 * size 0
356 * size actua
[all...]
H A DAudioTrack.h74 size_t frameCount; // number of sample frames corresponding to size;
79 size_t size; // input/output in bytes == frameCount * frameSize member in class:android::AudioTrack::Buffer
102 * more bytes than indicated by 'size' field and update 'size' if fewer bytes are
161 * frameCount: Minimum size of track PCM buffer in frames. This defines the
163 * latency of the track. The actual size selected by the AudioTrack could be
164 * larger if the requested size is not compatible with current audio HAL
237 * replaced by the shared buffer's total allocated size in frame units.
272 * This includes the latency due to AudioTrack buffer size, AudioMixer (if any)
282 /* Return frame size i
[all...]
H A DSoundPool.h62 size_t size() { return mSize; } function in class:android::Sample
70 void init(int numChannels, int sampleRate, audio_format_t format, size_t size, argument
72 mNumChannels = numChannels; mSampleRate = sampleRate; mFormat = format; mSize = size;
H A DStringArray.h59 inline int size(void) const { return mCurrent; } function in class:android::StringArray

Completed in 149 milliseconds

1234567891011>>