V4L2 driver Overlay - Raspberry Pi Forums


hi,

i'm using zbar v4l2 driver scan barcodes raspberry pi similar example in first post in thread: viewtopic.php?f=32&t=109679.

unfortunately, overlay on hdmi-screen has offset of 150/50px top-left corner.

when try

code: select all

v4l2-ctl --get-fmt-overlay

code: select all

format video overlay:         left/top    : 150/50         width/height: 1024/768         field       : none         chroma key  : 0x00000000         global alpha: 0x00         clip count  : 0         clip bitmap : no 
this, of course, explains offset.
however, when

code: select all

v4l2-ctl --set-fmt-overlay=left=0,top=0
,

code: select all

v4l2-ctl --get-fmt-overlay
again, none of values has changed.

suggestions?

in advance,
michael

sorry, not supported @ moment. half plumbing there, not of it.

should looking @ https://github.com/raspberrypi/linux/bl ... era.c#l677 vidioc_try_fmt_vid_overlay() should validate overlay region, clip necessary, , adopt settings. instead "clips" current settings , ignores specified :(
defaults specified @ https://github.com/raspberrypi/linux/bl ... ra.c#l1717. require rebuild kernel though - not tricky, , if felt challenge add support appreciated others. meant open source software about!


raspberrypi



Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support