Program: gdcm
Module: $RCSfile: gdcmTS.cxx,v $
Language: C++
- Date: $Date: 2005/04/21 07:40:00 $
- Version: $Revision: 1.44 $
+ Date: $Date: 2005/05/29 21:56:36 $
+ Version: $Revision: 1.46 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
{
if ( IsJPEGLossy( key )
|| IsJPEGLossless( key )
+ || IsJPEG2000( key )
)
{
r = true;
return r;
}
+/**
+ * \brief Determines if the Transfer Syntax corresponds to any form
+ * of MPEG encoded Pixel data.
+ * @return True when any form of MPEG found. False otherwise.
+ */
+bool TS::IsMPEG(TSKey const &key)
+{
+ bool r = false;
+ // First check this is an actual transfer syntax
+ if( IsTransferSyntax(key) )
+ {
+ if ( key == SpecialStrings[MPEG2MainProfile] )
+ {
+ r = true;
+ }
+ }
+ return r;
+}
+
/**
* \brief GetSpecialTransferSyntax ??
* @param key TSKey const &key ??