1.增加整机测试工厂信息输入; 2. 增加前后板连接后自动发送获取设备版本信息指令; 3. 优化UI布局代码
This commit is contained in:
@@ -38,8 +38,11 @@ public:
|
||||
explicit FFmpegDecoder(QObject* parent = nullptr);
|
||||
~FFmpegDecoder() override;
|
||||
|
||||
bool isStartVideo = false;
|
||||
|
||||
void initialize();
|
||||
void decodeFile(const QString& videoFilePath, QLabel* videoLabel, QLineEdit* VideoResolutionEdit);
|
||||
void decodeFile(const QString& videoFilePath, int isBackBoardOrAllBoard, QLabel* videoLabel, QLabel* videoDisplayLabel_back,
|
||||
QLineEdit* VideoResolutionEdit, QLineEdit* VideoResolutionEdit_back);
|
||||
void decodeSingleFrame(const QByteArray& data, QLabel* videoLabel); // 添加 videoLabel 参数
|
||||
void FFmpegDecoder::processVideo(int itemIndex);
|
||||
bool initializeFFmpeg(const QString& filePath);
|
||||
@@ -56,12 +59,15 @@ private:
|
||||
QWaitCondition condition;
|
||||
QString filePath;
|
||||
QLabel* videoLabel;
|
||||
QLabel* videoLabel_back;
|
||||
QLabel* videoLabelTemp; // 临时存储新标签
|
||||
QLineEdit* resolutionEdit;
|
||||
QLineEdit* resolutionEdit_back;
|
||||
bool videoLabelChanged = false;
|
||||
bool abort;
|
||||
bool restart;
|
||||
bool isGotResolution = false;
|
||||
int isBackBoardOrAllBoard = 0;
|
||||
|
||||
AVFormatContext* formatContext;
|
||||
AVCodecContext* codecContext;
|
||||
|
||||
Reference in New Issue
Block a user