FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AVRational Struct Reference

Rational number (pair of numerator and denominator). More...

#include <rational.h>

Data Fields

int num
 Numerator. More...
 
int den
 Denominator. More...
 

Detailed Description

Rational number (pair of numerator and denominator).

Examples:
encode_video.c, filter_audio.c, filtering_audio.c, filtering_video.c, muxing.c, remuxing.c, transcoding.c, and vaapi_encode.c.

Definition at line 58 of file rational.h.

Field Documentation

int AVRational::num

Numerator.

Examples:
filtering_audio.c, filtering_video.c, transcode_aac.c, and transcoding.c.

Definition at line 59 of file rational.h.

Referenced by activate(), amf_encode_init_h264(), amf_encode_init_hevc(), aom_init(), apng_write_header(), apply_delogo(), aqt_read_header(), asf_read_ext_content_desc(), asf_read_ext_stream_properties(), asf_read_frame_header(), asf_read_header(), asf_read_metadata(), asf_store_aspect_ratio(), asf_write_header1(), av_add_q(), av_add_stable(), av_buffersrc_parameters_set(), av_cmp_q(), av_compare_ts(), av_d2q(), av_div_q(), av_dv_codec_profile2(), av_guess_frame_rate(), av_guess_sample_aspect_ratio(), av_image_check_sar(), av_inv_q(), av_mul_q(), av_nearer_q(), av_opt_set(), av_opt_set_defaults2(), av_opt_set_q(), av_opt_set_video_rate(), av_parse_ratio(), av_parse_video_rate(), av_q2d(), av_q2intfloat(), av_reduce(), av_rescale_delta(), av_rescale_q_rnd(), av_sub_q(), avcodec_decode_subtitle2(), avcodec_open2(), avcodec_string(), avf_read_header(), avfilter_config_links(), avformat_find_stream_info(), avformat_seek_file(), avformat_transfer_internal_stream_timing_info(), avi_read_header(), avi_write_header(), avisynth_read_packet_audio(), avpriv_set_pts_info(), binary_export(), bit_depth(), build_frame_code(), calculate_bitrate(), calculate_display_rect(), cdxl_read_packet(), check_timecode(), compute_dar(), compute_display_area(), compute_pkt_fields(), compute_texture_rect(), config_input(), config_out_props(), config_output(), config_output_props(), config_props(), config_props_output(), configure_input_video_filter(), configure_output_video_filter(), copy_stream_props(), cpia_decode_init(), create_stream(), cudascale_config_props(), cudascale_filter_frame(), cuvid_decode_init(), cuvid_output_frame(), daala_header(), dash_init(), dash_read_packet(), dc1394_read_common(), decklink_setup_video(), decode_frame(), decode_info_header(), decode_lowdelay(), decode_main_header(), decode_phys_chunk(), decode_sequence_header_adv(), decode_simple_internal(), decode_slice_header(), decode_stream_header(), decode_studiovisualobject(), decode_video(), decode_vol_header(), decode_vop_header(), decode_vui(), decode_vui_parameters(), describe_frame_to_str(), dirac_header(), dirac_unpack_idwt_params(), dnxhd_decode_header(), do_audio_out(), do_video_out(), dshow_cycle_formats(), dump_stream_format(), dv_audio_frame_size(), dv_extract_video_info(), dv_init_mux(), dv_write_header(), dv_write_pack(), dvd_nav_parse(), encode_aspect_ratio(), encode_ext_header(), encode_frame(), encode_frame_rate(), encode_headers(), encode_init(), encode_slice_header(), estimate_timings_from_bit_rate(), estimate_timings_from_pts(), export_stream_params(), fbdev_read_header(), ff_audio_interleave_init(), ff_canopus_parse_info_tag(), ff_choose_timebase(), ff_decode_frame_props(), ff_flv_encode_picture_header(), ff_framehash_write_header(), ff_framesync_configure(), ff_guess_coded_bitrate(), ff_h261_encode_picture_header(), ff_h263_aspect_to_info(), ff_h263_decode_picture_header(), ff_h263_encode_picture_header(), ff_h263_show_pict_info(), ff_img_read_header(), ff_intel_h263_decode_picture_header(), ff_mediacodec_dec_send(), ff_mjpeg_decode_sof(), ff_mpv_encode_init(), ff_msmpeg4_encode_ext_header(), ff_mxf_get_samples_per_frame(), ff_nut_reset_ts(), ff_parse_specific_params(), ff_parse_time_base(), ff_pcm_read_seek(), ff_rfps_calculate(), ff_rm_read_mdpr_codecdata(), ff_scale_eval_dimensions(), ff_set_sar(), ff_tlog_ref(), ff_update_cur_dts(), ff_xvid_rate_control_init(), ff_xvid_rate_estimate_qscale(), ffmal_update_format(), ffmmal_init_decoder(), fill_frameinfo_by_link(), filter_frame(), finalize_packet(), find_fps(), find_frame_rate_index(), fits_read_header(), flush_packet(), flv_write_header(), fps_from_frame_rate(), get_aspect_ratio(), get_pkt_pts(), gif_image_write_header(), gif_read_header1(), grab_read_header(), gxf_compare_field_nb(), gxf_header(), gxf_write_header(), gxf_write_media_preamble(), h264_decode_init(), h264_metadata_update_sps(), h264_parse(), h264_slice_header_init(), h265_metadata_update_sps(), h265_metadata_update_vps(), has_codec_parameters(), hevc_parse_slice_header(), hls_write_header(), hls_write_packet(), iff_read_header(), init(), init_audio(), init_convert_timestamp(), init_encoder_time_base(), init_filter(), init_filters(), init_fps(), init_muxer(), init_out_session(), init_output_stream(), init_output_stream_encode(), init_output_stream_streamcopy(), init_pts(), init_stream(), init_video(), init_video_param(), init_video_param_jpeg(), init_video_stream(), interleave_compare_dts(), interpolate(), ivf_write_header(), jp2_find_codestream(), jpeg2000_decode_frame(), jpeg_put_comments(), kmsgrab_read_header(), lavfi_read_header(), libkvazaar_init(), libwebp_anim_encode_frame(), libx265_encode_init(), main(), matroska_parse_tracks(), mediacodec_wrap_hw_buffer(), mediacodec_wrap_sw_buffer(), microdvd_read_header(), microdvd_write_header(), mjpeg_decode_app(), mov_parse_stsd_data(), mov_read_ares(), mov_read_header(), mov_read_pasp(), mov_read_trak(), mov_write_avid_tag(), mov_write_dvc1_structs(), mov_write_pasp_tag(), mov_write_tapt_tag(), mov_write_tkhd_tag(), mov_write_tmcd_tag(), mov_write_trak_tag(), mov_write_uuidprof_tag(), mov_write_video_tag(), mpeg1_encode_sequence_header(), mpeg2_metadata_update_fragment(), mpeg4_encode_gop_header(), mpeg4_encode_vol_header(), mpeg_decode_postinit(), mpeg_decode_sequence_extension(), mpegts_init(), mpegvideo_extract_headers(), mpsub_read_header(), mxf_compute_sample_count(), mxf_handle_small_eubc(), mxf_parse_mpeg2_frame(), mxf_parse_physical_source_package(), mxf_parse_structural_metadata(), mxf_read_generic_descriptor(), mxf_read_index_table_segment(), mxf_read_seek(), mxf_read_track(), mxf_write_cdci_common(), mxf_write_d10_video_packet(), mxf_write_generic_desc(), mxf_write_header(), mxf_write_index_table_segment(), mxf_write_multi_descriptor(), mxf_write_track(), ndi_setup_video(), ndi_write_audio_packet(), ndi_write_video_packet(), new_output_stream(), new_video_stream(), nppscale_config_props(), nppscale_filter_frame(), nsv_parse_NSVs_header(), nsv_read_chunk(), nut_write_header(), nut_write_packet(), nvenc_setup_encoder(), ogg_build_vp8_headers(), ogg_init(), omx_component_init(), open_demux_for_component(), open_output_file(), opengl_compute_display_area(), opt_list(), opt_target(), optimum_use15_7(), parse_video_var(), parse_vtrk(), pcx_decode_frame(), pcx_encode_frame(), postProcess_TMPL(), print_codec(), print_digraph(), print_link_prop(), print_stats(), process_input_packet(), process_video_header_vp6(), qsvscale_config_props(), qsvscale_filter_frame(), r3d_read_rdvo(), r3d_read_red1(), r3d_read_redv(), r3d_seek(), rawvideo_read_header(), read_chapter(), read_fps(), read_gab2_sub(), read_header(), read_packet(), reap_filters(), reconfig_encoder(), request_frame(), roq_write_header(), rpl_read_header(), rtp_mpegts_write_header(), rv20_decode_picture_header(), scale_vaapi_config_output(), seek_frame_internal(), seek_to_start(), seg_init(), set_frame_distances(), set_metadata(), set_sar(), set_side_data(), set_stream_info_from_input_stream(), show_frame(), show_stream(), source_init(), submit_frame(), swf_write_header(), tb_unreliable(), teletext_decode_frame(), test_av_parse_video_rate(), theora_header(), thp_read_header(), tmv_read_header(), ts_to_samples(), update_sar(), update_wrap_reference(), v210_read_header(), v4l2_prepare_encoder(), v4l2_set_parameters(), vaapi_encode_h264_init_sequence_params(), vaapi_encode_h265_init_sequence_params(), vaapi_encode_init_rate_control(), vaapi_encode_mpeg2_init_sequence_params(), vaapi_mpeg4_start_frame(), vc1_extract_header(), vc1test_write_header(), vc2_encode_frame(), vc2_encode_init(), vdpau_mpeg4_start_frame(), vfw_read_header(), video_decode_example(), video_thread(), vivo_read_header(), vp8_header(), vpx_init(), vqf_read_seek(), vtenc_cm_to_avpacket(), vtenc_create_encoder(), vtenc_send_frame(), write_adaptation_set(), write_mainheader(), write_packet(), write_streamheader(), write_streaminfo(), write_trailer(), writer_print_rational(), X264_init(), XAVS_init(), xml_export(), xv_write_header(), xvid_correct_framerate(), xvid_encode_frame(), xvid_encode_init(), and yuv4_generate_header().

int AVRational::den

Denominator.

Examples:
filtering_audio.c, filtering_video.c, transcode_aac.c, and transcoding.c.

Definition at line 60 of file rational.h.

Referenced by activate(), amf_encode_init_h264(), amf_encode_init_hevc(), aom_init(), apng_write_header(), apply_delogo(), aqt_read_header(), asf_read_ext_content_desc(), asf_read_ext_stream_properties(), asf_read_frame_header(), asf_read_header(), asf_read_metadata(), asf_store_aspect_ratio(), asf_write_header1(), av_add_q(), av_add_stable(), av_buffersrc_parameters_set(), av_cmp_q(), av_compare_ts(), av_d2q(), av_div_q(), av_dv_codec_profile2(), av_find_nearest_q_idx(), av_guess_frame_rate(), av_guess_sample_aspect_ratio(), av_image_check_sar(), av_inv_q(), av_mul_q(), av_nearer_q(), av_opt_set(), av_opt_set_defaults2(), av_opt_set_q(), av_opt_set_video_rate(), av_parse_ratio(), av_parse_video_rate(), av_q2d(), av_q2intfloat(), av_reduce(), av_rescale_delta(), av_rescale_q_rnd(), av_sub_q(), avcodec_open2(), avcodec_string(), avf_read_header(), avfilter_config_links(), avformat_find_stream_info(), avformat_seek_file(), avformat_transfer_internal_stream_timing_info(), avi_read_header(), avi_write_header(), avisynth_read_packet_audio(), avpriv_set_pts_info(), binary_export(), bit_depth(), build_frame_code(), calculate_bitrate(), cdxl_read_packet(), check_timecode(), compute_dar(), compute_display_area(), compute_pkt_fields(), compute_texture_rect(), config_input(), config_out_props(), config_output(), config_output_props(), config_props(), config_props_output(), configure_input_video_filter(), configure_output_video_filter(), copy_stream_props(), cpia_decode_init(), create_stream(), cudascale_filter_frame(), cuvid_decode_init(), cuvid_output_frame(), daala_header(), dash_read_packet(), dash_read_seek(), dc1394_read_common(), decklink_setup_video(), decode_frame(), decode_info_header(), decode_lowdelay(), decode_main_header(), decode_phys_chunk(), decode_sequence_header_adv(), decode_slice_header(), decode_stream_header(), decode_studiovisualobject(), decode_video(), decode_vol_header(), decode_vui(), decode_vui_parameters(), defined_frame_rate(), describe_frame_to_str(), dirac_header(), dirac_unpack_idwt_params(), dnxhd_decode_header(), do_audio_out(), do_video_out(), dshow_cycle_formats(), dump_stream_format(), dv_audio_frame_size(), dv_extract_video_info(), dv_init_mux(), dv_write_header(), dv_write_pack(), dvd_nav_parse(), encode_aspect_ratio(), encode_ext_header(), encode_frame(), encode_frame_rate(), encode_headers(), encode_init(), encode_slice_header(), estimate_timings_from_bit_rate(), estimate_timings_from_pts(), export_stream_params(), fbdev_read_header(), ff_canopus_parse_info_tag(), ff_choose_timebase(), ff_decode_frame_props(), ff_dnxhd_get_hr_frame_size(), ff_flv_encode_picture_header(), ff_framehash_write_header(), ff_framesync_configure(), ff_guess_coded_bitrate(), ff_h261_encode_picture_header(), ff_h263_aspect_to_info(), ff_h263_decode_picture_header(), ff_h263_encode_picture_header(), ff_h263_show_pict_info(), ff_h264_decode_seq_parameter_set(), ff_img_read_header(), ff_intel_h263_decode_picture_header(), ff_mediacodec_dec_send(), ff_mjpeg_decode_sof(), ff_mov_init_hinting(), ff_mpeg4_encode_picture_header(), ff_mpv_encode_init(), ff_msmpeg4_encode_ext_header(), ff_mxf_get_samples_per_frame(), ff_nut_reset_ts(), ff_parse_specific_params(), ff_parse_time_base(), ff_pcm_read_seek(), ff_rfps_calculate(), ff_rm_read_mdpr_codecdata(), ff_scale_eval_dimensions(), ff_set_mpeg4_time(), ff_set_sar(), ff_tlog_ref(), ff_update_cur_dts(), ff_xvid_rate_control_init(), ff_xvid_rate_estimate_qscale(), ffmal_update_format(), ffmmal_init_decoder(), fill_frameinfo_by_link(), filter_frame(), finalize_packet(), find_fps(), find_frame_rate_index(), fits_read_header(), flush_packet(), flv_write_header(), fps_from_frame_rate(), get_aspect_ratio(), get_pkt_pts(), gif_image_write_header(), gif_read_header1(), grab_read_header(), gxf_compare_field_nb(), gxf_header(), gxf_write_header(), gxf_write_media_preamble(), gxf_write_umf_material_description(), h264_decode_init(), h264_metadata_update_sps(), h264_slice_header_init(), h265_metadata_update_sps(), h265_metadata_update_vps(), handle_file(), hevc_parse_slice_header(), hls_read_packet(), hls_read_seek(), hls_write_header(), hls_write_packet(), iff_read_header(), init(), init_audio(), init_filter(), init_filters(), init_fps(), init_muxer(), init_out_session(), init_output_stream(), init_output_stream_encode(), init_output_stream_streamcopy(), init_pts(), init_stream(), init_video(), init_video_param(), init_video_param_jpeg(), init_video_stream(), interleave_compare_dts(), interpolate(), ivf_write_header(), jp2_find_codestream(), jpeg2000_decode_frame(), jpeg_put_comments(), kmsgrab_read_header(), lavfi_read_header(), libkvazaar_init(), libwebp_anim_encode_frame(), libx265_encode_init(), main(), matroska_parse_tracks(), mediacodec_wrap_hw_buffer(), mediacodec_wrap_sw_buffer(), microdvd_read_header(), microdvd_write_header(), mjpeg_decode_app(), mov_get_dv_codec_tag(), mov_init(), mov_parse_stsd_data(), mov_read_ares(), mov_read_header(), mov_read_pasp(), mov_read_sidx(), mov_read_trak(), mov_write_avid_tag(), mov_write_dvc1_structs(), mov_write_pasp_tag(), mov_write_tapt_tag(), mov_write_tkhd_tag(), mov_write_tmcd_tag(), mov_write_uuidprof_tag(), mov_write_video_tag(), mpeg1_encode_sequence_header(), mpeg2_metadata_update_fragment(), mpeg4_decode_header(), mpeg4_encode_gop_header(), mpeg4_encode_vol_header(), mpeg_decode_postinit(), mpeg_decode_sequence_extension(), mpegts_init(), mpegvideo_extract_headers(), mpsub_read_header(), mxf_compute_sample_count(), mxf_handle_small_eubc(), mxf_parse_mpeg2_frame(), mxf_parse_physical_source_package(), mxf_parse_structural_metadata(), mxf_read_generic_descriptor(), mxf_read_index_table_segment(), mxf_read_seek(), mxf_read_track(), mxf_write_cdci_common(), mxf_write_d10_video_packet(), mxf_write_generic_desc(), mxf_write_header(), mxf_write_index_table_segment(), mxf_write_multi_descriptor(), mxf_write_track(), ndi_setup_video(), ndi_write_audio_packet(), ndi_write_video_packet(), new_output_stream(), new_video_stream(), nppscale_filter_frame(), nsv_parse_NSVs_header(), nsv_read_chunk(), nut_write_header(), nut_write_packet(), nvenc_setup_encoder(), ogg_build_vp8_headers(), ogg_init(), omx_component_init(), open_demux_for_component(), open_output_file(), opengl_compute_display_area(), opt_list(), opt_target(), optimum_dist(), optimum_use15_7(), output_segment_list(), parse_video_var(), parse_vtrk(), pcx_decode_frame(), pcx_encode_frame(), postProcess_TMPL(), print_codec(), print_digraph(), print_link_prop(), print_stats(), process_input_packet(), process_video_header_vp6(), qsvscale_config_props(), qsvscale_filter_frame(), r3d_read_red1(), r3d_read_reda(), r3d_read_redv(), rawvideo_read_header(), read_chapter(), read_fps(), read_gab2_sub(), read_header(), read_packet(), reap_filters(), reconfig_encoder(), reopen_demux_for_component(), request_frame(), roq_write_header(), rpl_read_header(), rtp_mpegts_write_header(), seek_frame_internal(), seg_init(), send_silence(), set_metadata(), set_sar(), set_side_data(), set_stream_info_from_input_stream(), show_stream(), source_init(), submit_frame(), swf_write_header(), tb_unreliable(), test_av_parse_video_rate(), theora_header(), thp_read_header(), tmv_read_header(), ts_to_samples(), update_stream_timings(), update_wrap_reference(), v210_read_header(), v4l2_prepare_encoder(), v4l2_read_header(), v4l2_set_parameters(), vaapi_encode_h264_init_sequence_params(), vaapi_encode_h265_init_sequence_params(), vaapi_encode_init_rate_control(), vaapi_encode_mpeg2_init_sequence_params(), vc1t_read_packet(), vc1test_write_header(), vc2_encode_frame(), vc2_encode_init(), vfw_read_header(), video_decode_example(), video_thread(), decklink_input_callback::VideoInputFrameArrived(), vivo_read_header(), vp8_header(), vpx_init(), vqf_read_seek(), vtenc_create_encoder(), vtenc_send_frame(), write_adaptation_set(), write_mainheader(), write_streamheader(), write_streaminfo(), write_trailer(), writer_print_rational(), X264_init(), XAVS_init(), xml_export(), xv_write_header(), xvid_correct_framerate(), xvid_encode_frame(), xvid_encode_init(), and yuv4_generate_header().


The documentation for this struct was generated from the following file: