/frameworks/av/camera/ |
H A D | CameraMetadata.cpp | 126 ALOGE_IF(validate_camera_metadata_structure(mBuffer, /*size*/NULL) != OK, 277 // string.size() doesn't count the null termination character. 278 return updateImpl(tag, (const void*)string.string(), string.size() + 1); 341 ALOGE_IF(validate_camera_metadata_structure(mBuffer, /*size*/NULL) != 469 ALOGE("%s: Failed to read metadata size (error %d %s)", 476 // Special case: zero blob size means zero sized (NULL) metadata. 491 // know how big it is? why do we have to specify the size 575 * Always make the blob size sufficiently larger, as we need put alignment 591 * The blob size is the sum of front padding size, metadat [all...] |
H A D | CameraParameters.cpp | 28 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 D | CameraParameters2.cpp | 40 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 D | ICamera.cpp | 180 uint32_t n = handles.size();
|
H A D | ICameraClient.cpp | 102 uint32_t n = timestamps.size(); 103 if (n != handles.size()) { 104 ALOGE("%s: size of timestamps(%zu) and handles(%zu) mismatch!", 105 __FUNCTION__, timestamps.size(), handles.size()); 187 ALOGE("%s: Failed to read batch size: %s (%d)", __FUNCTION__, strerror(-res), res);
|
H A D | ICameraRecordingProxy.cpp | 91 uint32_t n = handles.size(); 149 ALOGE("%s: Failed to read batch size: %s (%d)", __FUNCTION__, strerror(-res), res);
|
H A D | ICameraRecordingProxyListener.cpp | 74 uint32_t n = timestamps.size(); 75 if (n != handles.size()) { 76 ALOGE("%s: size of timestamps(%zu) and handles(%zu) mismatch!", 77 __FUNCTION__, timestamps.size(), handles.size()); 141 ALOGE("%s: Failed to read batch size: %s (%d)", __FUNCTION__, strerror(-res), res);
|
H A D | VendorTagDescriptor.cpp | 66 size_t len = mReverseMapping.size(); 89 size_t len = mReverseMapping.size(); 95 len = src.mReverseMapping.size(); 202 LOG_ALWAYS_FATAL_IF(static_cast<size_t>(tagCount) != allTags.size(), 203 "tagCount must be the same as allTags size"); 221 size_t size = mTagToNameMap.size(); local 222 if (size == 0) { 225 return size; 229 size_t size local 270 size_t size = mTagToNameMap.size(); local 320 size_t size = mTagToNameMap.size(); local [all...] |
/frameworks/av/camera/camera2/ |
H A D | CaptureRequest.cpp | 56 int32_t size; local 57 if ((err = parcel->readInt32(&size)) != OK) { 58 ALOGE("%s: Failed to read surface list size from parcel", __FUNCTION__); 61 ALOGV("%s: Read surface list size = %d", __FUNCTION__, size); 64 for (int i = 0; i < size; ++i) { 113 int32_t size = static_cast<int32_t>(mSurfaceList.size()); local 116 parcel->writeInt32(size); 118 for (int32_t i = 0; i < size; [all...] |
H A D | OutputConfiguration.cpp | 214 if (mGbps.size() != otherGbps.size()) { 218 for (size_t i = 0; i < mGbps.size(); i++) { 231 if (mGbps.size() != otherGbps.size()) { 232 return mGbps.size() < otherGbps.size(); 235 for (size_t i = 0; i < mGbps.size(); i++) {
|
/frameworks/av/camera/include/camera/ |
H A D | CameraMetadata.h | 148 return update(tag, data.array(), data.size());
|
H A D | CameraParameters2.h | 89 // 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/camera/ndk/impl/ |
H A D | ACameraDevice.cpp | 90 ALOGW("%s: bad count %zu for shading map size", __FUNCTION__, entry.count); 306 for (size_t i = 0; i < req->mSurfaceList.size(); i++) { 700 if ((size_t) burstId >= cbh.mRequests.size()) { 701 ALOGE("%s: Error: request index %d out of bound (size %zu)", 702 __FUNCTION__, burstId, cbh.mRequests.size()); 1257 if ((size_t) burstId >= cbh.mRequests.size()) { 1258 ALOGE("%s: Error: request index %d out of bound (size %zu)", 1259 __FUNCTION__, burstId, cbh.mRequests.size()); 1317 if ((size_t) burstId >= cbh.mRequests.size()) { 1318 ALOGE("%s: Error: request index %d out of bound (size [all...] |
H A D | ACameraManager.cpp | 357 int numCameras = idList.size();
|
H A D | ACameraMetadata.cpp | 213 if (mTags.size() == 0) { 232 *numTags = mTags.size();
|
/frameworks/av/camera/tests/ |
H A D | CameraBinderTests.cpp | 92 if (mCameraStatuses.size() == num) { 96 while (mCameraStatuses.size() < num) { 317 EXPECT_EQ(numCameras, static_cast<const int>(statuses.size()));
|
H A D | CameraZSLTests.cpp | 274 for (size_t i = 0; i < pictureSizes.size(); i++) {
|
H A D | VendorTagDescriptorTests.cpp | 41 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 D | screenrecord.cpp | 76 static bool gSizeSpecified = false; // was size explicitly requested? 213 * Sets the display projection, based on the display dimensions, video size, 340 size_t bufIndex, offset, size; local 352 err = encoder->dequeueOutputBuffer(&bufIndex, &offset, &size, &ptsUsec, 359 ALOGV("Got codec config buffer (%zu bytes)", size); 363 size = 0; 366 if (size != 0) { 367 ALOGV("Got data in buffer %zu, size=%zu, pts=%" PRId64, 368 bufIndex, size, ptsUsec); 398 fwrite(buffers[bufIndex]->data(), 1, size, rawF [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 340 for (size_t i = 0; i < mStateByTrackIndex.size(); ++i) { 352 for (size_t j = 0; j < state->mCSD.size(); ++j) { 361 CHECK_LE(srcBuffer->size(), dstBuffer->capacity()); 362 dstBuffer->setRange(0, srcBuffer->size()); 363 memcpy(dstBuffer->data(), srcBuffer->data(), srcBuffer->size()); 368 dstBuffer->size(), 401 for (size_t i = 0; i < mStateByTrackIndex.size(); ++i) { 420 for (size_t i = 0; i < mStateByTrackIndex.size(); ++i) { 492 dstBuffer->setRange(abuffer->offset(), abuffer->size()); 500 dstBuffer->size(), [all...] |
H A D | SineSource.cpp | 73 size_t numFramesPerBuffer = buffer->size() / frameSize;
|
H A D | WaveWriter.h | 49 void Append(const void *data, size_t size) { argument 50 fwrite(data, 1, size, mFile); 51 mTotalBytes += size;
|
H A D | codec.cpp | 144 for (size_t i = 0; i < stateByTrack.size(); ++i) { 155 state->mInBuffers.size(), state->mOutBuffers.size()); 182 buffer->setRange(abuffer->offset(), abuffer->size()); 193 buffer->size(), 205 for (size_t i = 0; i < stateByTrack.size(); ++i) { 219 0 /* size */, 234 for (size_t i = 0; i < stateByTrack.size(); ++i) { 246 for (size_t i = 0; i < stateByTrack.size(); ++i) { 255 size_t size; local [all...] |
H A D | mediafilter.cpp | 144 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()); 540 buffer->setRange(abuffer->offset(), abuffer->size()); 549 index, 0 /* offset */, buffer->size(), [all...] |
H A D | stagefright.cpp | 101 size_t n = decodeTimesUs->size(); 133 size_t size; local 134 if (meta->findData(kKeyAVCC, &type, &data, &size)) { 136 CHECK(size >= 7); 466 size_t size = buffer->range_length(); local 467 for (size_t i = 0; i + 3 < size; ++i) { 530 for (size_t i = 0; i < sources.size(); ++i) { 663 if (profileLevels.size() == 0) { 668 for (size_t j = 0; j < profileLevels.size(); ++j) {
|