Example #1
0
 internal static unsafe extern bool AVISaveOptions(IntPtr hwnd, CompressionDialog flags, int nStreams,
     IntPtr* ppavi, AVICompressOptions** ao);
Example #2
0
 public static extern AviError AVIMakeCompressedStream(out IntPtr ppsCompressed, IntPtr aviStream,
     ref AVICompressOptions ao, int dummy);
Example #3
0
 /// <summary>
 /// The AVISaveOptions function retrieves the save options for a file and returns them in a buffer.
 /// </summary>
 /// <param name="hwnd">Handle to the parent window for the Compression Options dialog box.</param>
 /// <param name="flags">Flags for displaying the Compression Options dialog box.</param>
 /// <param name="nStreams">Number of streams that have their options set by the dialog box.</param>
 /// <param name="ppavi">Pointer to an array of stream interface pointers. The nStreams parameter indicates the number of pointers in the array.></param>
 /// <param name="ao">Pointer to an array of pointers to AVICOMPRESSOPTIONS structures. These structures hold the compression options set by the dialog box. The nStreams parameter indicates the number of pointers in the array.</param>
 /// <returns>Returns true if the user pressed OK, false for CANCEL, or an error otherwise.</returns>
 public static unsafe bool AVISaveOptions(IntPtr hwnd, CompressionDialog flags, int nStreams, IntPtr* ppavi,
     AVICompressOptions** ao)
 {
     return Native.AVISaveOptions(hwnd, flags, nStreams, ppavi, ao);
 }
Example #4
0
 /// <summary>
 /// The AVIMakeCompressedStream function creates a compressed stream from an uncompressed stream
 /// and a compression filter, and returns the address of a pointer to the compressed stream. 
 /// This function supports audio and video compression.
 /// </summary>
 /// <param name="ppsCompressed">Pointer to a buffer that receives the compressed stream pointer.</param>
 /// <param name="aviStream">Pointer to the stream to be compressed.</param>
 /// <param name="ao">Pointer to a structure that identifies the type of compression to use and the 
 /// options to apply. You can specify video compression by identifying an appropriate handler in 
 /// the AVICOMPRESSOPTIONS structure. For audio compression, specify the compressed data format.</param>
 /// <param name="dummy">Pointer to a class identifier used to create the stream.</param>
 /// <returns>Returns OK if successful or an error otherwise. Possible error values include the following.
 /// NOCOMPRESSOR
 /// MEMORY
 /// UNSUPPORTED
 /// </returns>
 public static AviError AVIMakeCompressedStream(out IntPtr ppsCompressed, IntPtr aviStream,
     ref AVICompressOptions ao, int dummy)
 {
     return Native.AVIMakeCompressedStream(out ppsCompressed, aviStream, ref ao, dummy);
 }
Example #5
0
 public static extern AviError AVIMakeCompressedStream(out IntPtr ppsCompressed, IntPtr aviStream,
                                                       ref AVICompressOptions ao, int dummy);
Example #6
0
 /// <summary>
 /// The AVIMakeCompressedStream function creates a compressed stream from an uncompressed stream
 /// and a compression filter, and returns the address of a pointer to the compressed stream.
 /// This function supports audio and video compression.
 /// </summary>
 /// <param name="ppsCompressed">Pointer to a buffer that receives the compressed stream pointer.</param>
 /// <param name="aviStream">Pointer to the stream to be compressed.</param>
 /// <param name="ao">Pointer to a structure that identifies the type of compression to use and the
 /// options to apply. You can specify video compression by identifying an appropriate handler in
 /// the AVICOMPRESSOPTIONS structure. For audio compression, specify the compressed data format.</param>
 /// <param name="dummy">Pointer to a class identifier used to create the stream.</param>
 /// <returns>Returns OK if successful or an error otherwise. Possible error values include the following.
 /// NOCOMPRESSOR
 /// MEMORY
 /// UNSUPPORTED
 /// </returns>
 public static AviError AVIMakeCompressedStream(out IntPtr ppsCompressed, IntPtr aviStream,
                                                ref AVICompressOptions ao, int dummy)
 {
     return(Native.AVIMakeCompressedStream(out ppsCompressed, aviStream, ref ao, dummy));
 }