#include "libavutil/rational.h"
Go to the source code of this file.
Functions | |
| int | av_parse_video_size (int *width_ptr, int *height_ptr, const char *str) |
| Parse str and put in width_ptr and height_ptr the detected values. | |
| int | av_parse_video_rate (AVRational *rate, const char *str) |
| Parse str and store the detected values in *rate. | |
Definition in file parseutils.h.
| int av_parse_video_rate | ( | AVRational * | rate, | |
| const char * | str | |||
| ) |
Parse str and store the detected values in *rate.
| [in,out] | rate | pointer to the AVRational which will contain the detected frame rate |
| [in] | str | the string to parse: it has to be a string in the format rate_num / rate_den, a float number or a valid video rate abbreviation |
Definition at line 117 of file parseutils.c.
Referenced by av_parse_video_frame_rate(), opt_frame_rate(), parse_ffconfig(), and parse_frame_rate().
| int av_parse_video_size | ( | int * | width_ptr, | |
| int * | height_ptr, | |||
| const char * | str | |||
| ) |
Parse str and put in width_ptr and height_ptr the detected values.
| [in,out] | width_ptr | pointer to the variable which will contain the detected width value |
| [in,out] | height_ptr | pointer to the variable which will contain the detected height value |
| [in] | str | the string to parse: it has to be a string in the format width x height or a valid video size abbreviation. |
Definition at line 89 of file parseutils.c.
Referenced by av_parse_video_frame_size(), opt_frame_size(), parse_ffconfig(), and parse_image_size().
1.5.6