|
|
bool | load (const std::string &inputDevice, const std::string &format, int w, int h, double fps, int codec, int pixelfmt) noexcept |
| |
| bool | start () noexcept override |
| |
| void | stop () noexcept override |
| |
| AVFrame * | dequeue_frame () noexcept override |
| |
| void | release_frame (AVFrame *frame) noexcept override |
| |
| bool | notifyFormatChange (int new_w, int new_h, AVPixelFormat new_pixfmt) noexcept override |
| |
|
ReadFrame | enqueue_frame (const AVPacket *pkt) noexcept |
| |
|
std::pair< AVBufferRef *, const AVCodec * > | open_hwdec (const AVCodec &) noexcept |
| |
|
int | init_codec_context (const AVCodec *codec, AVBufferRef *hw_dev_ctx, const AVStream *stream, std::function< void(AVCodecContext &)> setup) |
| |
|
bool | open_codec_context (VideoInterface &self, const AVStream *stream, std::function< void(AVCodecContext &)> setup) |
| |
|
void | init_scaler (VideoInterface &self) noexcept |
| |
|
void | load_packet_in_frame (const AVPacket &packet, AVFrame &frame) |
| |
|
ReadFrame | read_one_frame (AVPacket &packet) |
| |
|
ReadFrame | read_one_frame_raw (AVPacket &packet) |
| |
|
ReadFrame | read_one_frame_avcodec (AVPacket &packet) |
| |
|
|
std::string | filePath |
| |
|
AVCodecID | codec_id = AV_CODEC_ID_NONE |
| |
|
double | fps {} |
| |
|
bool | realTime {} |
| |
|
double | flicks_per_dts {} |
| |
|
double | dts_per_flicks {} |
| |
|
int | width {} |
| |
|
int | height {} |
| |
|
AVPixelFormat | pixel_format = AVPixelFormat(-1) |
| |
|
AVPixelFormat | hwaccel_sw_format = AVPixelFormat(-1) |
| |
|
AVColorRange | color_range = AVColorRange(-1) |
| |
|
AVColorPrimaries | color_primaries = AVColorPrimaries(-1) |
| |
|
AVColorTransferCharacteristic | color_trc = AVColorTransferCharacteristic(-1) |
| |
|
AVColorSpace | color_space = AVColorSpace(-1) |
| |
|
AVChromaLocation | chroma_location = AVChromaLocation(-1) |
| |
|
AVMasteringDisplayMetadata | mastering_display {} |
| |
|
std::optional< AVContentLightMetadata > | content_light {} |
| |
|
OutputFormat | output_format = ::Video::OutputFormat::SDR |
| |
|
Tonemap | tonemap = ::Video::Tonemap::Auto |
| |
|
DecoderConfiguration | m_conf |
| |
|
AVFormatContext * | m_formatContext {} |
| |
|
AVStream * | m_avstream {} |
| |
|
const AVCodec * | m_codec {} |
| |
|
AVCodecContext * | m_codecContext {} |
| |
|
FrameQueue | m_frames |
| |
|
Rescale | m_rescale |
| |
|
bool | m_finished {} |
| |
◆ dequeue_frame()
| AVFrame * Video::CameraInput::dequeue_frame |
( |
| ) |
|
|
overridevirtualnoexcept |
◆ notifyFormatChange()
| bool Video::CameraInput::notifyFormatChange |
( |
int |
new_w, |
|
|
int |
new_h, |
|
|
AVPixelFormat |
new_pixfmt |
|
) |
| |
|
overridevirtualnoexcept |
◆ release_frame()
| void Video::CameraInput::release_frame |
( |
AVFrame * |
frame | ) |
|
|
overridevirtualnoexcept |
◆ start()
| bool Video::CameraInput::start |
( |
| ) |
|
|
overridevirtualnoexcept |
◆ stop()
| void Video::CameraInput::stop |
( |
| ) |
|
|
overridevirtualnoexcept |
The documentation for this class was generated from the following files: