MCPcopy Create free account
hub / github.com/BabitMF/bmf / process

Method process

bmf/python/tests/test_module_functor.py:45–54  ·  view source on GitHub ↗
(self, task)

Source from the content-addressed store, hash-verified

43 super().__init__(node=node, option=option)
44
45 def process(self, task):
46 pkt = task.pop_packet_from_input_queue(0)
47 vf = pkt.get(bmf.VideoFrame)
48 info = {
49 'width': vf.width,
50 'height': vf.height,
51 }
52
53 task.fill_output_packet(0, bmf.Packet(info))
54 return 0
55
56
57def test_make_sync_func():

Callers

nothing calls this directly

Calls 3

fill_output_packetMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected