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 Libav.
3
*
4
* Libav 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
* Libav 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 Libav; 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
42
int
av_parse_video_size
(
int
*width_ptr,
int
*height_ptr,
const
char
*str);
43
53
int
av_parse_video_rate
(
AVRational
*rate,
const
char
*str);
54
74
int
av_parse_color
(uint8_t *rgba_color,
const
char
*color_string,
int
slen,
75
void
*log_ctx);
76
109
int
av_parse_time
(int64_t *timeval,
const
char
*timestr,
int
duration
);
110
117
int
av_find_info_tag
(
char
*arg,
int
arg_size,
const
char
*tag1,
const
char
*info);
118
122
time_t
av_timegm
(
struct
tm *tm);
123
124
#endif
/* AVUTIL_PARSEUTILS_H */