Remove Qt dependencies inside PlaYUVerFrame: one step closer to define PlaYUVerLib
This commit is contained in:
1 parent
dfa2c92a9a
commit
1b84cbb18a
9 files changed
+33
-29
No files matched your search
@@ -40,15 +40,15 @@
|
||||
namespace plaYUVer
|
||||
{
|
||||
|
||||
QStringList PlaYUVerFrame::supportedPixelFormatListNames()
|
||||
std::vector<std::string> PlaYUVerFrame::supportedPixelFormatListNames()
|
||||
{
|
||||
QStringList formats;
|
||||
std::vector<std::string> formatsList;
|
||||
Int numberFormats = PLAYUVER_NUMBER_FORMATS;
|
||||
for( Int i = 0; i < numberFormats; i++ )
|
||||
{
|
||||
formats << g_PlaYUVerFramePelFormatsList[i].name;
|
||||
formatsList.push_back( g_PlaYUVerFramePelFormatsList[i].name );
|
||||
}
|
||||
return formats;
|
||||
return formatsList;
|
||||
}
|
||||
|
||||
PlaYUVerFrame::PlaYUVerFrame( UInt width, UInt height, Int pel_format )
|
||||
|
||||
Reference in new issue
Block a user