FFmpeg  4.0
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

◆ gdv_read_probe()

static int gdv_read_probe ( AVProbeData p)
static

Definition at line 37 of file gdv.c.

◆ gdv_read_header()

static int gdv_read_header ( AVFormatContext ctx)
static

Definition at line 70 of file gdv.c.

◆ gdv_read_packet()

static int gdv_read_packet ( AVFormatContext ctx,
AVPacket pkt 
)
static

Definition at line 152 of file gdv.c.

Variable Documentation

◆ id

uint16_t id

Definition at line 46 of file gdv.c.

◆ width

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

Definition at line 47 of file gdv.c.

Referenced by abgrToA_c(), add_gradient_pred_c(), add_rect_clamped_c(), aic_decode_header(), alias_pix_read_probe(), alloc_buffers(), alloc_lines(), alloc_picture(), apply_loop_filter(), av_vdpau_get_surface_parameters(), averageiir2d(), avfilter_graph_dump_to_buf(), avfilter_transform(), avg_no_rnd_vc1_chroma_mc4_c(), 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(), 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_add_gradient_pred(), check_sao_band(), check_sao_edge(), check_sub_left_pred(), checkasm_check_huffyuvdsp(), checkasm_check_llviddsp(), chrRangeFromJpeg16_c(), chrRangeFromJpeg_c(), chrRangeToJpeg16_c(), chrRangeToJpeg_c(), 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_header(), decode_i2_frame(), decode_i_frame(), decode_mvc1(), decode_p_frame(), decode_plane(), decode_plane10(), decode_ppc(), decode_refpass(), decode_region(), decode_region_masked(), decode_rowskip(), decode_seq_header(), decode_sigpass(), decode_slice(), decode_studiovisualobject(), decode_vol_header(), decode_wdlt(), decompress_i(), deflate(), deinterleave(), deinterleaveBytes_c(), deshake_transform_c(), dilation(), dirac_hpel_filter(), draw_line(), draw_n_color(), draw_scope(), dump_enc_cfg(), dump_paramchange(), dvbsub_parse_page_segment(), 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_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_cbs_read_unsigned(), ff_cbs_write_unsigned(), ff_copy_rectangle(), ff_draw_rectangle(), ff_flac_parse_picture(), ff_flv_decode_picture_header(), 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_hevc_sao_band_filter_neon_8_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_filter_work_size_from_image(), ff_rtjpeg_decode_init(), ff_set_dimensions(), ff_snow_vertical_compose97i(), ff_vc1_mc_4mv_luma(), ff_vdpau_common_frame_params(), ff_vdpau_common_init(), ff_videotoolbox_uninit(), fill_yuv_image(), filter(), filter16_3x3(), filter16_5x5(), filter16_7x7(), filter16_prewitt(), filter16_roberts(), filter16_sobel(), filter_3x3(), filter_5x5(), filter_7x7(), filter_frame(), filter_horizontally(), filter_postscale(), filter_prewitt(), filter_roberts(), filter_slice_chroma(), filter_sobel(), filter_vertically(), gaussianiir2d(), gbr16ptopacked16(), gbr24ptopacked24(), gbr24ptopacked32(), gbr24pToUV_half_c(), geq_config_props(), geq_filter_frame(), gif_image_write_image(), gif_read_header(), gif_read_image(), gradient_predict(), graticule16_column(), graticule_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(), idcin_read_header(), inflate(), init_axis_color(), init_axis_from_font(), init_dimensions(), inter_predict(), interleaveBytes(), interleaveBytes_c(), interpolate(), INTERPOLATE_METHOD(), 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(), luma_abs_diff(), lumRangeFromJpeg16_c(), lumRangeFromJpeg_c(), lumRangeToJpeg16_c(), lumRangeToJpeg_c(), magy_decode_frame(), magy_decode_slice(), magy_decode_slice10(), magy_encode_frame(), 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(), nuv_header(), nvenc_check_capabilities(), nvXXtoUV_c(), op(), opencl_get_plane_format(), opengl_resize(), 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(), planar_rgb16_to_a(), planar_rgb16_to_uv(), planar_rgb16_to_y(), planar_rgb_to_a(), planar_rgb_to_uv(), planar_rgb_to_y(), postProcess(), pp_postprocess(), process_alpha(), process_command(), process_ipmovie_chunk(), process_line0(), process_slice_uyvy422(), process_slice_yuv420p(), process_slice_yuv422p(), process_slice_yuv444p(), 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(), 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(), request_frame(), restore_gradient_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(), slice_geq_filter(), smc_decode_stream(), smush_read_header(), snow_interleave_line_header(), soft_thresholding(), spatial_compose53i_dy_buffered(), spatial_compose_daub97i_dy(), spatial_compose_dd137i_dy(), spatial_compose_dd97i_dy(), spatial_compose_dirac53i_dy(), spatial_compose_fidelity(), spatial_compose_haari_dy(), 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(), sub_left_predict_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(), tempNoiseReducer(), theora_header(), to_meta_with_crop(), truemotion2rt_decode_header(), utvideo_encode_frame(), uyvyToUV_c(), uyvyToY_c(), uyvytoyuv420(), uyvytoyuv422(), uyvytoyv12(), var_size_bmc(), vb_decode_framedata(), vble_restore_plane(), verify_md5(), vertical_compose53iH0(), vertical_compose53iL0(), vertical_compose97iH0(), vertical_compose97iH1(), vertical_compose97iL0(), vertical_compose97iL1(), vertical_compose_daub97iH0(), vertical_compose_daub97iH1(), vertical_compose_daub97iL0(), vertical_compose_daub97iL1(), vertical_compose_dd137iL0(), vertical_compose_dd97iH0(), vertical_compose_dirac53iH0(), vertical_compose_fidelityiH0(), vertical_compose_fidelityiL0(), vertical_compose_haar(), 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(), vu9_to_vu12(), write_huff_codes(), xan_wc3_copy_pixel_run(), xan_wc3_decode_frame(), xan_wc3_output_pixel_run(), xbm_decode_frame(), xsub_encode(), yuv422ptouyvy(), yuv422ptoyuy2(), yuv4_generate_header(), yuv4_read_header(), yuv4_write_packet(), yuvPlanartouyvy(), yuvPlanartoyuy2(), yuy2ToUV_c(), yuy2ToY_c(), yuy2toyv12(), yuyvtoyuv420(), yuyvtoyuv422(), yv12_copy(), yv12_interpolate(), yv12touyvy(), yv12toyuy2(), yvu9_to_yuy2(), yvy2ToUV_c(), and zero12v_decode_frame().

◆ height

uint16_t height

Definition at line 48 of file gdv.c.

◆ FixedSize

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().

◆ ff_gdv_demuxer

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:186
Definition: gdv.c:28
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:530
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.