Loading...
Searching...
No Matches
LibavSettingsWidget.hpp
1#pragma once
2
3#include <Device/Protocol/ProtocolSettingsWidget.hpp>
4
5namespace Gfx
6{
8{
9public:
10 explicit LibavSettingsWidget(QWidget* parent = nullptr);
11
12 Device::DeviceSettings getSettings() const override;
13 void setSettings(const Device::DeviceSettings& settings) override;
14
15private:
16 void onDirectionChanged();
17 void onMuxerChanged();
18 void onVEncoderChanged();
19 void onAEncoderChanged();
20
21 QLineEdit* m_deviceNameEdit{};
22 QComboBox* m_direction{};
23 QStackedWidget* m_stack{};
24
25 // Input page widgets
26 QLineEdit* m_inPath{};
27 QPlainTextEdit* m_inOptions{};
28
29 // Output page widgets
30 QLineEdit* m_outPath{};
31 QSpinBox* m_width{};
32 QSpinBox* m_height{};
33 QSpinBox* m_rate{};
34 QSpinBox* m_audioChannels{};
35 QComboBox* m_muxer{};
36 QComboBox* m_vencoder{};
37 QComboBox* m_aencoder{};
38 QComboBox* m_pixfmt{};
39 QComboBox* m_smpfmt{};
40 QPlainTextEdit* m_outOptions{};
41 QPushButton* m_showOptions{};
42 QComboBox* m_inputTransfer{};
43 QLabel* m_validationLabel{};
44
45 Device::DeviceSettings m_settings;
46
47 void validateOutput();
48};
49}
Definition ProtocolSettingsWidget.hpp:27
Definition LibavSettingsWidget.hpp:8
Binds the rendering pipeline to ossia processes.
Definition CameraDevice.cpp:30
Definition DeviceSettings.hpp:20