FFmpeg
|
#include "config_components.h"
#include <sys/stat.h>
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/parseutils.h"
#include "libavutil/intreadwrite.h"
#include "libavcodec/gif.h"
#include "avformat.h"
#include "avio_internal.h"
#include "demux.h"
#include "internal.h"
#include "img2.h"
#include "os_support.h"
#include "libavcodec/jpegxl_parse.h"
#include "libavcodec/mjpeg.h"
#include "libavcodec/vbn.h"
#include "libavcodec/xwd.h"
#include "subtitles.h"
Go to the source code of this file.
Macros | |
#define | _DEFAULT_SOURCE |
#define | _BSD_SOURCE |
#define | OFFSET(x) offsetof(VideoDemuxData, x) |
#define | DEC AV_OPT_FLAG_DECODING_PARAM |
#define | COMMON_OPTIONS |
#define | IMAGEAUTO_DEMUXER_0(imgname, codecid) |
#define | IMAGEAUTO_DEMUXER_1(imgname, codecid) |
#define | IMAGEAUTO_DEMUXER_2(imgname, codecid, enabled) IMAGEAUTO_DEMUXER_ ## enabled(imgname, codecid) |
#define | IMAGEAUTO_DEMUXER_3(imgname, codecid, config) IMAGEAUTO_DEMUXER_2(imgname, codecid, config) |
#define | IMAGEAUTO_DEMUXER_EXT(imgname, codecid, uppercase_name) |
#define | IMAGEAUTO_DEMUXER(imgname, codecid) IMAGEAUTO_DEMUXER_EXT(imgname, codecid, codecid) |
Functions | |
static int | infer_size (int *width_ptr, int *height_ptr, int size) |
static int | is_glob (const char *path) |
static int | find_image_range (AVIOContext *pb, int *pfirst_index, int *plast_index, const char *path, int start_index, int start_index_range) |
Get index range of image files matched by path. More... | |
static int | img_read_probe (const AVProbeData *p) |
int | ff_img_read_header (AVFormatContext *s1) |
static int | add_filename_as_pkt_side_data (char *filename, AVPacket *pkt) |
Add this frame's source path and basename to packet's sidedata as a dictionary, so it can be used by filters like 'drawtext'. More... | |
int | ff_img_read_packet (AVFormatContext *s1, AVPacket *pkt) |
static int | img_read_close (struct AVFormatContext *s1) |
static int | img_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags) |
static int | bmp_probe (const AVProbeData *p) |
static int | cri_probe (const AVProbeData *p) |
static int | dds_probe (const AVProbeData *p) |
static int | dpx_probe (const AVProbeData *p) |
static int | exr_probe (const AVProbeData *p) |
static int | j2k_probe (const AVProbeData *p) |
static int | jpeg_probe (const AVProbeData *p) |
static int | jpegls_probe (const AVProbeData *p) |
static int | jpegxl_probe (const AVProbeData *p) |
static int | pcx_probe (const AVProbeData *p) |
static int | qdraw_probe (const AVProbeData *p) |
static int | pictor_probe (const AVProbeData *p) |
static int | png_probe (const AVProbeData *p) |
static int | psd_probe (const AVProbeData *p) |
static int | sgi_probe (const AVProbeData *p) |
static int | sunrast_probe (const AVProbeData *p) |
static int | svg_probe (const AVProbeData *p) |
static int | tiff_probe (const AVProbeData *p) |
static int | webp_probe (const AVProbeData *p) |
static int | pnm_magic_check (const AVProbeData *p, int magic) |
static int | pnm_probe (const AVProbeData *p) |
static int | pbm_probe (const AVProbeData *p) |
static int | pfm_probe (const AVProbeData *p) |
static int | phm_probe (const AVProbeData *p) |
static int | pgmx_probe (const AVProbeData *p) |
static int | pgm_probe (const AVProbeData *p) |
static int | pgmyuv_probe (const AVProbeData *p) |
static int | pgx_probe (const AVProbeData *p) |
static int | ppm_probe (const AVProbeData *p) |
static int | pam_probe (const AVProbeData *p) |
static int | hdr_probe (const AVProbeData *p) |
static int | xbm_probe (const AVProbeData *p) |
static int | xpm_probe (const AVProbeData *p) |
static int | xwd_probe (const AVProbeData *p) |
static int | gif_probe (const AVProbeData *p) |
static int | photocd_probe (const AVProbeData *p) |
static int | qoi_probe (const AVProbeData *p) |
static int | gem_probe (const AVProbeData *p) |
static int | vbn_probe (const AVProbeData *p) |
Variables | |
static const int | sizes [][2] |
static const AVOption | img2pipe_options [] |
static const AVClass | imagepipe_class |
#define OFFSET | ( | x | ) | offsetof(VideoDemuxData, x) |
#define DEC AV_OPT_FLAG_DECODING_PARAM |
#define COMMON_OPTIONS |
#define IMAGEAUTO_DEMUXER_1 | ( | imgname, | |
codecid | |||
) |
#define IMAGEAUTO_DEMUXER_2 | ( | imgname, | |
codecid, | |||
enabled | |||
) | IMAGEAUTO_DEMUXER_ ## enabled(imgname, codecid) |
#define IMAGEAUTO_DEMUXER_3 | ( | imgname, | |
codecid, | |||
config | |||
) | IMAGEAUTO_DEMUXER_2(imgname, codecid, config) |
#define IMAGEAUTO_DEMUXER_EXT | ( | imgname, | |
codecid, | |||
uppercase_name | |||
) |
#define IMAGEAUTO_DEMUXER | ( | imgname, | |
codecid | |||
) | IMAGEAUTO_DEMUXER_EXT(imgname, codecid, codecid) |
Definition at line 72 of file img2dec.c.
Referenced by ff_img_read_packet().
|
static |
Definition at line 87 of file img2dec.c.
Referenced by ff_img_read_header(), and img_read_probe().
|
static |
Get index range of image files matched by path.
pfirst_index | pointer to index updated with the first number in the range |
plast_index | pointer to index updated with the last number in the range |
path | path which has to be matched by the image files in the range |
start_index | minimum accepted value for the first index in the range |
Definition at line 117 of file img2dec.c.
Referenced by ff_img_read_header().
|
static |
int ff_img_read_header | ( | AVFormatContext * | s1 | ) |
Add this frame's source path and basename to packet's sidedata as a dictionary, so it can be used by filters like 'drawtext'.
Definition at line 391 of file img2dec.c.
Referenced by ff_img_read_packet().
int ff_img_read_packet | ( | AVFormatContext * | s1, |
AVPacket * | pkt | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 1015 of file img2dec.c.
Referenced by pam_probe(), pbm_probe(), pfm_probe(), pgmx_probe(), phm_probe(), and ppm_probe().
|
inlinestatic |
Definition at line 1022 of file img2dec.c.
Referenced by pam_probe(), pbm_probe(), pfm_probe(), pgmx_probe(), phm_probe(), and ppm_probe().
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 1050 of file img2dec.c.
Referenced by pgm_probe(), and pgmyuv_probe().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 60 of file img2dec.c.
Referenced by aac_encode_init(), av_image_alloc(), av_image_fill_plane_sizes(), av_image_fill_pointers(), av_image_get_buffer_size(), check_image_fill(), dequant_lsps(), encode_frame(), encode_slice(), ff_frame_pool_video_init(), get_video_buffer(), infer_completion_callback(), infer_size(), ra144_decode_frame(), ra144_encode_frame(), read_in_data(), setup_partitions(), and sga_decode_frame().
|
static |
|
static |