FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
avrndec.c File Reference
#include "avcodec.h"
#include "internal.h"
#include "mjpeg.h"
#include "mjpegdec.h"
#include "libavutil/imgutils.h"

Go to the source code of this file.

Data Structures

struct  AVRnContext
 

Functions

static av_cold int init (AVCodecContext *avctx)
 
static av_cold int end (AVCodecContext *avctx)
 
static int decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 

Variables

AVCodec ff_avrn_decoder
 

Function Documentation

static av_cold int init ( AVCodecContext avctx)
static
static av_cold int end ( AVCodecContext avctx)
static
Examples:
avio_reading.c, demuxing_decoding.c, filtering_audio.c, filtering_video.c, http_multiclient.c, remuxing.c, resampling_audio.c, scaling_video.c, and transcoding.c.

Definition at line 90 of file avrndec.c.

Referenced by ac3_eac3_probe(), adjust_write_index(), adts_aac_probe(), alias_pix_read_probe(), analyze_plane(), apng_probe(), apply_tns(), asf_build_simple_index(), asf_read_frame_header(), ass_read_header(), ast_write_header(), av_asprintf(), av_audio_convert(), av_base64_decode(), av_crc(), av_expr_parse(), av_get_token(), av_log_default_callback(), av_md5_update(), av_murmur3_update(), av_opencl_benchmark(), av_opencl_compile(), av_opencl_init(), av_opencl_register_kernel_code(), av_opencl_uninit(), av_packet_unpack_dictionary(), av_strncasecmp(), av_strndup(), av_utf8_decode(), avcodec_encode_audio2(), avcodec_open2(), avfilter_graph_parse2(), avfilter_graph_parse_ptr(), avpriv_find_start_code(), avpriv_new_chapter(), avpriv_opencl_set_parameter(), avpriv_strtod(), bethsoftvid_decode_frame(), bidir_refine(), buffer_needs_copy(), build_frame_code(), cache_seek(), cavsvideo_probe(), check(), check_header_mismatch(), check_pixel(), choose_qop(), close_output_stream(), colormap_nearest_iterative(), commit_bitstream_and_slice_buffer(), compute_chapters_end(), compute_mask(), compute_rematrixing_strategy(), copy_input_samples(), copy_separable_masks(), dct_quantize_TMPL(), deband_16_c(), deband_8_c(), decode_hf_c(), decode_info_header(), decode_main_header(), decode_nal_units(), decode_p_block(), decode_stream_header(), decode_subframe(), decode_syncpoint(), decode_transform_coeffs(), decode_var_block_data(), decouple_info(), deinterlace_slice(), dnxhd_encode_rdo(), do_rematrixing(), doTest(), draw_sample_cline(), draw_sample_line(), draw_sample_p2p(), dshow_cycle_formats(), dshow_set_audio_buffer_size(), dshow_show_filter_properties(), dshow_try_setup_crossbar_options(), dvbsub_decode(), dvbsub_probe(), encode_frame(), envelope_instant(), envelope_instant16(), envelope_peak(), envelope_peak16(), expand_function(), fdk_aac_decode_frame(), ff_aac_apply_tns(), ff_ac3_apply_rematrixing(), ff_ac3_bit_alloc_calc_psd(), ff_ape_write_tag(), ff_avc_find_startcode_internal(), ff_avc_parse_nal_units(), ff_dxva2_common_end_frame(), ff_h263_decode_mb(), ff_h263_find_resync_marker_reverse(), ff_hevc_annexb2mp4(), ff_huff_gen_len_table(), ff_init_scantable(), ff_init_slice_from_src(), ff_isom_write_avcc(), ff_isom_write_hvcc(), ff_jpegls_decode_picture(), ff_libwebp_get_frame(), ff_load_image(), ff_mjpeg_encode_picture_header(), ff_mms_asf_header_parser(), ff_mov_write_packet(), ff_mpeg4_decode_picture_header(), ff_mpeg4_init_partitions(), ff_mpeg4video_split(), ff_mpv_encode_picture(), ff_opus_parse_packet(), ff_read_riff_info(), ff_rl_init(), ff_rtp_send_h263(), ff_rtp_send_h263_rfc2190(), ff_rtp_send_h264_hevc(), ff_rtp_send_mpegvideo(), ff_scale_image(), ff_vorbis_comment(), ff_wma_init(), fill_colmap(), fill_ones(), filter(), filter_frame(), filter_slice(), find_and_decode_index(), find_new_headers(), find_next_marker(), find_resync_marker_reverse(), for(), ftp_connect(), ftp_current_dir(), ftp_passive_mode(), ftp_passive_mode_epsv(), geq_init(), get_buffer_internal(), get_channel_layout_single(), get_device_list(), get_floor_average(), get_pts(), gif_encode_frame(), gxf_write_trailer(), h264_split(), hevc_split(), hvcc_add_nal_unit(), id3v2_parse(), import_pem(), init_dict(), init_filter(), init_filters(), interpolate(), ivf_write_trailer(), jacosub_decode_frame(), jpeg2000_decode_frame(), kalman_smoothen(), lag_decode_zero_run_line(), lavfi_read_header(), lex_double(), lex_name(), lex_wsword(), libssh_connect(), libwebp_anim_encode_frame(), libwebp_encode_frame(), load_ca(), load_cert(), load_mask(), loas_probe(), main(), matroska_parse_block(), microdvd_decode_frame(), mov_create_chapter_track(), mov_parse_vc1_frame(), mov_read_chapters(), mov_read_custom(), mov_read_custom_2plus(), mov_read_mac_string(), mov_text_decode_frame(), mov_write_dvc1_structs(), mov_write_eac3_tag(), mov_write_subtitle_end_packet(), mov_write_trailer(), mov_write_trun_tag(), mp3_read_probe(), mp_decode_frame(), mpeg1_decode_block_inter(), mpeg1_decode_block_intra(), mpeg1_fast_decode_block_inter(), mpeg2_decode_block_non_intra(), mpeg2_fast_decode_block_non_intra(), mpeg4_decode_mb(), mpegvideo_probe(), mpl2_probe(), mpsub_read_header(), mxf_decrypt_triplet(), mxf_probe(), mxf_read_random_index_pack(), mxf_write_d10_audio_packet(), mxf_write_footer(), mxg_find_startmarker(), mxg_read_packet(), new_video_stream(), noise(), ogg_get_length(), old_codec1(), open_slave(), opengl_resize(), paf_video_decode(), parse_bsfs(), parse_channel_expressions(), parse_fmtp_config(), parse_fragment(), parse_frames(), parse_ifo_palette(), parse_interval(), parse_psfile(), parse_read_interval(), parse_read_intervals(), parse_str_int(), parse_times(), pcx_decode_frame(), pjs_probe(), plot_spectrum_column(), postProcess_TMPL(), preview_obmc(), print_report(), probe_codec(), probe_file(), process_client(), process_line(), put_id3v2_tags(), qdm2_parse_packet(), queue_length(), rac_get_model256_sym(), rac_get_model_sym(), read_access_unit(), read_apic(), read_chapter(), read_dialogue(), read_huffman_tables(), read_interval_packets(), read_trun_duration(), read_ts(), real_parse_asm_rule(), real_parse_asm_rulebook(), realtext_read_header(), recode_subtitle(), recv_msg(), resample_cubic(), resample_linear(), revert_channel_correlation(), rgb12to15(), rgb15to16_c(), rgb15to16_TMPL(), rgb15to24(), rgb15to32_c(), rgb15to32_TMPL(), rgb15tobgr24_c(), rgb15tobgr24_TMPL(), rgb15tobgr32(), rgb16to15_c(), rgb16to15_TMPL(), rgb16to24(), rgb16to32_c(), rgb16to32_TMPL(), rgb16tobgr24_c(), rgb16tobgr24_TMPL(), rgb16tobgr32(), rgb24to15_c(), rgb24to15_TMPL(), rgb24to16_c(), rgb24to16_TMPL(), rgb24tobgr15_c(), rgb24tobgr15_TMPL(), rgb24tobgr16_c(), rgb24tobgr16_TMPL(), rgb24tobgr32_c(), rgb24tobgr32_TMPL(), rgb32to15_c(), rgb32to15_TMPL(), rgb32to16_c(), rgb32to16_TMPL(), rgb32tobgr15_c(), rgb32tobgr15_TMPL(), rgb32tobgr16_c(), rgb32tobgr16_TMPL(), rgb32tobgr24_c(), rgb32tobgr24_TMPL(), rt_event_to_ass(), rtp_asf_fix_header(), run_opencl_bench(), rv34_decode_slice(), sami_paragraph_to_ass(), sami_read_header(), sbr_hf_gen_c(), segment_end(), shift_data(), show_program(), srt_read_header(), srt_to_ass(), str_probe(), str_to_time(), subviewer_read_header(), sunrast_decode_frame(), tiff_decode_tag(), tqi_decode_frame(), transcode_subtitles(), tta_check_crc64(), unpack_parse_unit(), update_metadata(), update_size(), validate_string(), var_diamond_search(), vc1_decode_frame(), vc1_decode_init(), vc1_decode_p_mb(), vc1_split(), vp3_dequant(), vp3_h_loop_filter_c(), vp3_v_loop_filter_c(), wavpack_encode_block(), webvtt_read_header(), worker(), write_chapter(), write_packet(), writer_print_string(), xbm_decode_frame(), and xmv_fetch_video_packet().

static int decode_frame ( AVCodecContext avctx,
void data,
int *  got_frame,
AVPacket avpkt 
)
static

Definition at line 100 of file avrndec.c.

Variable Documentation

AVCodec ff_avrn_decoder
Initial value:
= {
.name = "avrn",
.long_name = NULL_IF_CONFIG_SMALL("Avid AVI Codec"),
.priv_data_size = sizeof(AVRnContext),
.init = init,
.close = end,
.capabilities = AV_CODEC_CAP_DR1,
.max_lowres = 3,
}
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: avrndec.c:100
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static av_cold int end(AVCodecContext *avctx)
Definition: avrndec.c:90
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:175
static int decode(AVCodecContext *avctx, void *data, int *got_sub, AVPacket *avpkt)
Definition: ccaption_dec.c:523
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:857

Definition at line 162 of file avrndec.c.