FFmpeg
1.2.12
Main Page
Related Pages
Modules
Data Structures
Files
Examples
File List
Globals
libavutil
parseutils.h
Go to the documentation of this file.
1
/*
2
* This file is part of FFmpeg.
3
*
4
* FFmpeg is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2.1 of the License, or (at your option) any later version.
8
*
9
* FFmpeg is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with FFmpeg; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
*/
18
19
#ifndef AVUTIL_PARSEUTILS_H
20
#define AVUTIL_PARSEUTILS_H
21
22
#include <
time.h
>
23
24
#include "
rational.h
"
25
49
int
av_parse_ratio
(
AVRational
*q,
const
char
*str,
int
max,
50
int
log_offset,
void
*log_ctx);
51
52
#define av_parse_ratio_quiet(rate, str, max) \
53
av_parse_ratio(rate, str, max, AV_LOG_MAX_OFFSET, NULL)
54
66
int
av_parse_video_size
(
int
*width_ptr,
int
*height_ptr,
const
char
*str);
67
77
int
av_parse_video_rate
(
AVRational
*rate,
const
char
*str);
78
98
int
av_parse_color
(
uint8_t
*rgba_color,
const
char
*color_string,
int
slen,
99
void
*log_ctx);
100
133
int
av_parse_time
(int64_t *timeval,
const
char
*timestr,
int
duration
);
134
159
char
*
av_small_strptime
(
const
char
*p,
const
char
*
fmt
,
struct
tm *dt);
160
167
int
av_find_info_tag
(
char
*
arg
,
int
arg_size,
const
char
*tag1,
const
char
*info);
168
172
time_t
av_timegm
(
struct
tm *tm);
173
174
#endif
/* AVUTIL_PARSEUTILS_H */
Generated on Thu Feb 12 2015 17:56:50 for FFmpeg by
1.8.1.2