#include <YUVGOPVector.hpp>
Public Types | |
enum | SortOrder { COMPR_BYTE_SIZE, PSNR, PSNR_DESC, PERFORMANCE, PERFORMANCE_DESC } |
Public Methods | |
void | setSortOrder (SortOrder s) |
virtual int | compareItems (QPtrCollection::Item x, QPtrCollection::Item y) |
Private Attributes | |
SortOrder | sortOrder |
|
Type definition for sort order. If the value ends with _DESC the sort order is descending otherwise ascending.
Definition at line 35 of file YUVGOPVector.hpp. |
|
Compares two items according to SortOrder that has been set with setSortOrder.
Definition at line 4 of file YUVGOPVector.cpp. References COMPR_BYTE_SIZE, YUVGOP::getCompressedByteSize(), YUVGOP::getPSNR(), PSNR, PSNR_DESC, and sortOrder. |
|
Sets the sort order.
Definition at line 36 of file YUVGOPVector.cpp. References sortOrder. |
|
Definition at line 56 of file YUVGOPVector.hpp. Referenced by compareItems(), and setSortOrder(). |