Go to the source code of this file.
|
static int | infer_size (int *width_ptr, int *height_ptr, int size) |
|
static int | is_glob (const char *path) |
|
static int | find_image_range (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 (AVProbeData *p) |
|
int | ff_img_read_header (AVFormatContext *s1) |
|
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 (AVProbeData *p) |
|
static int | dpx_probe (AVProbeData *p) |
|
static int | exr_probe (AVProbeData *p) |
|
static int | j2k_probe (AVProbeData *p) |
|
static int | jpeg_probe (AVProbeData *p) |
|
static int | jpegls_probe (AVProbeData *p) |
|
static int | qdraw_probe (AVProbeData *p) |
|
static int | pictor_probe (AVProbeData *p) |
|
static int | png_probe (AVProbeData *p) |
|
static int | sgi_probe (AVProbeData *p) |
|
static int | sunrast_probe (AVProbeData *p) |
|
static int | tiff_probe (AVProbeData *p) |
|
static int | webp_probe (AVProbeData *p) |
|
#define IMAGEAUTO_DEMUXER |
( |
|
imgname, |
|
|
|
codecid |
|
) |
| |
Value:static const AVClass imgname ## _class = {\
};\
AVInputFormat ff_image_ ## imgname ## _pipe_demuxer = {\
.priv_class = & imgname ## _class,\
.raw_codec_id = codecid,\
};
#define LIBAVUTIL_VERSION_INT
const char * class_name
The name of the class; usually it is the same name as the context structure type to which the AVClass...
int ff_img_read_header(AVFormatContext *s1)
const AVOption ff_img_options[]
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int read_header(FFV1Context *f)
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Describe the class of an AVClass context structure.
int ff_img_read_packet(AVFormatContext *s1, AVPacket *pkt)
Definition at line 782 of file img2dec.c.
static int infer_size |
( |
int * |
width_ptr, |
|
|
int * |
height_ptr, |
|
|
int |
size |
|
) |
| |
|
static |
static int is_glob |
( |
const char * |
path | ) |
|
|
static |
static int find_image_range |
( |
int * |
pfirst_index, |
|
|
int * |
plast_index, |
|
|
const char * |
path, |
|
|
int |
start_index, |
|
|
int |
start_index_range |
|
) |
| |
|
static |
Get index range of image files matched by path.
- Parameters
-
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 |
- Returns
- -1 if no image file could be found
Definition at line 105 of file img2dec.c.
Referenced by ff_img_read_header().
static int img_read_seek |
( |
AVFormatContext * |
s, |
|
|
int |
stream_index, |
|
|
int64_t |
timestamp, |
|
|
int |
flags |
|
) |
| |
|
static |
Initial value:= {
{ 640, 480 },
{ 720, 480 },
{ 720, 576 },
{ 352, 288 },
{ 352, 240 },
{ 160, 128 },
{ 512, 384 },
{ 640, 352 },
{ 640, 240 },
}
Definition at line 48 of file img2dec.c.
Referenced by aac_encode_init(), encode_frame(), infer_size(), ra144_decode_frame(), ra144_encode_frame(), setup_partitions(), svq1_decode_init(), and x8_vlc_init().
Initial value:= {
{
"start_number",
"set first number in the sequence",
OFFSET(start_number),
AV_OPT_TYPE_INT, {.i64 = 0 }, INT_MIN, INT_MAX,
DEC },
{
"start_number_range",
"set range for looking at the first sequence number",
OFFSET(start_number_range),
AV_OPT_TYPE_INT, {.i64 = 5}, 1, INT_MAX,
DEC },
{
"ts_from_file",
"set frame timestamp from file's one",
OFFSET(ts_from_file),
AV_OPT_TYPE_INT, {.i64 = 0 }, 0, 2,
DEC,
"ts_type" },
}
offset must point to AVRational
offset must point to two consecutive integers
Definition at line 535 of file img2dec.c.