MCPcopy Create free account
hub / github.com/apache/nuttx / sim_decoder_capture_available

Function sim_decoder_capture_available

arch/sim/src/sim/sim_decoder.c:228–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228static int sim_decoder_capture_available(void *priv)
229{
230 sim_decoder_t *sim_decoder = priv;
231
232 if (sim_decoder->capture_on == false)
233 {
234 return 0;
235 }
236
237 work_queue(HPWORK, &sim_decoder->work,
238 sim_decoder_work, sim_decoder, 0);
239
240 return 0;
241}
242
243static int sim_decoder_querycap(void *priv,
244 struct v4l2_capability *cap)

Callers

nothing calls this directly

Calls 1

work_queueFunction · 0.50

Tested by

no test coverage detected