Fixposition SDK 0.0.0-heads/main-0-g6a396b9
Collection of c++ libraries and apps for use with Fixposition products on Linux
Loading...
Searching...
No Matches
video.hpp File Reference

Fixposition SDK: Video frame decoding. More...

#include <cstdint>
#include <memory>
#include <optional>
#include <string>
Include dependency graph for video.hpp:

Go to the source code of this file.

Classes

struct  fpsdk::common::video::VideoDecoderParams
 VideoFrameDecoder params and their defaults. More...
struct  fpsdk::common::video::ImageData
 Decoded, converted and scaled image. More...
class  fpsdk::common::video::VideoFrameDecoder
 Helper for decoding video frames. More...

Namespaces

namespace  fpsdk
 Fixposition SDK.
namespace  fpsdk::common
 Fixposition SDK: Common library.
namespace  fpsdk::common::video
 Video frame decoding.

Typedefs

using fpsdk::common::video::VideoFrameDecoderPtr = std::unique_ptr<VideoFrameDecoder>
 Pointer to a VideoFrameDecoder instance, see CreateVideoFrameDecoder()

Enumerations

enum class  fpsdk::common::video::VideoCodec : int { fpsdk::common::video::UNSPECIFIED = 0 , fpsdk::common::video::H264 , fpsdk::common::video::H265 }
 Video codec. More...
enum class  fpsdk::common::video::PixelFmt : int { fpsdk::common::video::UNSPECIFIED = 0 , fpsdk::common::video::Y8 , fpsdk::common::video::RGB24 , fpsdk::common::video::GBRP }
 Pixel format. More...
enum class  fpsdk::common::video::ScalingQual : int {
  fpsdk::common::video::UNSPECIFIED = 0 , fpsdk::common::video::BILINEAR , fpsdk::common::video::BICUBIC , fpsdk::common::video::LANCZOS ,
  fpsdk::common::video::SINC
}
 Scaling method (only for sw decoding) More...
enum class  fpsdk::common::video::HwAccel : uint8_t { fpsdk::common::video::UNSPECIFIED = 0 , fpsdk::common::video::AUTO = 1 , fpsdk::common::video::SW = 2 , fpsdk::common::video::HW = 3 }
 Hw acceleration. More...

Functions

const char * fpsdk::common::video::VideoCodecToStr (const VideoCodec codec)
 Stringify video codec enum.
VideoCodec fpsdk::common::video::VideoCodecFromStrOr (const char *str, const VideoCodec def)
 Convert codec ID string to enum.
const char * fpsdk::common::video::PixelFmtToStr (const PixelFmt fmt)
 Stringify pixel format enum.
PixelFmt fpsdk::common::video::PixelFmtFromStrOr (const char *str, const PixelFmt def)
 Convert pixel format string to enum.
const char * fpsdk::common::video::ScalingQualToStr (const ScalingQual qual)
 Stringify scaling method enum.
ScalingQual fpsdk::common::video::ScalingQualFromStrOr (const char *str, const ScalingQual def)
 Convert scaling method string to enum.
const char * fpsdk::common::video::HwAccelToStr (const HwAccel accel)
 Stringify hw accel method enum.
HwAccel fpsdk::common::video::HwAccelFromStrOr (const char *str, const HwAccel def)
 Convert scaling method string to enum.
VideoFrameDecoderPtr fpsdk::common::video::CreateVideoFrameDecoder (const VideoDecoderParams &params)
 Create a video frame decoder.

Detailed Description

Fixposition SDK: Video frame decoding.

* ___    ___
* \  \  /  /
*  \  \/  /   Copyright (c) Fixposition AG (www.fixposition.com) and contributors
*  /  /\  \   License: see the LICENSE file
* /__/  \__\
* 

Definition in file video.hpp.