encounter touchgfx build problem, giving up for now

This commit is contained in:
2025-04-03 16:47:15 +02:00
parent 03a04019e2
commit 910810899c
506 changed files with 4724 additions and 5726 deletions

View File

@ -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)