Logo Search packages:      
Sourcecode: taoframework version File versions  Download package

Tao::FFmpeg::FFmpeg Class Reference

List of all members.


Detailed Description

Definition at line 38 of file AVCodec.cs.


Public Types

enum  AVDiscard {
  AVDISCARD_NONE = -16, AVDISCARD_DEFAULT = 0, AVDISCARD_NONREF = 8, AVDISCARD_BIDIR = 16,
  AVDISCARD_NONKEY = 32, AVDISCARD_ALL = 48
}
enum  CodecID {
  CODEC_ID_NONE, CODEC_ID_MPEG1VIDEO, CODEC_ID_MPEG2VIDEO, CODEC_ID_MPEG2VIDEO_XVMC,
  CODEC_ID_H261, CODEC_ID_H263, CODEC_ID_RV10, CODEC_ID_RV20,
  CODEC_ID_MJPEG, CODEC_ID_MJPEGB, CODEC_ID_LJPEG, CODEC_ID_SP5X,
  CODEC_ID_JPEGLS, CODEC_ID_MPEG4, CODEC_ID_RAWVIDEO, CODEC_ID_MSMPEG4V1,
  CODEC_ID_MSMPEG4V2, CODEC_ID_MSMPEG4V3, CODEC_ID_WMV1, CODEC_ID_WMV2,
  CODEC_ID_H263P, CODEC_ID_H263I, CODEC_ID_FLV1, CODEC_ID_SVQ1,
  CODEC_ID_SVQ3, CODEC_ID_DVVIDEO, CODEC_ID_HUFFYUV, CODEC_ID_CYUV,
  CODEC_ID_H264, CODEC_ID_INDEO3, CODEC_ID_VP3, CODEC_ID_THEORA,
  CODEC_ID_ASV1, CODEC_ID_ASV2, CODEC_ID_FFV1, CODEC_ID_4XM,
  CODEC_ID_VCR1, CODEC_ID_CLJR, CODEC_ID_MDEC, CODEC_ID_ROQ,
  CODEC_ID_INTERPLAY_VIDEO, CODEC_ID_XAN_WC3, CODEC_ID_XAN_WC4, CODEC_ID_RPZA,
  CODEC_ID_CINEPAK, CODEC_ID_WS_VQA, CODEC_ID_MSRLE, CODEC_ID_MSVIDEO1,
  CODEC_ID_IDCIN, CODEC_ID_8BPS, CODEC_ID_SMC, CODEC_ID_FLIC,
  CODEC_ID_TRUEMOTION1, CODEC_ID_VMDVIDEO, CODEC_ID_MSZH, CODEC_ID_ZLIB,
  CODEC_ID_QTRLE, CODEC_ID_SNOW, CODEC_ID_TSCC, CODEC_ID_ULTI,
  CODEC_ID_QDRAW, CODEC_ID_VIXL, CODEC_ID_QPEG, CODEC_ID_XVID,
  CODEC_ID_PNG, CODEC_ID_PPM, CODEC_ID_PBM, CODEC_ID_PGM,
  CODEC_ID_PGMYUV, CODEC_ID_PAM, CODEC_ID_FFVHUFF, CODEC_ID_RV30,
  CODEC_ID_RV40, CODEC_ID_VC1, CODEC_ID_WMV3, CODEC_ID_LOCO,
  CODEC_ID_WNV1, CODEC_ID_AASC, CODEC_ID_INDEO2, CODEC_ID_FRAPS,
  CODEC_ID_TRUEMOTION2, CODEC_ID_BMP, CODEC_ID_CSCD, CODEC_ID_MMVIDEO,
  CODEC_ID_ZMBV, CODEC_ID_AVS, CODEC_ID_SMACKVIDEO, CODEC_ID_NUV,
  CODEC_ID_KMVC, CODEC_ID_FLASHSV, CODEC_ID_CAVS, CODEC_ID_JPEG2000,
  CODEC_ID_VMNC, CODEC_ID_VP5, CODEC_ID_VP6, CODEC_ID_VP6F,
  CODEC_ID_PCM_S16LE = 0x10000, CODEC_ID_PCM_S16BE, CODEC_ID_PCM_U16LE, CODEC_ID_PCM_U16BE,
  CODEC_ID_PCM_S8, CODEC_ID_PCM_U8, CODEC_ID_PCM_MULAW, CODEC_ID_PCM_ALAW,
  CODEC_ID_PCM_S32LE, CODEC_ID_PCM_S32BE, CODEC_ID_PCM_U32LE, CODEC_ID_PCM_U32BE,
  CODEC_ID_PCM_S24LE, CODEC_ID_PCM_S24BE, CODEC_ID_PCM_U24LE, CODEC_ID_PCM_U24BE,
  CODEC_ID_PCM_S24DAUD, CODEC_ID_ADPCM_IMA_QT = 0x11000, CODEC_ID_ADPCM_IMA_WAV, CODEC_ID_ADPCM_IMA_DK3,
  CODEC_ID_ADPCM_IMA_DK4, CODEC_ID_ADPCM_IMA_WS, CODEC_ID_ADPCM_IMA_SMJPEG, CODEC_ID_ADPCM_MS,
  CODEC_ID_ADPCM_4XM, CODEC_ID_ADPCM_XA, CODEC_ID_ADPCM_ADX, CODEC_ID_ADPCM_EA,
  CODEC_ID_ADPCM_G726, CODEC_ID_ADPCM_CT, CODEC_ID_ADPCM_SWF, CODEC_ID_ADPCM_YAMAHA,
  CODEC_ID_ADPCM_SBPRO_4, CODEC_ID_ADPCM_SBPRO_3, CODEC_ID_ADPCM_SBPRO_2, CODEC_ID_AMR_NB = 0x12000,
  CODEC_ID_AMR_WB, CODEC_ID_RA_144 = 0x13000, CODEC_ID_RA_288, CODEC_ID_ROQ_DPCM = 0x14000,
  CODEC_ID_INTERPLAY_DPCM, CODEC_ID_XAN_DPCM, CODEC_ID_SOL_DPCM, CODEC_ID_MP2 = 0x15000,
  CODEC_ID_MP3, CODEC_ID_AAC, CODEC_ID_MPEG4AAC, CODEC_ID_AC3,
  CODEC_ID_DTS, CODEC_ID_VORBIS, CODEC_ID_DVAUDIO, CODEC_ID_WMAV1,
  CODEC_ID_WMAV2, CODEC_ID_MACE3, CODEC_ID_MACE6, CODEC_ID_VMDAUDIO,
  CODEC_ID_SONIC, CODEC_ID_SONIC_LS, CODEC_ID_FLAC, CODEC_ID_MP3ADU,
  CODEC_ID_MP3ON4, CODEC_ID_SHORTEN, CODEC_ID_ALAC, CODEC_ID_WESTWOOD_SND1,
  CODEC_ID_GSM, CODEC_ID_QDM2, CODEC_ID_COOK, CODEC_ID_TRUESPEECH,
  CODEC_ID_TTA, CODEC_ID_SMACKAUDIO, CODEC_ID_QCELP, CODEC_ID_DVD_SUBTITLE = 0x17000,
  CODEC_ID_DVB_SUBTITLE, CODEC_ID_MPEG2TS = 0x20000
}
enum  CodecType {
  CODEC_TYPE_UNKNOWN = -1, CODEC_TYPE_VIDEO, CODEC_TYPE_AUDIO, CODEC_TYPE_DATA,
  CODEC_TYPE_SUBTITLE
}
enum  Motion_Est_ID {
  ME_ZERO = 1, ME_FULL, ME_LOG, ME_PHODS,
  ME_EPZS, ME_X1, ME_HEX, ME_UMH,
  ME_ITER
}
enum  PixelFormat {
  PIX_FMT_NONE = -1, PIX_FMT_YUV420P, PIX_FMT_YUYV422, PIX_FMT_RGB24,
  PIX_FMT_BGR24, PIX_FMT_YUV422P, PIX_FMT_YUV444P, PIX_FMT_RGB32,
  PIX_FMT_YUV410P, PIX_FMT_YUV411P, PIX_FMT_RGB565, PIX_FMT_RGB555,
  PIX_FMT_GRAY8, PIX_FMT_MONOWHITE, PIX_FMT_MONOBLACK, PIX_FMT_PAL8,
  PIX_FMT_YUVJ420P, PIX_FMT_YUVJ422P, PIX_FMT_YUVJ444P, PIX_FMT_XVMC_MPEG2_MC,
  PIX_FMT_XVMC_MPEG2_IDCT, PIX_FMT_UYVY422, PIX_FMT_UYYVYY411, PIX_FMT_BGR32,
  PIX_FMT_BGR565, PIX_FMT_BGR555, PIX_FMT_BGR8, PIX_FMT_BGR4,
  PIX_FMT_BGR4_BYTE, PIX_FMT_RGB8, PIX_FMT_RGB4, PIX_FMT_RGB4_BYTE,
  PIX_FMT_NV12, PIX_FMT_NV21, PIX_FMT_RGB32_1, PIX_FMT_BGR32_1,
  PIX_FMT_NB
}
enum  SampleFormat {
  SAMPLE_FMT_NONE = -1, SAMPLE_FMT_U8, SAMPLE_FMT_S16, SAMPLE_FMT_S24,
  SAMPLE_FMT_S32, SAMPLE_FMT_FLT
}

Public Member Functions

delegate int AllocCBCallback (IntPtr pVoid, IntPtr pAVImageInfo)
static int audio_init ()
static int audio_resample (IntPtr pResampleContext, IntPtr output, IntPtr intput, int nb_samples)
static void audio_resample_close (IntPtr pResampleContext)
static IntPtr audio_resample_init (int output_channels, int input_channels, int output_rate, int input_rate)
static int av_add_index_entry (IntPtr pAVStream, Int64 pos, Int64 timestamp, int size, int distance, int flags)
static IntPtr av_alloc_format_context ()
static void av_bitstream_filter_close (IntPtr pAVBitStreamFilterContext)
static int av_bitstream_filter_filter (IntPtr pAVBitStreamFilterContext, IntPtr pAVCodecContext,[MarshalAs(UnmanagedType.LPStr)]String args,[MarshalAs(UnmanagedType.LPArray)]IntPtr[] poutbuf, ref int poutbuf_size, IntPtr buf, int buf_size, int keyframe)
static IntPtr av_bitstream_filter_init ([MarshalAs(UnmanagedType.LPStr)] String name)
static void av_close_input_file (IntPtr pAVFormatContext)
static void av_destruct_packet (IntPtr pAVPacket)
static void av_destruct_packet_nofree (IntPtr pAVPacket)
static int av_dup_packet (IntPtr pAVPacket)
static void av_fast_realloc (IntPtr ptr, ref uint size, ref uint min_size)
static int av_filename_number_test ([MarshalAs(UnmanagedType.LPTStr)]String filename)
static int av_find_default_stream_index (IntPtr pAVFormatContext)
static IntPtr av_find_input_format ([MarshalAs(UnmanagedType.LPTStr)]String short_name)
static int av_find_stream_info (IntPtr pAVFormatContext)
static void av_free_packet (IntPtr pAVPacket)
static void av_free_static ()
static void av_freep (IntPtr ptr)
static int av_get_bits_per_sample (CodecID codec_id)
static int av_get_frame_filename (IntPtr buf, int buf_size,[MarshalAs(UnmanagedType.LPTStr)]String path, int number)
static int av_get_packet (IntPtr pByteIOContext, IntPtr pAVPacket, int size)
static byte av_get_pict_type_char (int pict_type)
static Int64 av_gettime ()
static CodecID av_guess_codec (IntPtr pAVOutoutFormat,[MarshalAs(UnmanagedType.LPTStr)] String short_name,[MarshalAs(UnmanagedType.LPTStr)] String filename,[MarshalAs(UnmanagedType.LPTStr)] String mime_type, CodecType type)
static CodecID av_guess_image2_codec ([MarshalAs(UnmanagedType.LPTStr)] String filename)
static void av_hex_dump (IntPtr pFile, IntPtr buf, int size)
static int av_index_search_timestamp (IntPtr pAVStream, Int64 timestamp, int flags)
static void av_init_packet (IntPtr pAVPacket)
 Initialize optional fields of a packet.
static int av_interleave_packet_per_dts (IntPtr pAVFormatContext, out IntPtr p_out_AVPacket, IntPtr pAVPacket, int flush)
static int av_interleaved_write_frame (IntPtr pAVFormatContext, IntPtr pAVPacket)
static void av_mallocz (uint size)
static void av_mallocz_static (uint size)
static int av_new_packet (IntPtr pAVPacket, int size)
static IntPtr av_new_stream (IntPtr pAVFormatContext, int id)
static int av_open_input_file ([Out]out IntPtr pFormatContext,[MarshalAs(UnmanagedType.LPStr)]String filename, IntPtr pAVInputFormat, int buf_size, IntPtr pAVFormatParameters)
static int av_parser_change (IntPtr pAVCodecParserContext, IntPtr pAVCodecContext,[MarshalAs(UnmanagedType.LPArray)]IntPtr[] poutbuf, ref int poutbuf_size, IntPtr buf, int buf_size, int keyframe)
static void av_parser_close (IntPtr pAVCodecParserContext)
static IntPtr av_parser_init (int codec_id)
static int av_parser_parse (IntPtr pAVCodecParserContext, IntPtr pAVCodecContext,[MarshalAs(UnmanagedType.LPArray)]IntPtr[] poutbuf, ref int poutbuf_size, IntPtr buf, int buf_size, Int64 pts, Int64 dts)
static void av_pkt_dump (IntPtr pFile, IntPtr pAVPacket, int dump_payload)
static IntPtr av_probe_image_format (IntPtr pAVProbeData)
static IntPtr av_probe_input_format (IntPtr pAVProbeData, int is_opened)
static int av_read_frame (IntPtr pAVFormatContext, IntPtr pAVPacket)
static int av_read_image (IntPtr pByteIOContext,[MarshalAs(UnmanagedType.LPTStr)]String filename, IntPtr pAVImageFormat,[MarshalAs(UnmanagedType.FunctionPtr)] AllocCBCallback alloc_cb, IntPtr opaque)
static int av_read_packet (IntPtr pAVFormatContext, IntPtr pAVPacket)
static int av_read_pause (IntPtr pAVFormatContext)
static int av_read_play (IntPtr pAVFormatContext)
static void av_realloc_static (IntPtr ptr, uint size)
static void av_register_all ()
static void av_register_bitstream_filter (IntPtr pAVBitStreamFilter)
static void av_register_codec_parser (IntPtr pAVcodecParser)
static void av_register_image_format (IntPtr pAVImageFormat)
static void av_register_input_format (IntPtr pAVInputFormat)
static void av_register_output_format (IntPtr pAVOutputFormat)
static int av_resample (IntPtr pAVResampleContext, IntPtr dst, IntPtr src, IntPtr consumed, int src_size, int udpate_ctx)
static void av_resample_close (IntPtr pAVResampleContext)
static void av_resample_compensate (IntPtr pAVResampleContext, int sample_delta, int compensation_distance)
static IntPtr av_resample_init (int out_rate, int in_rate, int filter_length, int log2_phase_count, int linear, double cutoff)
static int av_seek_frame (IntPtr pAVFormatContext, int stream_index, Int64 timestamp, int flags)
static int av_seek_frame_binary (IntPtr pAVFormatContext, int stream_index, Int64 target_ts, int flags)
static int av_set_parameters (IntPtr pAVFormatContext, IntPtr pAVFormatParameters)
static void av_set_pts_info (IntPtr pAVStream, int pts_wrap_bits, int pts_num, int pts_den)
static IntPtr av_strdup ([MarshalAs(UnmanagedType.LPStr)]String s)
static void av_update_cur_dts (IntPtr pAVFormatContext, IntPtr pAVStream, Int64 timestamp)
static int av_write_frame (IntPtr pAVFormatContext, IntPtr pAVPacket)
static int av_write_header (IntPtr pAVFormatContext)
static int av_write_image (IntPtr pByteIOContext, IntPtr pAVImageFormat, IntPtr pAVImageInfo)
static int av_write_trailer (IntPtr pAVFormatContext)
static void avcodec_align_dimensions (IntPtr pAVCodecContext, ref int width, ref int height)
static IntPtr avcodec_alloc_context ()
static IntPtr avcodec_alloc_frame ()
static uint avcodec_build ()
static int avcodec_check_dimensions (IntPtr av_log_ctx, ref uint width, ref uint height)
static int avcodec_close (IntPtr pAVCodecContext)
static int avcodec_decode_audio (IntPtr pAVCodecContext, IntPtr samples, out int frame_size_ptr, IntPtr buf, int buf_size)
static int avcodec_decode_subtitle (IntPtr pAVCodecContext, IntPtr pAVSubtitle, ref int got_sub_ptr, IntPtr buf, int buf_size)
static int avcodec_decode_video (IntPtr pAVCodecContext, IntPtr pAVFrame, ref int got_picture_ptr, IntPtr buf, int buf_size)
static int avcodec_default_execute (IntPtr pAVCodecContext,[MarshalAs(UnmanagedType.FunctionPtr)]FuncCallback func,[MarshalAs(UnmanagedType.LPArray)]IntPtr[] arg, ref int ret, int count)
static void avcodec_default_free_buffers (IntPtr pAVCodecContext)
static int avcodec_default_get_buffer (IntPtr pAVCodecContext, IntPtr pAVFrame)
static PixelFormat avcodec_default_get_format (IntPtr pAVCodecContext, ref PixelFormat fmt)
static void avcodec_default_reget_buffer (IntPtr pAVCodecContext, IntPtr pAVFrame)
static void avcodec_default_release_buffer (IntPtr pAVCodecContext, IntPtr pAVFrame)
static int avcodec_encode_audio (IntPtr pAVCodecContext, IntPtr buf, int buf_size, IntPtr samples)
static int avcodec_encode_subtitle (IntPtr pAVCodecContext, IntPtr buf, int buf_size, IntPtr pAVSubtitle)
static int avcodec_encode_video (IntPtr pAVCodecContext, IntPtr buf, int buf_size, IntPtr pAVFrame)
static int avcodec_find_best_pix_fmt (int pix_fmt_mask, int src_pix_fmt, int has_alpha, IntPtr loss_ptr)
static IntPtr avcodec_find_decoder (CodecID id)
static IntPtr avcodec_find_decoder_by_name ([MarshalAs(UnmanagedType.LPStr)]String mame)
static IntPtr avcodec_find_encoder (CodecID id)
static IntPtr avcodec_find_encoder_by_name ([MarshalAs(UnmanagedType.LPStr)]String mame)
static void avcodec_flush_buffers (IntPtr pAVCodecContext)
static void avcodec_get_chroma_sub_sample (int pix_fmt, IntPtr h_shift, IntPtr v_shift)
static void avcodec_get_context_defaults (IntPtr pAVCodecContext)
static void avcodec_get_frame_defaults (IntPtr pAVFrame)
static PixelFormat avcodec_get_pix_fmt ([MarshalAs(UnmanagedType.LPStr)]String name)
static int avcodec_get_pix_fmt_loss (int dst_pix_fmt, int src_pix_fmt, int has_alpha)
static String avcodec_get_pix_fmt_name (int pix_fmt)
static uint avcodec_init ()
static int avcodec_open (IntPtr pAVCodecContext, IntPtr pAVCodec)
static int avcodec_parse_frame (IntPtr pAVCodecContext,[MarshalAs(UnmanagedType.LPArray)]IntPtr[] pdata, IntPtr data_size_ptr, IntPtr buf, int buf_size)
static uint avcodec_pix_fmt_to_codec_tag (PixelFormat p)
static void avcodec_register_all ()
static void avcodec_set_dimensions (IntPtr pAVCodecContext, int width, int height)
static void avcodec_string ([MarshalAs(UnmanagedType.LPStr)]String mam, int buf_size, IntPtr pAVCodeContext, int encode)
static int avcodec_thread_execute (IntPtr pAVCodecContext,[MarshalAs(UnmanagedType.FunctionPtr)]FuncCallback func,[MarshalAs(UnmanagedType.LPArray)]IntPtr[] arg, ref int ret, int count)
static void avcodec_thread_free (IntPtr pAVCodecContext)
static int avcodec_thread_init (IntPtr pAVCodecContext, int thread_count)
static uint avcodec_version ()
static int avpicture_alloc (IntPtr pAVPicture, int pix_fmt, int width, int height)
static int avpicture_deinterlace (IntPtr p_dst_AVPicture, IntPtr p_src_AVPicture, int pix_fmt, int width, int height)
static int avpicture_fill (IntPtr pAVPicture, IntPtr ptr, int pix_fmt, int width, int height)
static void avpicture_free (IntPtr pAVPicture)
static int avpicture_get_size (int pix_fmt, int width, int height)
static int avpicture_layout (IntPtr p_src_AVPicture, int pix_fmt, int width, int height, IntPtr dest, int dest_size)
delegate int CloseCallback (IntPtr pAVCodecContext)
static int dc1394_init ()
delegate int DecodeCallback (IntPtr pAVCodecContext, IntPtr outdata, ref int outdata_size, IntPtr buf, int buf_size)
delegate void DestructCallback (IntPtr pAVPacket)
delegate void DrawhorizBandCallback (IntPtr pAVCodecContext, IntPtr pAVFrame,[MarshalAs(UnmanagedType.LPArray, SizeConst=4)]int[] offset, int y, int type, int height)
static void dump_format (IntPtr pAVFormatContext, int index,[MarshalAs(UnmanagedType.LPTStr)] String url, int is_output)
static int dv1394_init ()
delegate int EncodeCallback (IntPtr pAVCodecContext, IntPtr buf, int buf_size, IntPtr data)
delegate int ExecuteCallback (IntPtr pAVCodecContext,[MarshalAs(UnmanagedType.FunctionPtr)]FuncCallback func,[MarshalAs(UnmanagedType.LPArray)]IntPtr[] arg2, ref int ret, int count)
static Int64 ffm_read_write_index (int fd)
static void ffm_set_write_index (IntPtr pAVFormatContext, Int64 pos, Int64 file_size)
static void ffm_write_write_index (int fd, Int64 pos)
delegate int FilterCallback (IntPtr pAVBitStreamFilterContext, IntPtr pAVCodecContext,[MarshalAs(UnmanagedType.LPStr)]String args,[MarshalAs(UnmanagedType.LPArray)]IntPtr[] poutbuf, ref int poutbuf_size, IntPtr buf, int buf_size, int keyframe)
static int find_info_tag ([MarshalAs(UnmanagedType.LPTStr)]String arg, int arg_size,[MarshalAs(UnmanagedType.LPTStr)]String tag1,[MarshalAs(UnmanagedType.LPTStr)]String info)
delegate int FlushCallback (IntPtr pAVCodecContext)
delegate int FuncCallback (IntPtr pAVCodecContext, IntPtr parg)
delegate int GetBufferCallback (IntPtr pAVCodecContext, IntPtr pAVFrame)
delegate PixelFormat GetFormatCallback (IntPtr pAVCodecContext, IntPtr pPixelFormat)
static IntPtr guess_format ([MarshalAs(UnmanagedType.LPTStr)] String short_name,[MarshalAs(UnmanagedType.LPTStr)] String filename,[MarshalAs(UnmanagedType.LPTStr)] String mime_type)
static IntPtr guess_image_format ([MarshalAs(UnmanagedType.LPTStr)]String filename)
static IntPtr guess_stream_format ([MarshalAs(UnmanagedType.LPTStr)] String short_name,[MarshalAs(UnmanagedType.LPTStr)] String filename,[MarshalAs(UnmanagedType.LPTStr)] String mime_type)
static int img_convert (IntPtr p_dst_AVPicture, int dst_pix_fmt, IntPtr p_src_AVPicture, int pix_fmt, int width, int height)
static void img_copy (IntPtr pAVPicture, IntPtr p_src_AVPicture, int pix_fmt, int width, int height)
static int img_crop (IntPtr p_dst_pAVPicture, IntPtr p_src_pAVPicture, int pix_fmt, int top_band, int left_band)
static int img_get_alpha_info (IntPtr pAVPicture, int pix_fmt, int width, int height)
static int img_pad (IntPtr p_dst_pAVPicture, IntPtr p_src_pAVPicture, int height, int width, int pix_fmt, int padtop, int padbottom, int padleft, int padright, ref int color)
static void img_resample (IntPtr pImgReSampleContext, IntPtr p_output_AVPicture, IntPtr p_input_AVPicture)
static IntPtr img_resample_full_init (int owidth, int oheight, int iwidth, int iheight, int topBand, int bottomBand, int leftBand, int rightBand, int padtop, int padbottom, int padleft, int padright)
static IntPtr img_resample_init (int output_width, int output_height, int input_width, int input_height)
delegate int ImgProbeCallback (IntPtr pAVProbeData)
delegate int ImgReadCallback (IntPtr pByteIOContext,[MarshalAs(UnmanagedType.FunctionPtr)] AllocCBCallback alloc_cb, IntPtr pVoid)
static void ImgReSampleContext (IntPtr pImgReSampleContext)
delegate int ImgWriteCallback (IntPtr pByteIOContext, IntPtr pAVImageInfo)
delegate int InitCallback (IntPtr pAVCodecContext)
delegate int InterleavePacketCallback (IntPtr pAVFormatContext, IntPtr pOutAVPacket, IntPtr pInAVPacket, int flush)
delegate String ItemNameCallback ()
delegate int ParaerInitCallback (IntPtr pAVCodecParserContext)
static Int64 parse_date ([MarshalAs(UnmanagedType.LPTStr)]String datestr, int duration)
static int parse_frame_rate (IntPtr pFrame_rate, IntPtr pFrame_rate_base,[MarshalAs(UnmanagedType.LPTStr)]String arg)
static int parse_image_size (IntPtr width_ptr, IntPtr height_ptr,[MarshalAs(UnmanagedType.LPTStr)]String arg)
delegate void ParserCloseCallback (IntPtr pAVcodecParserContext)
delegate int ParserParseCallback (IntPtr pAVCodecParserContext, IntPtr pAVCodecContext,[MarshalAs(UnmanagedType.LPArray)]IntPtr[] poutbuf, ref int poutbuf_size, IntPtr buf, int buf_size)
delegate int Read_PacketCallback (IntPtr opaque, IntPtr buf, int buf_size)
delegate int ReadCloseCallback (IntPtr pAVFormatContext)
delegate int ReadHeaderCallback (IntPtr pAVFormatContext, IntPtr pAVFormatParameters)
delegate int ReadPacketCallback (IntPtr pAVFormatContext, IntPtr pAVPacket)
delegate int ReadPauseCallback (IntPtr pAVFormatContext)
delegate int ReadPlayCallback (IntPtr pAVFormatContext)
delegate int ReadProbeCallback (IntPtr pAVProbeData)
delegate int ReadSeekCallback (IntPtr pAVFormatContext, int stream_index, Int64 timestamp, int flags)
delegate int ReadTimestampCallback (IntPtr pAVFormatContext, int stream_index, IntPtr pos, Int64 pos_limit)
delegate int RegetBufferCallback (IntPtr pAVCodecContext, IntPtr pAVFrame)
static void register_avcodec (IntPtr pAVCodec)
delegate void ReleaseBufferCallback (IntPtr pAVCodecContext, IntPtr pAVFrame)
delegate void RtpCallback (IntPtr pAVCodecContext, IntPtr pdata, int size, int mb_nb)
delegate Int64 SeekCallback (IntPtr opaque, Int64 offset, int whence)
delegate int SetParametersCallback (IntPtr pAVFormatContext, IntPtr avFormatParameters)
delegate int SplitCallback (IntPtr pAVCodecContext, IntPtr buf, int buf_size)
delegate UInt32 UpdateChecksumCallback (UInt32 checksum, IntPtr buf, UInt32 size)
static int video_grab_init ()
delegate int WriteHeader (IntPtr pAVFormatContext)
delegate int WritePacket (IntPtr pAVFormatContext, IntPtr pAVPacket)
delegate int WritePacketCallback (IntPtr opaque, IntPtr buf, int buf_size)
delegate int WriteTrailer (IntPtr pAVFormatContext)

Public Attributes

const int AV_PARSER_PTS_NB = 4
const int AV_TIME_BASE = 1000000
const int AVCODEC_MAX_AUDIO_FRAME_SIZE = 192000
const int AVERROR_INVALIDDATA = -4
const int AVERROR_IO = -2
const int AVERROR_NOFMT = -6
const int AVERROR_NOMEM = -5
const int AVERROR_NOTSUPP = -7
const int AVERROR_NUMEXPECTED = -3
const int AVERROR_UNKNOWN = -1
const uint AVFMT_FLAG_GENPTS = 0x0001
const uint AVFMT_FLAG_IGNIDX = 0x0002
const uint AVFMT_GLOBALHEADER = 0x0040
const int AVFMT_INFINITEOUTPUTLOOP = 0
const uint AVFMT_NEEDNUMBER = 0x0002
const uint AVFMT_NOFILE = 0x0001
const int AVFMT_NOOUTPUTLOOP = -1
const uint AVFMT_NOTIMESTAMPS = 0x0080
const uint AVFMT_RAWPICTURE = 0x0020
const uint AVFMT_SHOW_IDS = 0x0008
const uint AVFMTCTX_NOHEADER = 0x001
const uint AVIMAGE_INTERLEAVED = 0x0001
const int AVINDEX_KEYFRAME = 0x001
const int AVPALETTE_COUNT = 256
const int AVPALETTE_SIZE = 1024
const int AVPROBE_SCORE_MAX = 100
const int AVSEEK_FLAG_ANY = 4
const int AVSEEK_FLAG_BACKWARD = 1
const int AVSEEK_FLAG_BYTE = 2
const int CODEC_CAP_DELAY = 0x0020
const int CODEC_CAP_DR1 = 0x0002
const int CODEC_CAP_DRAW_HORIZ_BAND = 0x0001
const int CODEC_CAP_HWACCEL = 0x0010
const int CODEC_CAP_PARSE_ONLY = 0x0004
const int CODEC_CAP_SMALL_LAST_FRAME = 0x0040
 Codec can be fed a final frame with a smaller size. This can be used to prevent truncation of the last audio samples.
const int CODEC_CAP_TRUNCATED = 0x0008
const int CODEC_FLAG2_8X8DCT = 0x00000080
 /
const int CODEC_FLAG2_AUD = 0x00000200
const int CODEC_FLAG2_BPYRAMID = 0x00000010
const int CODEC_FLAG2_BRDO = 0x00000400
const int CODEC_FLAG2_FAST = 0x00000001
const int CODEC_FLAG2_FASTPSKIP = 0x00000100
const int CODEC_FLAG2_INTRA_VLC = 0x00000800
const int CODEC_FLAG2_LOCAL_HEADER = 0x00000008
const int CODEC_FLAG2_MEMC_ONLY = 0x00001000
const int CODEC_FLAG2_MIXED_REFS = 0x00000040
const int CODEC_FLAG2_NO_OUTPUT = 0x00000004
const int CODEC_FLAG2_STRICT_GOP = 0x00000002
const int CODEC_FLAG2_WPRED = 0x00000020
const int CODEC_FLAG_4MV = 0x0004
const int CODEC_FLAG_AC_PRED = 0x01000000
const int CODEC_FLAG_ALT_SCAN = 0x00100000
const int CODEC_FLAG_BITEXACT = 0x00800000
const int CODEC_FLAG_CBP_RD = 0x04000000
const uint CODEC_FLAG_CLOSED_GOP = ((uint)0x80000000)
const int CODEC_FLAG_EMU_EDGE = 0x4000
const int CODEC_FLAG_EXTERN_HUFF = 0x1000
const int CODEC_FLAG_GLOBAL_HEADER = 0x00400000
const int CODEC_FLAG_GMC = 0x0020
const int CODEC_FLAG_GRAY = 0x2000
const int CODEC_FLAG_H263P_AIC = 0x01000000
const int CODEC_FLAG_H263P_AIV = 0x00000008
const int CODEC_FLAG_H263P_SLICE_STRUCT = 0x10000000
const int CODEC_FLAG_H263P_UMV = 0x02000000
const int CODEC_FLAG_INPUT_PRESERVED = 0x0100
const int CODEC_FLAG_INTERLACED_DCT = 0x00040000
const int CODEC_FLAG_INTERLACED_ME = 0x20000000
const int CODEC_FLAG_LOOP_FILTER = 0x00000800
const int CODEC_FLAG_LOW_DELAY = 0x00080000
const int CODEC_FLAG_MV0 = 0x0040
const int CODEC_FLAG_NORMALIZE_AQP = 0x00020000
const int CODEC_FLAG_OBMC = 0x00000001
const int CODEC_FLAG_PART = 0x0080
const int CODEC_FLAG_PASS1 = 0x0200
const int CODEC_FLAG_PASS2 = 0x0400
const int CODEC_FLAG_PSNR = 0x8000
const int CODEC_FLAG_QP_RD = 0x08000000
const int CODEC_FLAG_QPEL = 0x0010
const int CODEC_FLAG_QSCALE = 0x0002
const int CODEC_FLAG_SVCD_SCAN_OFFSET = 0x40000000
const int CODEC_FLAG_TRELLIS_QUANT = 0x00200000
const int CODEC_FLAG_TRUNCATED = 0x00010000
const int DEFAULT_FRAME_RATE_BASE = 1001000
const int FF_AA_AUTO = 0
const int FF_AA_FASTINT = 1
const int FF_AA_FLOAT = 3
const int FF_AA_INT = 2
const int FF_ALPHA_SEMI_TRANSP = 0x0002
const int FF_ALPHA_TRANSP = 0x0001
const int FF_ASPECT_EXTENDED = 15
const int FF_B_TYPE = 3
const int FF_BUFFER_HINTS_PRESERVE = 0x04
const int FF_BUFFER_HINTS_READABLE = 0x02
const int FF_BUFFER_HINTS_REUSABLE = 0x08
const int FF_BUFFER_HINTS_VALID = 0x01
const int FF_BUFFER_TYPE_COPY = 8
const int FF_BUFFER_TYPE_INTERNAL = 1
const int FF_BUFFER_TYPE_SHARED = 4
const int FF_BUFFER_TYPE_USER = 2
const int FF_BUG_AC_VLC = 0
const int FF_BUG_AMV = 32
const int FF_BUG_AUTODETECT = 1
const int FF_BUG_DC_CLIP = 4096
const int FF_BUG_DIRECT_BLOCKSIZE = 512
const int FF_BUG_EDGE = 1024
const int FF_BUG_HPEL_CHROMA = 2048
const int FF_BUG_MS = 8192
const int FF_BUG_NO_PADDING = 16
const int FF_BUG_OLD_MSMPEG4 = 2
const int FF_BUG_QPEL_CHROMA = 64
const int FF_BUG_QPEL_CHROMA2 = 256
const int FF_BUG_STD_QPEL = 128
const int FF_BUG_UMP4 = 8
const int FF_BUG_XVID_ILACE = 4
const int FF_CMP_BIT = 5
const int FF_CMP_CHROMA = 256
const int FF_CMP_DCT = 3
const int FF_CMP_DCT264 = 14
const int FF_CMP_DCTMAX = 13
const int FF_CMP_NSSE = 10
const int FF_CMP_PSNR = 4
const int FF_CMP_RD = 6
const int FF_CMP_SAD = 0
const int FF_CMP_SATD = 2
const int FF_CMP_SSE = 1
const int FF_CMP_VSAD = 8
const int FF_CMP_VSSE = 9
const int FF_CMP_W53 = 11
const int FF_CMP_W97 = 12
const int FF_CMP_ZERO = 7
const int FF_CODER_TYPE_AC = 1
const int FF_CODER_TYPE_VLC = 0
const int FF_COMPLIANCE_EXPERIMENTAL = -2
const int FF_COMPLIANCE_INOFFICIAL = -1
const int FF_COMPLIANCE_NORMAL = 0
const int FF_COMPLIANCE_STRICT = 1
const int FF_COMPLIANCE_VERY_STRICT = 2
const int FF_COMPRESSION_DEFAULT = -1
const int FF_DCT_ALTIVEC = 5
const int FF_DCT_AUTO = 0
const int FF_DCT_FAAN = 6
const int FF_DCT_FASTINT = 1
const int FF_DCT_INT = 2
const int FF_DCT_MLIB = 4
const int FF_DCT_MMX = 3
const int FF_DEBUG_BITSTREAM = 4
const int FF_DEBUG_BUGS = 0x00001000
const int FF_DEBUG_DCT_COEFF = 0x00000040
const int FF_DEBUG_ER = 0x00000400
const int FF_DEBUG_MB_TYPE = 8
const int FF_DEBUG_MMCO = 0x00000800
const int FF_DEBUG_MV = 32
const int FF_DEBUG_PICT_INFO = 1
const int FF_DEBUG_PTS = 0x00000200
const int FF_DEBUG_QP = 16
const int FF_DEBUG_RC = 2
const int FF_DEBUG_SKIP = 0x00000080
const int FF_DEBUG_STARTCODE = 0x00000100
const int FF_DEBUG_VIS_MB_TYPE = 0x00004000
const int FF_DEBUG_VIS_MV_B_BACK = 0x00000004
const int FF_DEBUG_VIS_MV_B_FOR = 0x00000002
const int FF_DEBUG_VIS_MV_P_FOR = 0x00000001
const int FF_DEBUG_VIS_QP = 0x00002000
const int FF_DEFAULT_QUANT_BIAS = 999999
const int FF_DTG_AFD_14_9 = 11
const int FF_DTG_AFD_16_9 = 10
const int FF_DTG_AFD_16_9_SP_14_9 = 14
const int FF_DTG_AFD_4_3 = 9
const int FF_DTG_AFD_4_3_SP_14_9 = 13
const int FF_DTG_AFD_SAME = 8
const int FF_DTG_AFD_SP_4_3 = 15
const int FF_EC_DEBLOCK = 2
const int FF_EC_GUESS_MVS = 1
const int FF_ER_AGGRESSIVE = 3
const int FF_ER_CAREFUL = 1
const int FF_ER_COMPLIANT = 2
const int FF_ER_VERY_AGGRESSIVE = 4
const int FF_I_TYPE = 1
const int FF_IDCT_ALTIVEC = 8
const int FF_IDCT_ARM = 7
const int FF_IDCT_AUTO = 0
const int FF_IDCT_CAVS = 15
const int FF_IDCT_H264 = 11
const int FF_IDCT_INT = 1
const int FF_IDCT_IPP = 13
const int FF_IDCT_LIBMPEG2MMX = 4
const int FF_IDCT_MLIB = 6
const int FF_IDCT_PS2 = 5
const int FF_IDCT_SH4 = 9
const int FF_IDCT_SIMPLE = 2
const int FF_IDCT_SIMPLEARM = 10
const int FF_IDCT_SIMPLEMMX = 3
const int FF_IDCT_VP3 = 12
const int FF_IDCT_XVIDMMX = 14
const int FF_INPUT_BUFFER_PADDING_SIZE = 8
 Required number of additionally allocated bytes at the end of the input bitstream for decoding. this is mainly needed because some optimized bitstream readers read 32 or 64 bit at once and could read over the end Note, if the first 23 bits of the additional bytes are not 0 then damaged MPEG bitstreams could cause overread and segfault.
const int FF_LAMBDA_MAX = (256 * 128 - 1)
const int FF_LAMBDA_SCALE = (1 << FF_LAMBDA_SHIFT)
const int FF_LAMBDA_SHIFT = 7
const int FF_LEVEL_UNKNOWN = -99
const int FF_LOSS_ALPHA = 0x0008
const int FF_LOSS_CHROMA = 0x0020
const int FF_LOSS_COLORQUANT = 0x0010
const int FF_LOSS_COLORSPACE = 0x0004
const int FF_LOSS_DEPTH = 0x0002
const int FF_LOSS_RESOLUTION = 0x0001
const int FF_MAX_B_FRAMES = 16
const int FF_MB_DECISION_BITS = 1
const int FF_MB_DECISION_RD = 2
const int FF_MB_DECISION_SIMPLE = 0
const int FF_MIN_BUFFER_SIZE = 16384
const int FF_MM_3DNOW = 0x0004
const int FF_MM_3DNOWEXT = 0x0020
const uint FF_MM_FORCE = 0x80000000
const int FF_MM_IWMMXT = 0x0100
const int FF_MM_MMX = 0x0001
const int FF_MM_MMXEXT = 0x0002
const int FF_MM_SSE = 0x0008
const int FF_MM_SSE2 = 0x0010
const int FF_P_TYPE = 2
const int FF_PRED_LEFT = 0
const int FF_PRED_MEDIAN = 2
const int FF_PRED_PLANE = 1
const int FF_PROFILE_UNKNOWN = -99
const int FF_QP2LAMBDA = 118
const int FF_QSCALE_TYPE_H264 = 2
const int FF_QSCALE_TYPE_MPEG1 = 0
const int FF_QSCALE_TYPE_MPEG2 = 1
const int FF_RC_STRATEGY_XVID = 1
const int FF_S_TYPE = 4
const int FF_SI_TYPE = 5
const int FF_SP_TYPE = 6
const int FFM_PACKET_SIZE = 4096
const int MAX_REORDER_DELAY = 4
const int MAX_STREAMS = 20
const int MB_TYPE_16x16 = 0x0008
const int MB_TYPE_16x8 = 0x0010
const int MB_TYPE_8x16 = 0x0020
const int MB_TYPE_8x8 = 0x0040
const int MB_TYPE_ACPRED = 0x0200
const int MB_TYPE_CBP = 0x00020000
const int MB_TYPE_DIRECT2 = 0x0100
const int MB_TYPE_GMC = 0x0400
const int MB_TYPE_INTERLACED = 0x0080
const int MB_TYPE_INTRA16x16 = 0x0002
const int MB_TYPE_INTRA4x4 = 0x001
const int MB_TYPE_INTRA_PCM = 0x0004
const int MB_TYPE_L0 = (MB_TYPE_P0L0 | MB_TYPE_P1L0)
const int MB_TYPE_L0L1 = (MB_TYPE_L0 | MB_TYPE_L1)
const int MB_TYPE_L1 = (MB_TYPE_P0L1 | MB_TYPE_P1L1)
const int MB_TYPE_P0L0 = 0x1000
const int MB_TYPE_P0L1 = 0x4000
const int MB_TYPE_P1L0 = 0x2000
const int MB_TYPE_P1L1 = 0x8000
const int MB_TYPE_QUANT = 0x00010000
const int MB_TYPE_SKIP = 0x0800
const int PARSER_FLAG_COMPLETE_FRAMES = 0x0001
const int PKT_FLAG_KEY = 0x0001
const int SLICE_FLAG_ALLOW_FIELD = 0x0002
const int SLICE_FLAG_ALLOW_PLANE = 0x0004
const int SLICE_FLAG_CODED_ORDER = 0x0001
const int X264_PART_B8X8 = 0x100
const int X264_PART_I4X4 = 0x001
const int X264_PART_I8X8 = 0x002
const int X264_PART_P4X4 = 0x020
const int X264_PART_P8X8 = 0x010

Private Attributes

const string AVCODEC_NATIVE_LIBRARY = "avcodec-51.dll"
 Specifies AVCODEC's native library archive.
const string AVFORMAT_NATIVE_LIBRARY = "avformat-51.dll"
 Specifies AVFORMAT's native library archive.
const string AVUTIL_NATIVE_LIBRARY = "avutil-49.dll"
 Specifies AVUTIL's native library archive.
const CallingConvention CALLING_CONVENTION
 Specifies the calling convention.

Classes

struct  AVBitStreamFilter
struct  AVBitStreamFilterContext
struct  AVClass
struct  AVCodec
struct  AVCodecContext
struct  AVCodecParser
struct  AVCodecParserContext
struct  AVFormatContext
struct  AVFormatParameters
struct  AVFrac
struct  AVFrame
struct  AVImageFormat
struct  AVImageInfo
struct  AVIndexEntry
struct  AVInputFormat
struct  AVOption
struct  AVOutputFormat
struct  AVPacket
struct  AVPacketList
struct  AVPaletteControl
struct  AVPanScan
struct  AVPicture
struct  AVProbeData
struct  AVRational
struct  AVStream
struct  AVSubtitle
struct  AVSubtitleRect
class  ByteIOContext
struct  RcOverride

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index