VuoFfmpegUtility interface.
- Copyright
- Copyright © 2012–2016 Kosada Incorporated. This code may be modified and distributed under the terms of the MIT License. For more information, see http://vuo.org/license.
|
static double | VuoFfmpegUtility::AvTimeToSecond (AVStream *stream, int64_t pts) |
| Converts AVStream presentation timestamp to fractional seconds.
|
|
static int64_t | VuoFfmpegUtility::AvTimeToMicrosecond (AVStream *stream, int64_t pts) |
| Converts AVStream presentation timestamp to integer microseconds.
|
|
static int64_t | VuoFfmpegUtility::SecondToAvTime (AVStream *stream, double second) |
| Converts seconds to microseconds.
|
|
static int | VuoFfmpegUtility::FirstStreamIndexWithMediaType (AVFormatContext *context, AVMediaType type) |
| Return the index of the first stream matching the media type.
|
|
static void | VuoFfmpegUtility::FlipImageBytesVertical (uint8_t *buffer, uint width, uint height) |
| Flip an image vertically.
|
|
static bool | VuoFfmpegUtility::ConvertAVPictureToRGB (AVPicture *dst, PixelFormat dst_pix_fmt, AVPicture *src, PixelFormat pix_fmt, int width, int height) |
| Convert an AVPicture from whatever format it was originally in to RGB.
|
|
static VuoImage | VuoFfmpegUtility::VuoImageWithAVFrame (AVCodecContext *videoCodecCtx, AVFrame *frame) |
| Convert an AVFrame to a VuoImage.
|
|
static char * | VuoFfmpegUtility::AVCodecIDToString (AVCodecID id) |
| Return a human-readable string for a codec.
|
|