#include <GUIVideoDecoderMJPEG.h>
|
static const eC_UInt | LISTck = 0x5453494c |
| ID for list 'LIST'.
|
|
static const eC_UShort | STREAM0 = 0x3030 |
| ID for stream-no. 0 '00'.
|
|
static const eC_UShort | TYPEDC = 0x6364 |
| ID for Video-stream 'dc'.
|
|
◆ Decode()
virtual eC_Bool CGUIVideoDecoderMJPEG::Decode |
( |
CGUIVideoData & |
kImageData, |
|
|
eC_File * |
pTmpImgFile |
|
) |
| |
|
virtual |
Must be implemented in each derived class to decode an image.
- Parameters
-
kImageData | The decoded image has to be stored here by each derived implementation. |
pTmpImgFile | Pointer to image file to load. |
- Returns
- Implementations must return True if the image was decoded successfully, False if anything went wrong and the contents of kImageData are invalid.
Implements CGUIVideoDecoder.
◆ DecodeFrame()
virtual void CGUIVideoDecoderMJPEG::DecodeFrame |
( |
const eC_UByte *const |
pkData, |
|
|
const eC_UInt & |
uiLength, |
|
|
eC_UByte * |
pkDestination |
|
) |
| |
|
virtual |
Decode a single frame
- Parameters
-
pkData | pointer to data |
uiLength | length of frame |
pkDestination | destination-address |
Implements CGUIVideoDecoder.
◆ GetCurrentFrame()
eC_UInt CGUIVideoDecoderMJPEG::GetCurrentFrame |
( |
| ) |
const |
|
inline |
Get currently set frame
- Returns
- current frame
◆ SetBPP()
virtual void CGUIVideoDecoderMJPEG::SetBPP |
( |
const eC_UByte & |
ubBPP | ) |
|
|
virtual |
◆ SetDestinationFormat()
Set destination color-format. This will be used to convert the video data to the appropriate format.
- Parameters
-
Implements CGUIVideoDecoder.
The documentation for this class was generated from the following file: