summaryrefslogtreecommitdiff
path: root/include/linux/media.h
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2020-07-28 13:23:08 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-10-21 16:15:40 +0100
commitf4c234579bc24237a2c860901be958aea3debb8a (patch)
treef5cdc36e6be06d980aa4bc661d511b23856459ec /include/linux/media.h
parentbb27fbf253ecbcba9046bc69b94a2c0152137aad (diff)
libcamera: thread: Prevent shadowing of signal name
The Thread::wait() function creates a boolean flag 'finished' which shadows the internal member signal of the same name. Rename the boolean flag to prevent confusion and shadowing of the signal. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'include/linux/media.h')
0 files changed, 0 insertions, 0 deletions
eSink::~FrameSink() { } int FrameSink::configure([[maybe_unused]] const libcamera::CameraConfiguration &config) { return 0; } void FrameSink::mapBuffer([[maybe_unused]] libcamera::FrameBuffer *buffer) { } int FrameSink::start() { return 0; } int FrameSink::stop() { return 0; } /** * \fn FrameSink::processRequest() * \param[in] request The request * * This function is called to instruct the sink to process a request. The sink * may process the request synchronously or queue it for asynchronous * processing. * * When the request is processed synchronously, this function shall return true. * The \a request shall not be accessed by the FrameSink after the function * returns. * * When the request is processed asynchronously, the FrameSink temporarily takes * ownership of the \a request. The function shall return false, and the * FrameSink shall emit the requestProcessed signal when the request processing * completes. If the stop() function is called before the request processing * completes, it shall release the request synchronously. * * \return True if the request has been processed synchronously, false if * processing has been queued */