#include <RenderTranslator.h>
◆ TranslatePixelFormat()
const char * CRenderTranslator::TranslatePixelFormat |
( |
AVPixelFormat | format | ) |
|
|
static |
Translate a pixel format to a string suitable for logging.
◆ TranslateScalingMethod()
const char * CRenderTranslator::TranslateScalingMethod |
( |
SCALINGMETHOD | scalingMethod | ) |
|
|
static |
Translate a scaling method to a string suitable for logging.
◆ TranslateWidthToBytes()
unsigned int CRenderTranslator::TranslateWidthToBytes |
( |
unsigned int | width, |
|
|
AVPixelFormat | format ) |
|
static |
Translate a width in pixels to a width in bytes.
- Parameters
-
width | The width in pixels |
format | The pixel format |
- Returns
- The width in bytes, or 0 if unknown
The documentation for this class was generated from the following files: