Merge branch 'devel' into features_recentfilelist
This commit is contained in:
commit
fdc4d8b923
4 files changed
+40
-23
No files matched your search
@@ -1,6 +1,7 @@
|
||||
plaYUVer
|
||||
PlaYUVer - Enhanced raw video player
|
||||
========
|
||||
|
||||
|
||||
plaYUVer is an open-source video player with the following features:
|
||||
- Support for libavformat and libavcodec;
|
||||
- Support for wide range of raw video formats;
|
||||
@@ -8,21 +9,24 @@ plaYUVer is an open-source video player with the following features:
|
||||
- Advanced frame zoom with easy to use pan function
|
||||
- Usefull information in status bar, *e.g.*, pixel information
|
||||
- Usefull sidebars with stream and frame information, *e.g.*, frame histogram
|
||||
- Constant growing libs for stream and frame processing (PlaYUVerStream PlaYUVerFrame)
|
||||
- Advanced API for frame/video processing algorithms
|
||||
|
||||
Builds
|
||||
----------------------------------------------------------------
|
||||
Download update build for windows and linux from our <a href="https://sourceforge.net/projects/playuver/">SourceForge project page</a>
|
||||
- Frame level quality measurement API based on the PlaYUVerFrame class
|
||||
|
||||
|
||||
Developers
|
||||
----------------------------------------------------------------
|
||||
|
||||
- Joao Carreira (jfmcarreira@gmail.com)
|
||||
- Luis Lucas (luisfrlucas@gmail.com)
|
||||
- Luis Lucas (luisfrlucas@gmail.com)
|
||||
|
||||
|
||||
Install using cmake
|
||||
Builds
|
||||
----------------------------------------------------------------
|
||||
Download update build for windows and linux from our <a href="https://sourceforge.net/projects/playuver/">SourceForge project page</a>
|
||||
|
||||
|
||||
Build/Install using cmake
|
||||
----------------------------------------------------------------
|
||||
|
||||
1. The following are required for compilation:
|
||||
|
||||
+4
-3
@@ -70,7 +70,7 @@ IF( WIN32 )
|
||||
|
||||
SET(CPACK_GENERATOR "ZIP")
|
||||
SET(OS "Windows")
|
||||
|
||||
SET(GIT_BRANCH "devel") # temp work around
|
||||
#EXECUTE_PROCESS(COMMAND "cmd" " /C date /T" OUTPUT_VARIABLE ${DAY})
|
||||
#string(REGEX REPLACE "(..)/(..)/..(..).*" "\\1/\\2/\\3" ${DAY} ${${DAY}})
|
||||
|
||||
@@ -93,8 +93,9 @@ IF( PLAYUVER_LONGVERSIONNAME )
|
||||
SET( PACKAGE_FILE_NAME ${CPACK_PACKAGE_FILE_NAME} )
|
||||
ELSE()
|
||||
# message(STATUS ${GIT_BRANCH} )
|
||||
STRING(REPLACE "master" "stable" __version_name_deb ${GIT_BRANCH} )
|
||||
STRING(REPLACE "devel" "latest" __version_name_deb ${GIT_BRANCH} )
|
||||
SET( __version_name_deb ${GIT_BRANCH} )
|
||||
STRING(REPLACE "master" "stable" __version_name_deb ${__version_name_deb} )
|
||||
STRING(REPLACE "devel" "latest" __version_name_deb ${__version_name_deb} )
|
||||
message(STATUS ${GIT_BRANCH} )
|
||||
SET( CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${__version_name_deb}${APPEND_VERSION}-${OS}-${CPACK_PACKAGE_ARCHITECTURE}" )
|
||||
SET( PACKAGE_FILE_NAME ${CPACK_PACKAGE_FILE_NAME} )
|
||||
|
||||
@@ -886,7 +886,7 @@ Void plaYUVerApp::updatePixelValueStatusBar( const QPoint & pos, PlaYUVerFrame*
|
||||
Void plaYUVerApp::dragEnterEvent( QDragEnterEvent *event )
|
||||
{
|
||||
//setText(tr("<drop content>"));
|
||||
setBackgroundRole( QPalette::Highlight );
|
||||
mdiArea->setBackgroundRole( QPalette::Highlight );
|
||||
event->acceptProposedAction();
|
||||
}
|
||||
|
||||
@@ -1277,7 +1277,7 @@ Void plaYUVerApp::createMenus()
|
||||
m_arrayMenu[DOCK_VIEW_MENU] = createPopupMenu();
|
||||
if( m_arrayMenu[DOCK_VIEW_MENU] )
|
||||
{
|
||||
actionPopupMenu = m_arrayMenu[VIEW_MENU]->addMenu( m_arrayMenu[DOCK_VIEW_MENU] );
|
||||
QAction *actionPopupMenu = m_arrayMenu[VIEW_MENU]->addMenu( m_arrayMenu[DOCK_VIEW_MENU] );
|
||||
actionPopupMenu->setText( tr( "&Toolbars/Docks" ) );
|
||||
}
|
||||
|
||||
|
||||
+23
-11
@@ -62,7 +62,9 @@ protected:
|
||||
|
||||
private Q_SLOTS:
|
||||
|
||||
//! File functions
|
||||
/**
|
||||
* File functions slots
|
||||
*/
|
||||
void open();
|
||||
void save();
|
||||
void format();
|
||||
@@ -72,7 +74,9 @@ private Q_SLOTS:
|
||||
void closeActiveWindow();
|
||||
void closeAll();
|
||||
|
||||
//! Playing functions
|
||||
/**
|
||||
* Playing functions slots
|
||||
*/
|
||||
void play();
|
||||
void pause();
|
||||
void stop();
|
||||
@@ -95,13 +99,10 @@ private Q_SLOTS:
|
||||
void normalSize();
|
||||
void zoomToFit();
|
||||
|
||||
//! Show a message box with some information about the plaYUVerApp App
|
||||
void about();
|
||||
|
||||
void chageSubWindowSelection();
|
||||
void updateWindowMenu();
|
||||
|
||||
//! Drag and drop functions
|
||||
void updateWindowMenu();s
|
||||
void dragEnterEvent( QDragEnterEvent *event );
|
||||
void dropEvent( QDropEvent *event );
|
||||
|
||||
@@ -135,7 +136,7 @@ private:
|
||||
QPainter painter( viewport() );
|
||||
QSize logoSize = 2 * size() / 3;
|
||||
|
||||
QPixmap pixFinalLogo = m_pixmapLogo.scaled(logoSize,Qt::KeepAspectRatio);
|
||||
QPixmap pixFinalLogo = m_pixmapLogo.scaled( logoSize, Qt::KeepAspectRatio );
|
||||
|
||||
// Calculate the logo position - the bottom right corner of the mdi area.
|
||||
int x = width() / 2 - pixFinalLogo.width() / 2;
|
||||
@@ -143,11 +144,9 @@ private:
|
||||
painter.drawPixmap( x, y, pixFinalLogo );
|
||||
}
|
||||
private:
|
||||
// Store the logo image.
|
||||
QPixmap m_pixmapLogo;
|
||||
};
|
||||
|
||||
//QMdiArea *mdiArea;
|
||||
PlaYUVerMdiArea *mdiArea;
|
||||
SubWindowHandle *m_pcCurrentSubWindow;
|
||||
ModulesHandle *m_pcModulesHandle;
|
||||
@@ -165,7 +164,9 @@ private:
|
||||
|
||||
Void zoomToFitAll();
|
||||
|
||||
//! Playing functions
|
||||
/**
|
||||
* Playing functions
|
||||
*/
|
||||
UInt64 getMaxFrameNumber();
|
||||
Void startPlay();
|
||||
Void setTimerStatus();
|
||||
@@ -196,6 +197,8 @@ private:
|
||||
QLabel *m_pcTotalFrameNumLabel;
|
||||
QDoubleSpinBox *m_pcZoomFactorSBox;
|
||||
|
||||
|
||||
|
||||
QSignalMapper *mapperZoom;
|
||||
QSignalMapper *mapperSeekVideo;
|
||||
QSignalMapper *mapperWindow;
|
||||
@@ -220,6 +223,9 @@ private:
|
||||
};
|
||||
QVector<QMenu*> m_arrayMenu;
|
||||
|
||||
/**
|
||||
* Array of side bars for the main app
|
||||
*/
|
||||
enum SIDEBAR_LIST
|
||||
{
|
||||
STREAM_DOCK = 0,
|
||||
@@ -233,6 +239,9 @@ private:
|
||||
FramePropertiesSideBar* m_pcFrameProperties;
|
||||
QualityMeasurementSidebar* m_pcQualityMeasurement;
|
||||
|
||||
/**
|
||||
* Array of tool bars for the main app
|
||||
*/
|
||||
enum TOOLBAR_LIST
|
||||
{
|
||||
FILE_TOOLBAR = 0,
|
||||
@@ -242,6 +251,9 @@ private:
|
||||
};
|
||||
QVector<QToolBar*> m_arrayToolBars;
|
||||
|
||||
/**
|
||||
* Array of actions for the main app
|
||||
*/
|
||||
enum APP_ACTION_LIST
|
||||
{
|
||||
OPEN_ACT = 0,
|
||||
@@ -278,7 +290,7 @@ private:
|
||||
TOTAL_ACT,
|
||||
};
|
||||
QVector<QAction*> m_arrayActions;
|
||||
QAction *actionPopupMenu;
|
||||
//QAction *actionPopupMenu;
|
||||
|
||||
// Tools Actions;
|
||||
QActionGroup *actionGroupTools;
|
||||
|
||||
Reference in new issue
Block a user