Resolve device selector on detach and add YuvStimProducer state tests.
Detach finds the shared producer via lcameraDev_resolveDeviceSelectorCReq then removes buffers by attach identity; unit tests cover quale guards. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#ifndef LCAMERA_BUFF_TESTS_HIL_SMO_CALLBACKS_STUB_H
|
||||
#define LCAMERA_BUFF_TESTS_HIL_SMO_CALLBACKS_STUB_H
|
||||
|
||||
#include <user/compute.h>
|
||||
#include <user/smoHooks.h>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
namespace lcamera_buff_tests {
|
||||
|
||||
const smo::stim_buff::SmoCallbacks& hilSmoCallbacksStub();
|
||||
|
||||
std::shared_ptr<smo::compute::ClBuffer> createUseHostPtrBufferStub(
|
||||
void* hostPtr,
|
||||
size_t size,
|
||||
cl_mem_flags flags);
|
||||
|
||||
} // namespace lcamera_buff_tests
|
||||
|
||||
#endif // LCAMERA_BUFF_TESTS_HIL_SMO_CALLBACKS_STUB_H
|
||||
Reference in New Issue
Block a user