Lines Matching defs:buffer
50 CameraMetadata::CameraMetadata(camera_metadata_t *buffer) :
52 acquire(buffer);
59 CameraMetadata &CameraMetadata::operator=(const camera_metadata_t *buffer) {
65 if (CC_LIKELY(buffer != mBuffer)) {
66 camera_metadata_t *newBuffer = clone_camera_metadata(buffer);
83 status_t CameraMetadata::unlock(const camera_metadata_t *buffer) const {
88 if (buffer != mBuffer) {
118 void CameraMetadata::acquire(camera_metadata_t *buffer) {
124 mBuffer = buffer;
128 __FUNCTION__, buffer);
311 ALOGE("%s: Update attempted with data from the same metadata buffer!",
420 ALOGE("%s: Can't allocate larger metadata buffer", __FUNCTION__);
444 ALOGE("%s: Can't allocate larger metadata buffer", __FUNCTION__);
656 camera_metadata *buffer = NULL;
658 res = CameraMetadata::readFromParcel(*parcel, &buffer);
667 mBuffer = buffer;