C# Class jxGameFramework.Media.FFmpeg

显示文件 Open project: jxpxxzj/WarshipGirl Class Usage Examples

Public Methods

Method Description
av_free_packet ( IntPtr pAVPacket ) : void
av_q2d ( FFmpeg a ) : double

Private Methods

Method Description
ImgReSampleContext ( IntPtr pImgReSampleContext ) : void
audio_init ( ) : int
audio_resample ( IntPtr pResampleContext, IntPtr output, IntPtr intput, int nb_samples ) : int
audio_resample_close ( IntPtr pResampleContext ) : void
audio_resample_init ( int output_channels, int input_channels, int output_rate, int input_rate ) : IntPtr
av_add_index_entry ( IntPtr pAVStream, long pos, long timestamp, int size, int distance, int flags ) : int
av_alloc_format_context ( ) : IntPtr
av_bitstream_filter_close ( IntPtr pAVBitStreamFilterContext ) : void
av_bitstream_filter_filter ( IntPtr pAVBitStreamFilterContext, IntPtr pAVCodecContext, [ args, [ poutbuf, int &poutbuf_size, IntPtr buf, int buf_size, int keyframe ) : int
av_bitstream_filter_init ( [ name ) : IntPtr
av_close_input_file ( IntPtr pAVFormatContext ) : void
av_close_input_stream ( IntPtr pAVFormatContext ) : void
av_destruct_packet ( IntPtr pAVPacket ) : void
av_destruct_packet_nofree ( IntPtr pAVPacket ) : void
av_dup_packet ( IntPtr pAVPacket ) : int
av_fast_realloc ( IntPtr ptr, uint &size, uint &min_size ) : void
av_filename_number_test ( [ filename ) : int
av_find_default_stream_index ( IntPtr pAVFormatContext ) : int
av_find_input_format ( [ short_name ) : IntPtr
av_find_stream_info ( IntPtr pAVFormatContext ) : int
av_free ( IntPtr ptr ) : void
av_free_static ( ) : void
av_freep ( IntPtr ptr ) : void
av_get_bits_per_sample ( FFmpeg codec_id ) : int
av_get_frame_filename ( IntPtr buf, int buf_size, [ path, int number ) : int
av_get_packet ( IntPtr pByteIOContext, IntPtr pAVPacket, int size ) : int
av_get_pict_type_char ( int pict_type ) : byte
av_gettime ( ) : long
av_guess_codec ( IntPtr pAVOutoutFormat, [ short_name, [ filename, [ mime_type, FFmpeg type ) : FFmpeg.CodecID
av_guess_image2_codec ( [ filename ) : FFmpeg.CodecID
av_hex_dump ( IntPtr pFile, IntPtr buf, int size ) : void
av_index_search_timestamp ( IntPtr pAVStream, long timestamp, int flags ) : int
av_init_packet ( IntPtr pAVPacket ) : void
av_interleave_packet_per_dts ( IntPtr pAVFormatContext, IntPtr &p_out_AVPacket, IntPtr pAVPacket, int flush ) : int
av_interleaved_write_frame ( IntPtr pAVFormatContext, IntPtr pAVPacket ) : int
av_mallocz ( uint size ) : void
av_mallocz_static ( uint size ) : void
av_new_packet ( IntPtr pAVPacket, int size ) : int
av_new_program ( IntPtr pAVFormatContext, int id ) : IntPtr
av_new_stream ( IntPtr pAVFormatContext, int id ) : IntPtr
av_open_input_file ( IntPtr &pFormatContext, [ filename, IntPtr pAVInputFormat, int buf_size, IntPtr pAVFormatParameters ) : int
av_open_input_file_hax ( IntPtr &pFormatContext, [ filename, IntPtr buffer, IntPtr pAVInputFormat, int buf_size, IntPtr pAVFormatParameters ) : int
av_parser_change ( IntPtr pAVCodecParserContext, IntPtr pAVCodecContext, [ poutbuf, int &poutbuf_size, IntPtr buf, int buf_size, int keyframe ) : int
av_parser_close ( IntPtr pAVCodecParserContext ) : void
av_parser_init ( int codec_id ) : IntPtr
av_parser_parse ( IntPtr pAVCodecParserContext, IntPtr pAVCodecContext, [ poutbuf, int &poutbuf_size, IntPtr buf, int buf_size, long pts, long dts ) : int
av_pkt_dump ( IntPtr pFile, IntPtr pAVPacket, int dump_payload ) : void
av_probe_image_format ( IntPtr pAVProbeData ) : IntPtr
av_probe_input_format ( IntPtr pAVProbeData, int is_opened ) : IntPtr
av_read_frame ( IntPtr pAVFormatContext, IntPtr pAVPacket ) : int
av_read_image ( IntPtr pByteIOContext, [ filename, IntPtr pAVImageFormat, [ alloc_cb, IntPtr opaque ) : int
av_read_packet ( IntPtr pAVFormatContext, IntPtr pAVPacket ) : int
av_read_pause ( IntPtr pAVFormatContext ) : int
av_read_play ( IntPtr pAVFormatContext ) : int
av_realloc_static ( IntPtr ptr, uint size ) : void
av_register_all ( ) : void
av_register_bitstream_filter ( IntPtr pAVBitStreamFilter ) : void
av_register_codec_parser ( IntPtr pAVcodecParser ) : void
av_register_image_format ( IntPtr pAVImageFormat ) : void
av_register_input_format ( IntPtr pAVInputFormat ) : void
av_register_output_format ( IntPtr pAVOutputFormat ) : void
av_resample ( IntPtr pAVResampleContext, IntPtr dst, IntPtr src, IntPtr consumed, int src_size, int udpate_ctx ) : int
av_resample_close ( IntPtr pAVResampleContext ) : void
av_resample_compensate ( IntPtr pAVResampleContext, int sample_delta, int compensation_distance ) : void
av_resample_init ( int out_rate, int in_rate, int filter_length, int log2_phase_count, int linear, double cutoff ) : IntPtr
av_seek_frame ( IntPtr pAVFormatContext, int stream_index, long timestamp, int flags ) : int
av_seek_frame_binary ( IntPtr pAVFormatContext, int stream_index, long target_ts, int flags ) : int
av_set_parameters ( IntPtr pAVFormatContext, IntPtr pAVFormatParameters ) : int
av_set_pts_info ( IntPtr pAVStream, int pts_wrap_bits, int pts_num, int pts_den ) : void
av_strdup ( [ s ) : IntPtr
av_update_cur_dts ( IntPtr pAVFormatContext, IntPtr pAVStream, long timestamp ) : void
av_write_frame ( IntPtr pAVFormatContext, IntPtr pAVPacket ) : int
av_write_header ( IntPtr pAVFormatContext ) : int
av_write_image ( IntPtr pByteIOContext, IntPtr pAVImageFormat, IntPtr pAVImageInfo ) : int
av_write_trailer ( IntPtr pAVFormatContext ) : int
avcodec_align_dimensions ( IntPtr pAVCodecContext, int &width, int &height ) : void
avcodec_alloc_context ( ) : IntPtr
avcodec_alloc_frame ( ) : IntPtr
avcodec_build ( ) : uint
avcodec_check_dimensions ( IntPtr av_log_ctx, uint &width, uint &height ) : int
avcodec_close ( IntPtr pAVCodecContext ) : int
avcodec_decode_audio ( IntPtr pAVCodecContext, IntPtr samples, [ frame_size_ptr, IntPtr buf, int buf_size ) : int
avcodec_decode_subtitle ( IntPtr pAVCodecContext, IntPtr pAVSubtitle, int &got_sub_ptr, IntPtr buf, int buf_size ) : int
avcodec_decode_video ( IntPtr pAVCodecContext, IntPtr pAVFrame, int &got_picture_ptr, IntPtr buf, int buf_size ) : int
avcodec_default_execute ( IntPtr pAVCodecContext, [ func, [ arg, int &ret, int count ) : int
avcodec_default_free_buffers ( IntPtr pAVCodecContext ) : void
avcodec_default_get_buffer ( IntPtr pAVCodecContext, IntPtr pAVFrame ) : int
avcodec_default_get_format ( IntPtr pAVCodecContext, FFmpeg &fmt ) : FFmpeg.PixelFormat
avcodec_default_reget_buffer ( IntPtr pAVCodecContext, IntPtr pAVFrame ) : void
avcodec_default_release_buffer ( IntPtr pAVCodecContext, IntPtr pAVFrame ) : void
avcodec_encode_audio ( IntPtr pAVCodecContext, IntPtr buf, int buf_size, IntPtr samples ) : int
avcodec_encode_subtitle ( IntPtr pAVCodecContext, IntPtr buf, int buf_size, IntPtr pAVSubtitle ) : int
avcodec_encode_video ( IntPtr pAVCodecContext, IntPtr buf, int buf_size, IntPtr pAVFrame ) : int
avcodec_find_best_pix_fmt ( int pix_fmt_mask, int src_pix_fmt, int has_alpha, IntPtr loss_ptr ) : int
avcodec_find_decoder ( FFmpeg id ) : IntPtr
avcodec_find_decoder_by_name ( [ mame ) : IntPtr
avcodec_find_encoder ( FFmpeg id ) : IntPtr
avcodec_find_encoder_by_name ( [ mame ) : IntPtr
avcodec_flush_buffers ( IntPtr pAVCodecContext ) : void
avcodec_get_chroma_sub_sample ( int pix_fmt, IntPtr h_shift, IntPtr v_shift ) : void
avcodec_get_context_defaults ( IntPtr pAVCodecContext ) : void
avcodec_get_frame_defaults ( IntPtr pAVFrame ) : void
avcodec_get_pix_fmt ( [ name ) : FFmpeg.PixelFormat
avcodec_get_pix_fmt_loss ( int dst_pix_fmt, int src_pix_fmt, int has_alpha ) : int
avcodec_get_pix_fmt_name ( int pix_fmt ) : string
avcodec_init ( ) : uint
avcodec_open ( IntPtr pAVCodecContext, IntPtr pAVCodec ) : int
avcodec_parse_frame ( IntPtr pAVCodecContext, [ pdata, IntPtr data_size_ptr, IntPtr buf, int buf_size ) : int
avcodec_pix_fmt_to_codec_tag ( FFmpeg p ) : uint
avcodec_register_all ( ) : void
avcodec_set_dimensions ( IntPtr pAVCodecContext, int width, int height ) : void
avcodec_string ( [ mam, int buf_size, IntPtr pAVCodeContext, int encode ) : void
avcodec_thread_execute ( IntPtr pAVCodecContext, [ func, [ arg, int &ret, int count ) : int
avcodec_thread_free ( IntPtr pAVCodecContext ) : void
avcodec_thread_init ( IntPtr pAVCodecContext, int thread_count ) : int
avcodec_version ( ) : uint
avpicture_alloc ( IntPtr pAVPicture, int pix_fmt, int width, int height ) : int
avpicture_deinterlace ( IntPtr p_dst_AVPicture, IntPtr p_src_AVPicture, int pix_fmt, int width, int height ) : int
avpicture_fill ( IntPtr pAVPicture, IntPtr ptr, int pix_fmt, int width, int height ) : int
avpicture_free ( IntPtr pAVPicture ) : void
avpicture_get_size ( int pix_fmt, int width, int height ) : int
avpicture_layout ( IntPtr p_src_AVPicture, int pix_fmt, int width, int height, IntPtr dest, int dest_size ) : int
dc1394_init ( ) : int
dump_format ( IntPtr pAVFormatContext, int index, [ url, int is_output ) : void
dv1394_init ( ) : int
ffm_read_write_index ( int fd ) : long
ffm_set_write_index ( IntPtr pAVFormatContext, long pos, long file_size ) : void
ffm_write_write_index ( int fd, long pos ) : void
find_info_tag ( [ arg, int arg_size, [ tag1, [ info ) : int
guess_format ( [ short_name, [ filename, [ mime_type ) : IntPtr
guess_image_format ( [ filename ) : IntPtr
guess_stream_format ( [ short_name, [ filename, [ mime_type ) : IntPtr
img_convert ( IntPtr p_dst_AVPicture, int dst_pix_fmt, IntPtr p_src_AVPicture, int pix_fmt, int width, int height ) : int
img_copy ( IntPtr pAVPicture, IntPtr p_src_AVPicture, int pix_fmt, int width, int height ) : void
img_crop ( IntPtr p_dst_pAVPicture, IntPtr p_src_pAVPicture, int pix_fmt, int top_band, int left_band ) : int
img_get_alpha_info ( IntPtr pAVPicture, int pix_fmt, int width, int height ) : 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, int &color ) : int
img_resample ( IntPtr pImgReSampleContext, IntPtr p_output_AVPicture, IntPtr p_input_AVPicture ) : void
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 ) : IntPtr
img_resample_init ( int output_width, int output_height, int input_width, int input_height ) : IntPtr
parse_date ( [ datestr, int duration ) : long
parse_frame_rate ( IntPtr pFrame_rate, IntPtr pFrame_rate_base, [ arg ) : int
parse_image_size ( IntPtr width_ptr, IntPtr height_ptr, [ arg ) : int
register_avcodec ( IntPtr pAVCodec ) : void
register_protocol ( IntPtr protocol ) : int
video_grab_init ( ) : int

Method Details

av_free_packet() public static method

public static av_free_packet ( IntPtr pAVPacket ) : void
pAVPacket IntPtr
return void

av_q2d() public static method

public static av_q2d ( FFmpeg a ) : double
a FFmpeg
return double