e7b7a311f7
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>
34 lines
691 B
C++
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
|