2014 snapchat source code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
708 B

  1. //
  2. // SCCameraSettingUtils.h
  3. // Snapchat
  4. //
  5. // Created by Pinlin Chen on 12/09/2017.
  6. //
  7. #import <SCBase/SCMacros.h>
  8. #import <SCCapturerDefines.h>
  9. #import <CoreMedia/CoreMedia.h>
  10. #import <Foundation/Foundation.h>
  11. SC_EXTERN_C_BEGIN
  12. // Return the value if metadata attribute is found; otherwise, return nil
  13. extern NSNumber *retrieveExposureTimeFromEXIFAttachments(CFDictionaryRef exifAttachments);
  14. extern NSNumber *retrieveBrightnessFromEXIFAttachments(CFDictionaryRef exifAttachments);
  15. extern NSNumber *retrieveISOSpeedRatingFromEXIFAttachments(CFDictionaryRef exifAttachments);
  16. extern void retrieveSampleBufferMetadata(CMSampleBufferRef sampleBuffer, SampleBufferMetadata *metadata);
  17. SC_EXTERN_C_END