Go to the source code of this file.
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 124 of file img2dec.c.
Referenced by img_read_header().
Initial value:= {
{ 640, 480 },
{ 720, 480 },
{ 720, 576 },
{ 352, 288 },
{ 352, 240 },
{ 160, 128 },
{ 512, 384 },
{ 640, 352 },
{ 640, 240 },
}
Definition at line 67 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:= {
{
"pattern_type",
"set pattern type",
OFFSET(pattern_type),
AV_OPT_TYPE_INT, {.i64=PT_GLOB_SEQUENCE}, 0, INT_MAX,
DEC,
"pattern_type"},
{
"glob_sequence",
"glob/sequence pattern type", 0,
AV_OPT_TYPE_CONST, {.i64=PT_GLOB_SEQUENCE}, INT_MIN, INT_MAX,
DEC,
"pattern_type" },
{
"glob",
"glob pattern type", 0,
AV_OPT_TYPE_CONST, {.i64=PT_GLOB }, INT_MIN, INT_MAX,
DEC,
"pattern_type" },
{
"sequence",
"glob pattern type", 0,
AV_OPT_TYPE_CONST, {.i64=PT_SEQUENCE }, INT_MIN, INT_MAX,
DEC,
"pattern_type" },
{
"start_number",
"set first number in the sequence",
OFFSET(start_number),
AV_OPT_TYPE_INT, {.i64 = 0 }, 0, 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 },
}
Definition at line 431 of file img2dec.c.