After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 665109 - dc1394: source add fomat7 ROI (image roi position setting)
dc1394: source add fomat7 ROI (image roi position setting)
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-11-29 08:16 UTC by Simon
Modified: 2018-05-04 09:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mode7: use roi instead of imagesize only (5.20 KB, patch)
2011-11-29 08:16 UTC, Simon
needs-work Details | Review

Description Simon 2011-11-29 08:16:37 UTC
Created attachment 202353 [details] [review]
mode7: use roi instead of imagesize only

I already sent this to the mailinglist but i was told to post it here.

We patched the dc1394 plugin in order to use 
dc1394_format7_set_roi() instead of dc1394_format7_set_image_size()
and added the roi_top, roi_left to the caps.

with this modification it is possible to set the format 7 
window size AND the position of the window.

Example: 
- the camera can grab in 1280x768
- set window size to 640x480
- set roi_left=200, roi_top=200
-> the camera will grab the 640x480 region starting at 200,200

If the roi_* caps are not given, the window will be sampled at 0,0


- Simon
Comment 1 Sebastian Dröge (slomo) 2014-01-11 10:31:26 UTC
Can you update this to GStreamer 1.x? Also this API is not the right way to go, don't extend caps with arbitrary fields. Instead there should probably be properties for the roi.
Comment 2 Sebastian Dröge (slomo) 2018-05-04 09:51:19 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment.
Thanks!


Also for ROI there's a GstMeta now, which could be used in dc1394src