|
static const char * | TranslatePixelFormat (AVPixelFormat format) |
| Translate a pixel format to a string suitable for logging.
|
|
static const char * | TranslateScalingMethod (SCALINGMETHOD scalingMethod) |
| Translate a scaling method to a string suitable for logging.
|
|
static unsigned int | TranslateWidthToBytes (unsigned int width, AVPixelFormat format) |
| Translate a width in pixels to a width in bytes. More...
|
|
◆ 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:
- xbmc/cores/RetroPlayer/rendering/RenderTranslator.h
- xbmc/cores/RetroPlayer/rendering/RenderTranslator.cpp