Files
salmanoff/stimBuffApis/lcameraBuff/yuvCaptureLayout.h
T
hayodea e7b7a311f7 Add lcameraBuff Stage 2 plugin with YUV attach and unit tests.
Introduce params parsing, pixel/format decisions, capture layout, shared
YuvStimProducer per camera, and channel stimulus buffers with attach flow.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-14 11:03:19 -04:00

34 lines
691 B
C++

#ifndef LCAMERA_BUFF_YUV_CAPTURE_LAYOUT_H
#define LCAMERA_BUFF_YUV_CAPTURE_LAYOUT_H
#include <cameraModeRequest.h>
namespace smo {
namespace stim_buff {
namespace lcamera_buff {
enum class YuvCaptureLayoutPath
{
FullPlanarDirect,
SemiPlanarDeinterleave,
PackedDeinterleave,
};
enum class YuvChannelBackingPlan
{
LCameraDirect,
MmapDeinterleaved,
};
YuvCaptureLayoutPath classifyYuvCaptureLayoutPath(
const lcamera_dev::LcameraDevConfiguredCameraMode& configuredMode);
YuvChannelBackingPlan getChannelBackingPlanForLayoutPath(
YuvCaptureLayoutPath layoutPath);
} // namespace lcamera_buff
} // namespace stim_buff
} // namespace smo
#endif // LCAMERA_BUFF_YUV_CAPTURE_LAYOUT_H