예제 #1
0
 @MarshalsPointer
 public static long toNative(List<AVVideoSettings> l, long flags) {
   if (l == null) {
     return 0L;
   }
   NSArray<NSDictionary<NSString, NSObject>> array = new NSMutableArray<>();
   for (AVVideoSettings i : l) {
     array.add(i.getDictionary());
   }
   return NSObject.Marshaler.toNative(array, flags);
 }
예제 #2
0
 /** @since Available in iOS 6.0 and later. */
 public AVAssetWriterInput(
     AVMediaType mediaType, AVVideoSettings outputSettings, CMFormatDescription sourceFormatHint) {
   super((SkipInit) null);
   initObject(init(mediaType, outputSettings.getDictionary(), sourceFormatHint));
 }
예제 #3
0
 public AVAssetWriterInput(AVMediaType mediaType, AVVideoSettings outputSettings) {
   super((SkipInit) null);
   initObject(init(mediaType, outputSettings.getDictionary()));
 }
예제 #4
0
 /** @since Available in iOS 6.0 and later. */
 public static AVAssetWriterInput create(
     AVMediaType mediaType, AVVideoSettings outputSettings, CMFormatDescription sourceFormatHint) {
   return create(mediaType, outputSettings.getDictionary(), sourceFormatHint);
 }
예제 #5
0
 public static AVAssetWriterInput create(AVMediaType mediaType, AVVideoSettings outputSettings) {
   return create(mediaType, outputSettings.getDictionary());
 }