#include "libavutil/intreadwrite.h"
#include "libavutil/avstring.h"
#include "avformat.h"
#include <strings.h>
Go to the source code of this file.
Data Structures | |
struct | VideoData |
struct | IdStrMap |
Functions | |
static int | infer_size (int *width_ptr, int *height_ptr, int size) |
static enum CodecID | av_str2id (const IdStrMap *tags, const char *str) |
static int | find_image_range (int *pfirst_index, int *plast_index, const char *path) |
static int | image_probe (AVProbeData *p) |
enum CodecID | av_guess_image2_codec (const char *filename) |
static int | img_read_header (AVFormatContext *s1, AVFormatParameters *ap) |
static int | img_read_packet (AVFormatContext *s1, AVPacket *pkt) |
static int | img_write_header (AVFormatContext *s) |
static int | img_write_packet (AVFormatContext *s, AVPacket *pkt) |
Variables | |
static const IdStrMap | img_tags [] |
static const int | sizes [][2] |
AVInputFormat | image2_demuxer |
AVInputFormat | image2pipe_demuxer |
AVOutputFormat | image2_muxer |
AVOutputFormat | image2pipe_muxer |
enum CodecID av_guess_image2_codec | ( | const char * | filename | ) |
Definition at line 104 of file img2.c.
Referenced by av_guess_image2_codec(), image_probe(), img_read_header(), and img_write_packet().
static int find_image_range | ( | int * | pfirst_index, | |
int * | plast_index, | |||
const char * | path | |||
) | [static] |
static int image_probe | ( | AVProbeData * | p | ) | [static] |
static int img_read_header | ( | AVFormatContext * | s1, | |
AVFormatParameters * | ap | |||
) | [static] |
static int img_read_packet | ( | AVFormatContext * | s1, | |
AVPacket * | pkt | |||
) | [static] |
static int img_write_header | ( | AVFormatContext * | s | ) | [static] |
static int img_write_packet | ( | AVFormatContext * | s, | |
AVPacket * | pkt | |||
) | [static] |
static int infer_size | ( | int * | width_ptr, | |
int * | height_ptr, | |||
int | size | |||
) | [static] |
Initial value:
{ "image2", NULL_IF_CONFIG_SMALL("image2 sequence"), sizeof(VideoData), image_probe, img_read_header, img_read_packet, NULL, NULL, NULL, AVFMT_NOFILE, }
Initial value:
{ "image2", NULL_IF_CONFIG_SMALL("image2 sequence"), "", "bmp,jpeg,jpg,ljpg,pam,pbm,pcx,pgm,pgmyuv,png,ppm,sgi,tif,tiff,jp2", sizeof(VideoData), CODEC_ID_NONE, CODEC_ID_MJPEG, img_write_header, img_write_packet, NULL, .flags= AVFMT_NOTIMESTAMPS | AVFMT_NODIMENSIONS | AVFMT_NOFILE }
Initial value:
{ "image2pipe", NULL_IF_CONFIG_SMALL("piped image2 sequence"), sizeof(VideoData), NULL, img_read_header, img_read_packet, }
Initial value:
{ "image2pipe", NULL_IF_CONFIG_SMALL("piped image2 sequence"), "", "", sizeof(VideoData), CODEC_ID_NONE, CODEC_ID_MJPEG, img_write_header, img_write_packet, .flags= AVFMT_NOTIMESTAMPS | AVFMT_NODIMENSIONS }
const int sizes[][2] [static] |
Initial value:
{ { 640, 480 }, { 720, 480 }, { 720, 576 }, { 352, 288 }, { 352, 240 }, { 160, 128 }, { 512, 384 }, { 640, 352 }, { 640, 240 }, }
Definition at line 79 of file img2.c.
Referenced by aac_encode_init(), infer_size(), ra144_decode_frame(), svq1_decode_init(), and x8_vlc_init().