Searched defs:metadata (Results 1 - 15 of 15) sorted by relevance

/frameworks/av/camera/
H A DICameraClient.cpp55 camera_frame_metadata_t *metadata)
62 if (metadata) {
63 data.writeInt32(metadata->number_of_faces);
64 data.write(metadata->faces, sizeof(camera_face_t) * metadata->number_of_faces);
104 camera_frame_metadata_t *metadata = NULL; local
106 metadata = new camera_frame_metadata_t;
107 metadata->number_of_faces = data.readInt32();
108 metadata->faces = (camera_face_t *) data.readInplace(
109 sizeof(camera_face_t) * metadata
54 dataCallback(int32_t msgType, const sp<IMemory>& imageData, camera_frame_metadata_t *metadata) argument
[all...]
H A DCamera.cpp365 camera_frame_metadata_t *metadata)
373 listener->postData(msgType, dataPtr, metadata);
364 dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) argument
/frameworks/av/services/camera/libcameraservice/camera2/
H A DFrameProcessor.cpp190 camera_frame_metadata metadata; local
192 metadata.number_of_faces = 0;
200 callbackFaceDetection(client, metadata);
203 metadata.number_of_faces = entry.count / 4;
204 if (metadata.number_of_faces >
208 metadata.number_of_faces, l.mParameters.fastInfo.maxFaces);
243 faces.setCapacity(metadata.number_of_faces);
245 size_t maxFaces = metadata.number_of_faces;
248 metadata.number_of_faces--;
283 metadata
292 callbackFaceDetection(sp<Camera2Client> client, camera_frame_metadata &metadata) argument
[all...]
/frameworks/ex/common/java/com/android/common/widget/
H A DGroupingListAdapter.java210 long metadata = ((long)size << 32) | cursorPosition;
212 metadata |= EXPANDED_GROUP_MASK;
214 mGroupMetadata[mGroupCount++] = metadata;
243 long metadata = mGroupMetadata[i];
244 int offset = (int)(metadata & GROUP_OFFSET_MASK);
245 boolean expanded = (metadata & EXPANDED_GROUP_MASK) != 0;
246 int size = (int)((metadata & GROUP_SIZE_MASK) >> 32);
268 public void obtainPositionMetadata(PositionMetadata metadata, int position) { argument
271 if (metadata.listPosition == position) {
341 metadata
[all...]
/frameworks/av/media/libmedia/
H A Dmediaplayer.cpp215 status_t MediaPlayer::getMetadata(bool update_only, bool apply_filter, Parcel *metadata) argument
222 return mPlayer->getMetadata(update_only, apply_filter, metadata);
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp43 camera_frame_metadata_t *metadata);
70 camera_frame_metadata_t *metadata) {
531 // By default, do not store metadata in video buffers
69 postData(int32_t msgType, const sp<IMemory> &dataPtr, camera_frame_metadata_t *metadata) argument
H A DFLACExtractor.cpp78 // If metadata pointers aren't provided, we don't fill them
134 // cached when the STREAMINFO metadata is parsed by libFLAC
166 void metadataCallback(const FLAC__StreamMetadata *metadata);
195 const FLAC__StreamMetadata *metadata,
253 const FLAC__StreamMetadata *metadata, void *client_data)
255 ((FLACParser *) client_data)->metadataCallback(metadata);
335 void FLACParser::metadataCallback(const FLAC__StreamMetadata *metadata) argument
337 switch (metadata->type) {
340 mStreamInfo = metadata->data.stream_info;
349 vc = &metadata
251 metadata_callback( const FLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data) argument
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCameraClient.cpp85 // Enable zoom, error, focus, and metadata messages by default
712 const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata, void* user) {
724 if (dataPtr == 0 && metadata == NULL) {
732 client->handlePreviewData(msgType, dataPtr, metadata);
744 client->handleGenericData(msgType, dataPtr, metadata);
792 camera_frame_metadata_t *metadata) {
824 copyFrameAndPostCopiedFrame(msgType, c, heap, offset, size, metadata);
828 c->dataCallback(msgType, mem, metadata);
883 const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) {
887 c->dataCallback(msgType, dataPtr, metadata);
711 dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata, void* user) argument
790 handlePreviewData(int32_t msgType, const sp<IMemory>& mem, camera_frame_metadata_t *metadata) argument
882 handleGenericData(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) argument
900 copyFrameAndPostCopiedFrame( int32_t msgType, const sp<ICameraClient>& client, const sp<IMemoryHeap>& heap, size_t offset, size_t size, camera_frame_metadata_t *metadata) argument
[all...]
H A DCameraHardwareInterface.h39 camera_frame_metadata_t *metadata,
453 camera_frame_metadata_t *metadata,
465 __this->mDataCb(msg_type, mem->mBuffers[index], metadata, __this->mCbUser);
451 __data_cb(int32_t msg_type, const camera_memory_t *data, unsigned int index, camera_frame_metadata_t *metadata, void *user) argument
/frameworks/base/core/java/com/android/internal/widget/
H A DTransportControlView.java84 * The metadata which should be populated into the view once we've been attached
153 public void setMetadata(int generationId, Bundle metadata) { argument
156 handler.obtainMessage(MSG_SET_METADATA, generationId, 0, metadata).sendToTarget();
175 public void setAllMetadata(int generationId, Bundle metadata, Bitmap bitmap) { argument
178 handler.obtainMessage(MSG_SET_METADATA, generationId, 0, metadata).sendToTarget();
279 * Populates the given metadata into the view
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp47 * - 4-byte version number of the metadata, little endian (0x00000001 for v1)
48 * - 12 bytes of metadata
51 * i.e. a 16-byte metadata header followed by the raw file data. If the
52 * restore code does not recognize the metadata version, it can still
225 file_metadata_v1 metadata; local
234 if (sizeof(metadata) != 16) {
235 ALOGE("ERROR: metadata block is the wrong size!");
238 bytesLeft = fileSize + sizeof(metadata);
245 // store the file metadata first
246 metadata
756 file_metadata_v1 metadata; local
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardTransportControlView.java80 * The metadata which should be populated into the view once we've been attached
150 public void setMetadata(int generationId, Bundle metadata) { argument
153 handler.obtainMessage(MSG_SET_METADATA, generationId, 0, metadata).sendToTarget();
172 public void setAllMetadata(int generationId, Bundle metadata, Bitmap bitmap) { argument
175 handler.obtainMessage(MSG_SET_METADATA, generationId, 0, metadata).sendToTarget();
290 * Populates the given metadata into the view
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp65 camera_frame_metadata_t *metadata);
67 void postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata);
278 camera_frame_metadata_t *metadata)
318 // post frame metadata to Java
319 if (metadata && (msgType & CAMERA_MSG_PREVIEW_METADATA)) {
320 postMetadata(env, CAMERA_MSG_PREVIEW_METADATA, metadata);
330 void JNICameraContext::postMetadata(JNIEnv *env, int32_t msgType, camera_frame_metadata_t *metadata) argument
333 obj = (jobjectArray) env->NewObjectArray(metadata->number_of_faces,
336 ALOGE("Couldn't allocate face metadata array");
340 for (int i = 0; i < metadata
277 postData(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata) argument
[all...]
/frameworks/base/drm/jni/
H A Dandroid_drm_DrmManagerClient.cpp301 jobject metadata = NULL; local
313 metadata = env->NewObject(localRef, constructorId);
314 if (NULL != metadata) {
323 env->CallVoidMethod(metadata, ContentValues_putString,
331 return metadata;
/frameworks/base/media/jni/
H A Dandroid_media_MediaPlayer.cpp582 Parcel *metadata = parcelForJavaObject(env, reply); local
584 if (metadata == NULL ) {
589 metadata->freeData();
590 // On return metadata is positioned at the beginning of the
591 // metadata. Note however that the parcel actually starts with the
594 return media_player->getMetadata(update_only, apply_filter, metadata) == OK;

Completed in 151 milliseconds