encounter touchgfx build problem, giving up for now
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
#ifndef TOUCHGFX_DIRECTFRAMEBUFFERVIDEOCONTROLLER_HPP
|
||||
#define TOUCHGFX_DIRECTFRAMEBUFFERVIDEOCONTROLLER_HPP
|
||||
|
||||
#include <touchgfx/transforms/DisplayTransformation.hpp>
|
||||
#include <touchgfx/widgets/VideoWidget.hpp>
|
||||
#include <simulator/video/MJPEGDecoder.hpp>
|
||||
#include <string.h>
|
||||
@ -226,7 +227,8 @@ public:
|
||||
if (mjpegDecoders[handle]->hasVideo())
|
||||
{
|
||||
uint8_t* wbuf = (uint8_t*)touchgfx::HAL::getInstance()->lockFrameBuffer();
|
||||
const touchgfx::Rect& absolute = widget.getAbsoluteRect();
|
||||
touchgfx::Rect absolute = widget.getAbsoluteRect();
|
||||
DisplayTransformation::transformDisplayToFrameBuffer(absolute);
|
||||
|
||||
// Get frame buffer pointer to upper left of widget in framebuffer coordinates
|
||||
switch(output_format)
|
||||
|
||||
Reference in New Issue
Block a user