예제 #1
0
 private static double av_q2d(FFmpeg.AVRational a)
 {
     return (double)a.num / (double)a.den;
 }
예제 #2
0
 public static extern FFmpeg.CodecID av_guess_codec(IntPtr pAVOutoutFormat, [MarshalAs(UnmanagedType.LPTStr)] string short_name, [MarshalAs(UnmanagedType.LPTStr)] string filename, [MarshalAs(UnmanagedType.LPTStr)] string mime_type, FFmpeg.CodecType type);
예제 #3
0
 public static extern int av_get_bits_per_sample(FFmpeg.CodecID codec_id);
예제 #4
0
 public static extern uint avcodec_pix_fmt_to_codec_tag(FFmpeg.PixelFormat p);
예제 #5
0
 public static extern IntPtr avcodec_find_encoder(FFmpeg.CodecID id);
예제 #6
0
 public static extern FFmpeg.PixelFormat avcodec_default_get_format(IntPtr pAVCodecContext, ref FFmpeg.PixelFormat fmt);