FFmpeg
|
#include <sys/stat.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 "internal.h"
#include "img2.h"
#include "libavcodec/mjpeg.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(imgname, 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 | 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 | 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 | 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) |
Variables | |
static const int | sizes [][2] |
const AVOption | ff_img2pipe_options [] |
#define OFFSET | ( | x | ) | offsetof(VideoDemuxData, x) |
#define DEC AV_OPT_FLAG_DECODING_PARAM |
#define COMMON_OPTIONS |
#define IMAGEAUTO_DEMUXER | ( | imgname, | |
codecid | |||
) |
Definition at line 65 of file img2dec.c.
Referenced by ff_img_read_packet().
|
static |
Definition at line 80 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 110 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 383 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 |
Definition at line 977 of file img2dec.c.
Referenced by pam_probe(), pbm_probe(), pgmx_probe(), and ppm_probe().
|
inlinestatic |
Definition at line 984 of file img2dec.c.
Referenced by pam_probe(), pbm_probe(), pgmx_probe(), and ppm_probe().
|
static |
|
inlinestatic |
Definition at line 1000 of file img2dec.c.
Referenced by pgm_probe(), and pgmyuv_probe().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 53 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(), dequant_lsps(), encode_frame(), encode_slice(), get_video_buffer(), infer_size(), main(), ra144_decode_frame(), ra144_encode_frame(), read_in_data(), setup_partitions(), sga_decode_frame(), and svq1_static_init().
const AVOption ff_img2pipe_options[] |