summaryrefslogtreecommitdiff
path: root/src/android/camera_stream.cpp
diff options
context:
space:
mode:
/* SPDX-License-Identifier: GPL-2.0-or-later *//* * Copyright (C) 2022, Ideas on Board Oy * * SDL Texture */#pragma once#include <vector>#include <SDL2/SDL.h>#include"../common/image.h"class SDLTexture {public:SDLTexture(const SDL_Rect &rect,uint32_t pixelFormat,const int stride);virtual~SDLTexture();intcreate(SDL_Renderer *renderer);virtualvoidupdate(conststd::vector<libcamera::Span<const uint8_t>> &data) =0; SDL_Texture *get()const{return ptr_; }protected: SDL_Texture *ptr_;const SDL_Rect rect_;const uint32_t pixelFormat_;const int stride_;};
authorPaul Elder <paul.elder@ideasonboard.com>2021-05-27 14:10:25 +0900
ojo doesn't recognize them, so they are different from the ones that it does recognize with the libcamera namespace), and so the ControlSerializer will not be passed to the serializer in the generated code. This is the cause of the FATAL breakage: FATAL IPADataSerializer ipa_data_serializer.cpp:437 ControlSerializer not provided for serialization of ControlInfoMap Since ControlInfoMap and ControlList are the only types that will run into this issue, we solve this by simply detecting if they are used without the prefix, and produce an error at that point in the code generator. As the code generator stage no longer has information on the source code file and line, we output the struct name in which the error was found (ninja will output the file name). Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/android/camera_stream.cpp')
0 files changed, 0 insertions, 0 deletions