diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2021-10-18 14:54:31 +0300 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-12-11 17:53:40 +0100 |
commit | db37335ee0ee78f7e5562a9617c1b4f17451fc3a (patch) | |
tree | e604b451f9a060b6b73b1efee2965b0527e2b9b2 /src/android/yuv/post_processor_yuv.cpp | |
parent | 6705596e29ef3b8d990ff5b851bf3338118198e6 (diff) |
libcamera: request: Make Request class Extensible
Implement the D-Pointer design pattern in the Request class to allow
changing internal data without affecting the public ABI.
Move the internal fields that are not needed to implement the public
API to the Request::Private class already. This allows to remove
the friend class declaration for the PipelineHandler class, which can
now use the Reques/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Copyright (C) 2022, Ideas on Board Oy
*
* sdl_texture_yuv.cpp - SDL YUV Textures
*/
#include "sdl_texture_yuv.h"
using namespace libcamera;
#if SDL_VERSION_ATLEAST(2, 0, 16)
SDLTextureNV12::SDLTextureNV12(const SDL_Rect &rect, unsigned int stride)
: