Major changes in ColorSpace Definition
Now color space is defined in PlaYUVerFrame New function to check if a pixel format is RGB or YUV or Gray or ARGB implemented
This commit is contained in:
1 parent
3754caa865
commit
518d68483a
5 files changed
+37
-16
No files matched your search
@@ -491,7 +491,7 @@ void plaYUVerApp::updatePixelValueStatusBar( const QPoint & pos, InputStream* st
|
||||
|
||||
if( ( posX < iWidth ) && ( posX >= 0 ) && ( posY < iHeight ) && ( posY >= 0 ) )
|
||||
{
|
||||
sPixelValue = curFrame->getPixelValue( pos, COLOR_YUV );
|
||||
sPixelValue = curFrame->getPixelValue( pos, PlaYUVerFrame::COLOR_YUV );
|
||||
strPixel = QString( "Y: %1 U: %2 V: %3" ).arg( sPixelValue.Luma ).arg( sPixelValue.ChromaU ).arg( sPixelValue.ChromaV );
|
||||
strStatus.append( strPixel );
|
||||
statusBar()->showMessage( strStatus, 0 );
|
||||
|
||||
Reference in new issue
Block a user