Searched defs:size (Results 1 - 25 of 850) 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 = %zu", 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...]
H A DVendorTagDescriptor.cpp54 size_t len = mReverseMapping.size();
77 size_t len = mReverseMapping.size();
83 len = src.mReverseMapping.size();
190 LOG_ALWAYS_FATAL_IF(static_cast<size_t>(tagCount) != allTags.size(),
191 "tagCount must be the same as allTags size");
209 size_t size = mTagToNameMap.size(); local
210 if (size == 0) {
213 return size;
217 size_t size local
258 size_t size = mTagToNameMap.size(); local
308 size_t size = mTagToNameMap.size(); local
[all...]
/frameworks/av/camera/camera2/
H A DCaptureRequest.cpp48 int32_t size; local
49 if ((err = parcel->readInt32(&size)) != OK) {
50 ALOGE("%s: Failed to read surface list size from parcel", __FUNCTION__);
53 ALOGV("%s: Read surface list size = %d", __FUNCTION__, size);
56 for (int i = 0; i < size; ++i) {
108 int32_t size = static_cast<int32_t>(mSurfaceList.size()); local
111 parcel->writeInt32(size);
113 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.cpp74 static bool gSizeSpecified = false; // was size explicitly requested?
211 * Sets the display projection, based on the display dimensions, video size,
342 size_t bufIndex, offset, size; local
354 err = encoder->dequeueOutputBuffer(&bufIndex, &offset, &size, &ptsUsec,
361 ALOGV("Got codec config buffer (%zu bytes)", size);
365 size = 0;
368 if (size != 0) {
369 ALOGV("Got data in buffer %zu, size=%zu, pts=%" PRId64,
370 bufIndex, size, ptsUsec);
400 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.cpp144 for (size_t i = 0; i < stateByTrack.size(); ++i) {
155 state->mInBuffers.size(), state->mOutBuffers.size());
191 buffer->size(),
203 for (size_t i = 0; i < stateByTrack.size(); ++i) {
217 0 /* size */,
232 for (size_t i = 0; i < stateByTrack.size(); ++i) {
244 for (size_t i = 0; i < stateByTrack.size(); ++i) {
253 size_t size; local
257 &index, &offset, &size,
[all...]
H A Dmediafilter.cpp144 size_t size; member in struct:android::DecodedFrame
231 filterIndex, 0 /* offset */, destBuffer->size(),
242 filterIndex, 0 /* offset */, destBuffer->size(),
258 size_t size; local
262 &index, &offset, &size, &presentationTimeUs, &flags,
471 for (size_t i = 0; i < stateByTrack.size(); ++i) {
482 state->mInBuffers.size(), state->mOutBuffers.size());
547 index, 0 /* offset */, buffer->size(),
558 for (size_t i = 0; i < stateByTrack.size();
[all...]
H A Dsf2.cpp322 size_t size; local
323 if (meta->findData(kKeyAVCC, &type, &data, &size)) {
328 CHECK(size >= 7);
346 size -= 6;
352 CHECK(size >= 2);
356 size -= 2;
358 CHECK(size >= length);
360 memcpy(buffer->data() + buffer->size(), "\x00\x00\x00\x01", 4);
361 memcpy(buffer->data() + buffer->size() + 4, ptr, length);
362 buffer->setRange(0, buffer->size()
[all...]
H A Dstagefright.cpp98 size_t n = decodeTimesUs->size();
130 size_t size; local
131 if (meta->findData(kKeyAVCC, &type, &data, &size)) {
133 CHECK(size >= 7);
463 size_t size = buffer->range_length(); local
464 for (size_t i = 0; i + 3 < size; ++i) {
527 for (size_t i = 0; i < sources.size(); ++i) {
660 if (profileLevels.size() == 0) {
665 for (size_t j = 0; j < profileLevels.size(); ++j) {
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.cpp48 int size = handle->copyControlVector.size(); local
49 data->writeInt32(size);
50 for (int i = 0; i < size; i++) {
55 size = handle->extendedData.size();
56 data->writeInt32(size);
57 for (int i = 0; i < size; i++) {
80 int size = data.readInt32(); local
81 for (int i = 0; i < size;
174 const int size = reply.readInt32(); local
204 const int size = reply.readInt32(); local
330 const int size = reply.readInt32(); local
748 const int size = reply.readInt32(); local
954 const int size = data.readInt32(); local
997 const int size = data.readInt32(); local
1478 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++) {
547 // offset is always 0 and length is not used. so any positive size.
631 ssize_t size = -1; local
639 size = FwdLockFile_read(session->fileDesc, buffer, numBytes);
641 if (0 > size) {
644 session->offset += size;
649 return size;
[all...]
/frameworks/av/drm/libmediadrm/
H A DCrypto.cpp38 if (lhs.size() < rhs.size()) {
40 } else if (lhs.size() > rhs.size()) {
44 return memcmp((void *)lhs.array(), (void *)rhs.array(), rhs.size()) < 0;
187 const uint8_t uuid[16], const void *data, size_t size) {
202 return mFactory->createPlugin(uuid, data, size, &mPlugin);
186 createPlugin( const uint8_t uuid[16], const void *data, size_t size) argument
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DCryptoFactory.cpp39 const void* data, size_t size,
47 sessionId.appendArray(reinterpret_cast<const uint8_t*>(data), size); local
37 createPlugin( const uint8_t uuid[16], const void* data, size_t size, android::CryptoPlugin** plugin) argument
/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.h65 size_t frameCount; // number of sample frames corresponding to size;
71 size_t size; // input/output in bytes == frameCount * frameSize member in class:android::AudioRecord::Buffer
78 // removing size and making frameCount the primary field.
97 * more bytes than indicated by 'size' field and update 'size' if
153 * frameCount: Minimum size of track PCM buffer in frames. This defines the
155 * latency of the track. The actual size selected by the AudioRecord could
156 * be larger if the requested size is not compatible with current audio HAL
233 * This includes the latency due to AudioRecord buffer size, resampling if applicable,
386 * size ignore
[all...]
H A DAudioTrack.h86 size_t frameCount; // number of sample frames corresponding to size;
92 size_t size; // input/output in bytes == frameCount * frameSize member in class:android::AudioTrack::Buffer
100 // removing size and making frameCount the primary field.
118 * more bytes than indicated by 'size' field and update 'size' if fewer bytes are
178 * frameCount: Minimum size of track PCM buffer in frames. This defines the
180 * latency of the track. The actual size selected by the AudioTrack could be
181 * larger if the requested size is not compatible with current audio HAL
191 * - fast tracks: HAL buffer size, even if track frameCount is larger
197 * The size o
[all...]
H A DRingBuffer.h31 * A RingBuffer class that maintains an array of objects that can grow up to a certain size.
49 iterator(T* ptr, size_t size, size_t pos, size_t ctr);
75 const_iterator(const T* ptr, size_t size, size_t pos, size_t ctr);
146 * this ringbuffer, [0, size), the behavior for this is undefined.
152 * for this ringbuffer, [0, size), the behavior for this is undefined.
157 * Return the current size of this RingBuffer.
159 size_t size() const;
162 * Remove all elements from this RingBuffer and set the size to 0.
177 RingBuffer<T>::iterator::iterator(T* ptr, size_t size, size_t pos, size_t ctr) : argument
178 mPtr{ptr}, mSize{size}, mPo
221 const_iterator(const T* ptr, size_t size, size_t pos, size_t ctr) argument
347 size_t RingBuffer<T>::size() const { function in class:android::RingBuffer
[all...]

Completed in 187 milliseconds

1234567891011>>