MediaX v1.0.0rc7 [7e6cb74]
Video streaming for military vehicles
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
QtRtpVaapiH264Depayloader.h
Go to the documentation of this file.
1//
2// Copyright (c) 2025, Astute Systems PTY LTD
3//
4// This file is part of the VivoeX project developed by Astute Systems.
5//
6// Licensed under the Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
7// License. See the LICENSE file in the project root for full license details.
8//
14
15#ifndef QT6_QTRTPVAAPIH264DEPAYLOADER_H_
16#define QT6_QTRTPVAAPIH264DEPAYLOADER_H_
17
18#include <QByteArray>
19#include <QObject>
20#include <QVector>
21
24
25namespace mediax::qt6 {
26
29 Q_OBJECT
30
31 public:
37 explicit QtRtpVaapiH264Depayloader(QObject *parent = nullptr);
38
44 Q_INVOKABLE void setStreamInfo(const mediax::rtp::StreamInformation &stream_information) final;
45
51 Q_INVOKABLE bool open() final;
52
57 Q_INVOKABLE void start() final;
58
63 Q_INVOKABLE void stop() final;
64
69 Q_INVOKABLE void close() final;
70
77 Q_INVOKABLE bool receive(QByteArray *frame, int timeout = 0) final;
78
83 Q_INVOKABLE QVector<quint8> getBuffer() final;
84
89 Q_INVOKABLE mediax::rtp::StreamState getState() const final;
90
91 private:
94};
95
96} // namespace mediax::qt6
97
98#endif // QT6_QTRTPVAAPIH264DEPAYLOADER_H_
RTP streaming video class for uncompressed DEF-STAN 00-82 video streams.
A RTP depayloader base class.
Definition QtRtpDepayloader.h:27
A RTP depayloader for H.264 DEF-STAN 00-82 video streams.
Definition QtRtpVaapiH264Depayloader.h:28
Q_INVOKABLE mediax::rtp::StreamState getState() const final
Get the State object.
Definition QtRtpVaapiH264Depayloader.cc:68
Q_INVOKABLE void close() final
Close the RTP stream.
Definition QtRtpVaapiH264Depayloader.cc:50
Q_INVOKABLE void stop() final
Stop the RTP stream.
Definition QtRtpVaapiH264Depayloader.cc:48
Q_INVOKABLE void start() final
Start the RTP stream.
Definition QtRtpVaapiH264Depayloader.cc:46
mediax::rtp::h264::gst::vaapi::RtpH264GstVaapiDepayloader m_depayloader
The underlying RTP H.264 depayloader.
Definition QtRtpVaapiH264Depayloader.h:93
Q_INVOKABLE bool receive(QByteArray *frame, int timeout=0) final
Receive a frame from the RTP stream.
Definition QtRtpVaapiH264Depayloader.cc:52
Q_INVOKABLE QVector< quint8 > getBuffer() final
Get the Buffer object.
Definition QtRtpVaapiH264Depayloader.cc:61
Q_INVOKABLE bool open() final
Open the RTP stream.
Definition QtRtpVaapiH264Depayloader.cc:44
Q_INVOKABLE void setStreamInfo(const mediax::rtp::StreamInformation &stream_information) final
Set the Stream Info object.
Definition QtRtpVaapiH264Depayloader.cc:23
A RTP payloader for H.264 DEF-STAN 00-82 video streams.
Definition rtp_h264_depayloader.h:31
The Qt wrappers namespace.
Definition QtRtpAv1Depayloader.cc:19
StreamState
The stream state.
Definition rtp_depayloader.h:34
Struct capturing all stream information.
Definition rtp_types.h:223
RTP streaming video class for H.264 DEF-STAN 00-82 video streams using Intel VAAPI.