| | |
| | |
|
| | | struct PL_Scale_Config
|
| | | {
|
| | | bool copyData;
|
| | |
|
| | | uint16_t toWidth;
|
| | | uint16_t toHeight;
|
| | | int filterMode; // libyuv/scale.h/FilterMode
|
| | |
| | | int defaultBytesType; // MBFT_YUV420 / MBFT_BGRA
|
| | | uint16_t defaultBytesWidth;
|
| | | uint16_t defaultBytesHeight;
|
| | | |
| | | PL_Scale_Config() : |
| | | toWidth(0), toHeight(0), filterMode(0), |
| | | defaultBytesType(0), defaultBytesWidth(0), defaultBytesHeight(0)
|
| | |
|
| | | PL_Scale_Config() :
|
| | | copyData(true),
|
| | | toWidth(0), toHeight(0), filterMode(0),
|
| | | defaultBytesType(0), defaultBytesWidth(0), defaultBytesHeight(0)
|
| | | { }
|
| | | };
|
| | |
|
| | |
| | |
|
| | | private:
|
| | | void* internal;
|
| | |
|
| | | static bool pay_breaker_MBFT(const PipeMaterial* pm, void* args);
|
| | | };
|
| | |
|
| | | PipeLineElem* create_PL_Scale();
|