FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
gdv.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "avio.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  GDVContext
 

Functions

static int gdv_read_probe (AVProbeData *p)
 
static int gdv_read_header (AVFormatContext *ctx)
 
static int gdv_read_packet (AVFormatContext *ctx, AVPacket *pkt)
 

Variables

struct {
   uint16_t   id
 
   uint16_t   width
 
   uint16_t   height
 
FixedSize []
 
AVInputFormat ff_gdv_demuxer
 

Function Documentation

static int gdv_read_probe ( AVProbeData p)
static

Definition at line 37 of file gdv.c.

static int gdv_read_header ( AVFormatContext ctx)
static

Definition at line 70 of file gdv.c.

static int gdv_read_packet ( AVFormatContext ctx,
AVPacket pkt 
)
static

Definition at line 152 of file gdv.c.

Variable Documentation

uint16_t id

Definition at line 46 of file gdv.c.

uint16_t width
Examples:
demuxing_decoding.c, muxing.c, and scaling_video.c.

Definition at line 47 of file gdv.c.

Referenced by abgrToA_c(), add_rect_clamped_c(), aic_decode_header(), alias_pix_read_probe(), alloc_buffers(), alloc_lines(), alloc_picture(), anaglyph(), anaglyph_ic(), apply_loop_filter(), av_parse_video_size(), averageiir2d(), avfilter_graph_dump_to_buf(), avfilter_transform(), avg_tpel_pixels_mc01_c(), avg_tpel_pixels_mc02_c(), avg_tpel_pixels_mc10_c(), avg_tpel_pixels_mc11_c(), avg_tpel_pixels_mc12_c(), avg_tpel_pixels_mc20_c(), avg_tpel_pixels_mc21_c(), avg_tpel_pixels_mc22_c(), bayer_to_rgb24_wrapper(), bayer_to_yv12_wrapper(), bgr24ToUV_c(), bgr24ToUV_half_c(), bgr24ToY_c(), bidirectional_obmc(), bilateral_obmc(), bink_decode_plane(), bitplane_decoding(), bktr_init(), blend_hline(), blend_hline16(), blend_normal_16bit(), blend_normal_8bit(), bmp_decode_frame(), bswap16UV_c(), bswap16Y_c(), build_abs_diff_mask(), calc_combed_score(), calc_diffs(), calculate_display_rect(), calculate_visual_weight(), cdxl_read_packet(), check_codec_match(), checkasm_check_llviddsp(), chrRangeFromJpeg16_c(), chrRangeFromJpeg_c(), chrRangeToJpeg16_c(), chrRangeToJpeg_c(), codec_reinit(), codecctl_int(), compare_fields(), config_input(), config_output(), copy_block(), copy_CTB(), copy_frame(), count_usage(), dc1394_read_common(), decode_13(), decode_bdlt(), decode_block(), decode_clnpass(), decode_colskip(), decode_dds1(), decode_entropy_coded_image(), decode_entropy_image(), decode_fctl_chunk(), decode_frame(), decode_frame_header(), decode_frame_headers(), decode_header(), decode_i2_frame(), decode_i_frame(), decode_mvc1(), decode_p_frame(), decode_ppc(), decode_refpass(), decode_region(), decode_region_masked(), decode_rowskip(), decode_seq_header(), decode_sigpass(), decode_slice(), decode_subband_internal(), decode_vol_header(), decode_wdlt(), decompress_i(), deflate(), deinterleave(), deinterleaveBytes_c(), deshake_transform_c(), device_init(), dilation(), dirac_hpel_filter(), draw_line(), draw_n_color(), draw_scope(), dump_enc_cfg(), dump_paramchange(), dx2_decode_slice_410(), dx2_decode_slice_420(), dx2_decode_slice_444(), dx2_decode_slice_5x5(), dx2_decode_slice_rgb(), dxtory_decode_v1_444(), dxtory_decode_v1_rgb(), encode_15_7_sl(), encode_cblk(), encode_clnpass(), encode_frame(), encode_picture_ls(), encode_refpass(), encode_sigpass(), encode_slice(), erosion(), estimate_best_b_count(), evalfunc_0(), evalfunc_1(), execute_code(), extract_from_packed(), fade(), ff_copy_rectangle(), ff_draw_rectangle(), ff_flac_parse_picture(), ff_flv_decode_picture_header(), ff_frame_pool_video_init(), ff_gmc_c(), ff_gradfun_blur_line_c(), ff_gradfun_filter_line_c(), ff_h263_decode_frame(), ff_h263_decode_picture_header(), ff_h264_decode_seq_parameter_set(), ff_hevc_put_qpel_bi_neon_wrapper(), ff_hevc_put_qpel_neon_wrapper(), ff_hevc_put_qpel_uni_neon_wrapper(), ff_jpegls_decode_picture(), ff_me_init_context(), ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar(), ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka(), ff_mediacodec_sw_buffer_copy_yuv420_planar(), ff_mediacodec_sw_buffer_copy_yuv420_semi_planar(), ff_mjpeg_decode_sof(), ff_opencl_apply_unsharp(), ff_print_debug_info2(), ff_rtjpeg_decode_init(), ff_set_dimensions(), ff_snow_vertical_compose97i(), ff_vc1_mc_4mv_luma(), ff_vda_create_decoder(), ff_vda_default_init(), ff_vdpau_common_init(), fill_yuv_image(), filter(), filter16_3x3(), filter16_5x5(), filter16_prewitt(), filter16_roberts(), filter16_sobel(), filter_3x3(), filter_5x5(), filter_frame(), filter_horizontally(), filter_postscale(), filter_prewitt(), filter_roberts(), filter_slice(), filter_slice_chroma(), filter_sobel(), filter_vertically(), gaussianiir2d(), gbr16ptopacked16(), gbr24ptopacked24(), gbr24ptopacked32(), gbr24pToUV_half_c(), gif_image_write_image(), gif_read_header(), gif_read_image(), graticule16_green_column(), graticule_green_column(), hard_thresholding(), hermite_interpolation(), hevc_sao_band_filter_16multiple_msa(), hevc_sao_edge_filter_0degree_16multiple_msa(), hevc_sao_edge_filter_135degree_16multiple_msa(), hevc_sao_edge_filter_45degree_16multiple_msa(), hevc_sao_edge_filter_90degree_16multiple_msa(), hqa_decode_frame(), hqx_filter(), idcin_read_header(), inflate(), init_axis_color(), init_axis_from_font(), init_dimensions(), init_sizes(), inter_predict(), interleaveBytes_c(), interleaveBytes_TMPL(), interpolate(), INTERPOLATE_METHOD(), jpeg_parse_packet(), kempf_decode_tile(), kempf_restore_buf(), lag_decode_arith_plane(), lag_pred_line_yuy2(), left_predict(), libopenjpeg_copy_unpacked16(), libopenjpeg_copy_unpacked8(), libopenjpeg_decode_frame(), ljpeg_encode_bgr(), ljpeg_encode_frame(), loco_decode_plane(), lowpass_line_c(), lowpass_line_c_16(), lowpass_line_complex_c(), lowpass_line_complex_c_16(), lowpass_prediction(), luma_abs_diff(), lumRangeFromJpeg16_c(), lumRangeFromJpeg_c(), lumRangeToJpeg16_c(), lumRangeToJpeg_c(), magy_decode_frame(), magy_decode_slice(), magy_decode_slice10(), main(), mangle_rgb_planes(), mca(), mediacodec_dec_parse_format(), median_predict(), mimic_decode_frame(), monoblack2Y_c(), monowhite2Y_c(), mov_create_dvd_sub_decoder_specific_info(), mov_read_tkhd(), mov_write_tapt_tag(), mpeg1_decode_sequence(), mpeg1_encode_sequence_header(), msnwc_tcp_probe(), msrle_decode_8_16_24_32(), msrle_decode_pal4(), mss4_decode_frame(), mvc_decode_init(), noise(), nuv_header(), nvenc_check_capabilities(), nvXXtoUV_c(), old_codec37(), old_codec47(), op(), opengl_resize(), optimum_block_width(), output_mpd(), p010BEToUV_c(), p010BEToY_c(), p010LEToUV_c(), p010LEToY_c(), p016BEToUV_c(), p016LEToUV_c(), packed16togbra16(), packedtogbr24p(), palToA_c(), palToUV_c(), palToY_c(), parse(), parse_object_segment(), pic_arrays_init(), pixlet_decode_frame(), planar_rgb16_to_a(), planar_rgb16_to_uv(), planar_rgb16_to_y(), planar_rgb_to_a(), planar_rgb_to_uv(), planar_rgb_to_y(), png_get_interlaced_row(), png_put_interlaced_row(), postProcess_TMPL(), pp_postprocess(), process_command(), process_ipmovie_chunk(), process_line0(), process_slice_uyvy422(), process_slice_yuv420p(), process_slice_yuv422p(), process_slice_yuv444p(), pseudocolor_filter(), pseudocolor_filter_10(), pseudocolor_filter_10d(), pseudocolor_filter_11(), pseudocolor_filter_11d(), pseudocolor_filter_16(), pseudocolor_filter_16_10(), pseudocolor_filter_16_10d(), pseudocolor_filter_16_11(), pseudocolor_filter_16_11d(), put_hevc_epel_bi_h(), put_hevc_epel_bi_hv(), put_hevc_epel_bi_v(), put_hevc_epel_bi_w_h(), put_hevc_epel_bi_w_hv(), put_hevc_epel_bi_w_v(), put_hevc_epel_h(), put_hevc_epel_hv(), put_hevc_epel_uni_h(), put_hevc_epel_uni_hv(), put_hevc_epel_uni_v(), put_hevc_epel_uni_w_h(), put_hevc_epel_uni_w_hv(), put_hevc_epel_uni_w_v(), put_hevc_epel_v(), put_hevc_pel_bi_pixels(), put_hevc_pel_bi_w_pixels(), put_hevc_pel_pixels(), put_hevc_pel_uni_w_pixels(), put_hevc_qpel_bi_h(), put_hevc_qpel_bi_hv(), put_hevc_qpel_bi_v(), put_hevc_qpel_bi_w_h(), put_hevc_qpel_bi_w_hv(), put_hevc_qpel_bi_w_v(), put_hevc_qpel_h(), put_hevc_qpel_hv(), put_hevc_qpel_uni_h(), put_hevc_qpel_uni_hv(), put_hevc_qpel_uni_v(), put_hevc_qpel_uni_w_h(), put_hevc_qpel_uni_w_hv(), put_hevc_qpel_uni_w_v(), put_hevc_qpel_v(), put_line(), put_pcm(), put_signed_rect_clamped_8bit_c(), put_tpel_pixels_mc01_c(), put_tpel_pixels_mc02_c(), put_tpel_pixels_mc10_c(), put_tpel_pixels_mc11_c(), put_tpel_pixels_mc12_c(), put_tpel_pixels_mc20_c(), put_tpel_pixels_mc21_c(), put_tpel_pixels_mc22_c(), qian_thresholding(), qpeg_decode_inter(), qtrle_encode_line(), read4x4block(), read_ayuv64le_A_c(), read_ayuv64le_UV_c(), read_ayuv64le_Y_c(), read_header(), read_sm_data(), read_ya16be_alpha_c(), read_ya16be_gray_c(), read_ya16le_alpha_c(), read_ya16le_gray_c(), render_default_font(), restore_gradient_planar(), restore_gradient_planar_il(), restore_median_planar(), restore_median_planar_il(), restore_rgb_planes10_c(), restore_rgb_planes_c(), restore_tqb_pixels(), rgb16_32ToUV_c_template(), rgb16_32ToUV_half_c_template(), rgb24_copy(), rgb24_interpolate(), rgb24ToUV_c(), rgb24ToUV_half_c(), rgb24ToY_c(), rgb48funcs(), rgb48ToUV_c_template(), rgb48ToUV_half_c_template(), rgb64funcs(), rgb64ToUV_c_template(), rgb64ToUV_half_c_template(), rgb64ToY_c_template(), rgba64beToA_c(), rgba64leToA_c(), rgbaToA_c(), rpza_decode_stream(), rv34_mc(), sao_band_filter(), sao_edge_filter(), sao_edge_restore_0(), sao_edge_restore_1(), sao_filter_CTB(), set_frame_data(), set_processing_window(), shrink88(), siff_parse_vbv1(), smc_decode_stream(), smush_read_header(), snow_interleave_line_header(), soft_thresholding(), spatial_compose53i_dy_buffered(), spatial_compose_daub97i_dy_TMPL(), spatial_compose_dd137i_dy_TMPL(), spatial_compose_dd97i_dy_TMPL(), spatial_compose_dirac53i_dy_TMPL(), spatial_compose_fidelity_TMPL(), spatial_compose_haari_dy_TMPL(), ssim_4x4xn_16bit(), ssim_4x4xn_8bit(), ssim_end4(), ssim_endn_16bit(), ssim_endn_8bit(), ssim_plane(), stereo_processing(), store_slice16_c(), store_slice2_c(), store_slice_c(), super2xsai(), svq1_decode_block_intra(), svq1_decode_block_non_intra(), svq1_decode_frame(), svq1_decode_frame_header(), svq1_encode_plane(), swf_read_packet(), swf_write_header(), tdsc_blit(), theora_header(), tiff_unpack_strip(), to_meta_with_crop(), truemotion2rt_decode_header(), utvideo_encode_frame(), uyvyToUV_c(), uyvyToY_c(), uyvytoyuv420_TMPL(), uyvytoyuv422_TMPL(), var_size_bmc(), vb_decode_framedata(), vble_restore_plane(), verify_md5(), vertical_compose53iH0(), vertical_compose53iL0(), vertical_compose53iL0_TMPL(), vertical_compose97iH0(), vertical_compose97iH1(), vertical_compose97iL0(), vertical_compose97iL1(), vertical_compose_daub97iH0_TMPL(), vertical_compose_daub97iH1_TMPL(), vertical_compose_daub97iL0_TMPL(), vertical_compose_daub97iL1_TMPL(), vertical_compose_dd137iL0_TMPL(), vertical_compose_dd97iH0_TMPL(), vertical_compose_dirac53iH0_TMPL(), vertical_compose_fidelityiH0_TMPL(), vertical_compose_fidelityiL0_TMPL(), vertical_compose_haar_TMPL(), vertical_decompose53iH0(), vertical_decompose53iL0(), vertical_decompose97iH0(), vertical_decompose97iH1(), vertical_decompose97iL0(), vertical_decompose97iL1(), decklink_input_callback::VideoInputFrameArrived(), vmd_read_header(), vp7_decode_frame_header(), vp7_fade_frame(), vp8_decode_frame_header(), write_huff_codes(), xan_wc3_copy_pixel_run(), xan_wc3_decode_frame(), xan_wc3_output_pixel_run(), xbm_decode_frame(), xsub_encode(), yuv422ptouyvy_TMPL(), yuv422ptoyuy2_TMPL(), yuv4_generate_header(), yuv4_read_header(), yuv4_write_packet(), yuvPlanartouyvy_TMPL(), yuvPlanartoyuy2_TMPL(), yuy2ToUV_c(), yuy2ToY_c(), yuy2toyv12_TMPL(), yuyvtoyuv420_TMPL(), yuyvtoyuv422_TMPL(), yv12_copy(), yv12_interpolate(), yv12touyvy_TMPL(), yv12toyuy2_TMPL(), yvy2ToUV_c(), and zero12v_decode_frame().

uint16_t height

Definition at line 48 of file gdv.c.

struct { ... } FixedSize[]
Initial value:
= {
{ 0, 320, 200},
{ 1, 640, 200},
{ 2, 320, 167},
{ 3, 320, 180},
{ 4, 320, 400},
{ 5, 320, 170},
{ 6, 160, 85},
{ 7, 160, 83},
{ 8, 160, 90},
{ 9, 280, 128},
{10, 320, 240},
{11, 320, 201},
{16, 640, 400},
{17, 640, 200},
{18, 640, 180},
{19, 640, 167},
{20, 640, 170},
{21, 320, 240}
}

Referenced by gdv_read_header().

AVInputFormat ff_gdv_demuxer
Initial value:
= {
.name = "gdv",
.long_name = NULL_IF_CONFIG_SMALL("Gremlin Digital Video"),
.priv_data_size = sizeof(GDVContext),
}
static int gdv_read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: gdv.c:152
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:179
Definition: gdv.c:28
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:528
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
static int gdv_read_header(AVFormatContext *ctx)
Definition: gdv.c:70
static int gdv_read_probe(AVProbeData *p)
Definition: gdv.c:37

Definition at line 194 of file gdv.c.