Lines Matching refs:metadataResult
302 camera_frame_metadata_t *metadataResult, in encodeFaceCoordinates() argument
320 if ( (0 < metadataResult->number_of_faces) && (NULL != metadataResult->faces) ) { in encodeFaceCoordinates()
321 free(metadataResult->faces); in encodeFaceCoordinates()
322 metadataResult->number_of_faces = 0; in encodeFaceCoordinates()
323 metadataResult->faces = NULL; in encodeFaceCoordinates()
436 metadataResult->number_of_faces = i; in encodeFaceCoordinates()
437 metadataResult->faces = faces; in encodeFaceCoordinates()
439 for (int i = 0; i < metadataResult->number_of_faces; i++) in encodeFaceCoordinates()
477 for (int i = 0; i < metadataResult->number_of_faces; i++) in encodeFaceCoordinates()
482 metadataResult->number_of_faces = 0; in encodeFaceCoordinates()
483 metadataResult->faces = NULL; in encodeFaceCoordinates()
487 if (faceDetectionNumFacesLastOutput != metadataResult->number_of_faces) { in encodeFaceCoordinates()
490 faceDetectionNumFacesLastOutput = metadataResult->number_of_faces; in encodeFaceCoordinates()