#include <StreamUtils.h>
 | 
| static int  | GetCodecPriority (const std::string &codec) | 
|   | 
| static constexpr uint32_t  | MakeFourCC (char c1, char c2, char c3, char c4) | 
|   | Make a FourCC code as unsigned integer value.  
  | 
|   | 
| static std::string  | GetCodecName (int codecId, int profile) | 
|   | Get the codec name translated from ffmpeg codec id and profile.  
  | 
|   | 
| static std::string  | GetDefaultLayout (unsigned int channels) | 
|   | Return a default channel layout in x.y.z form for a channel count.  
  | 
|   | 
| static std::string  | GetLayout (unsigned int channels) | 
|   | Return a default channel layout for a channel count or localized count of channels when no default exists.  
  | 
|   | 
◆ GetCodecName()
  
  
      
        
          | std::string StreamUtils::GetCodecName  | 
          ( | 
          int |           codecId,  | 
         
        
           | 
           | 
          int |           profile ) | 
         
       
   | 
  
static   | 
  
 
Get the codec name translated from ffmpeg codec id and profile. 
- Parameters
 - 
  
    | codecId | The ffmpeg codec id  | 
    | profile | The ffmpeg codec profile  | 
  
   
- Returns
 - The codec name 
 
 
 
◆ GetCodecPriority()
  
  
      
        
          | int StreamUtils::GetCodecPriority  | 
          ( | 
          const std::string & |           codec | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
◆ GetDefaultLayout()
  
  
      
        
          | std::string StreamUtils::GetDefaultLayout  | 
          ( | 
          unsigned int |           channels | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Return a default channel layout in x.y.z form for a channel count. 
- Parameters
 - 
  
    | [in] | channels | the count of channels  | 
  
   
- Returns
 - the default layout 
 
 
 
◆ GetLayout()
  
  
      
        
          | std::string StreamUtils::GetLayout  | 
          ( | 
          unsigned int |           channels | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Return a default channel layout for a channel count or localized count of channels when no default exists. 
- Parameters
 - 
  
    | [in] | channels | the count of channels  | 
  
   
- Returns
 - the layout 
 
 
 
◆ MakeFourCC()
  
  
      
        
          | static constexpr uint32_t StreamUtils::MakeFourCC  | 
          ( | 
          char |           c1,  | 
         
        
           | 
           | 
          char |           c2,  | 
         
        
           | 
           | 
          char |           c3,  | 
         
        
           | 
           | 
          char |           c4 ) | 
         
       
   | 
  
inlinestaticconstexpr   | 
  
 
Make a FourCC code as unsigned integer value. 
- Parameters
 - 
  
    | c1 | The first FourCC char  | 
    | c2 | The second FourCC char  | 
    | c3 | The third FourCC char  | 
    | c4 | The fourth FourCC char  | 
  
   
- Returns
 - The FourCC as unsigned integer value 
 
 
 
The documentation for this class was generated from the following files: