Skip to content

Commit

Permalink
Add some pod information for additional functions
Browse files Browse the repository at this point in the history
  • Loading branch information
timlegge authored and mchehab committed May 29, 2022
1 parent c1bf012 commit b5bcc1b
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 1 deletion.
5 changes: 4 additions & 1 deletion perl/ZBar/Image.pod
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,16 @@ Return/specify the raw image data as a binary string.
Return a list of scanned Barcode::ZBar::Symbol results attached to
this image.

=item convert_resize(I<format>, I<width>, I<height>)

=item convert(I<format>)

Return a new Barcode::ZBar::Image object converted to the indicated
fourcc format. Returns C<undef> if the conversion is not supported.
Conversion complexity ranges from CPU intensive to trivial depending
on the formats involved. Note that only a few conversions retain
color information.
color information. convert actually calls convert_resize using the
source width and height.

=back

Expand Down
4 changes: 4 additions & 0 deletions perl/ZBar/ImageScanner.pod
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ convert from other supported formats to Y800 before scanning.

Enable the inter-image result consistency cache.

=item set_config(I<symbology>, I<config>, I<value>)

Set config for indicated symbology (0 for all) to specified value.

=item parse_config(I<configstr>)

Apply a decoder configuration setting. See the documentation for
Expand Down
10 changes: 10 additions & 0 deletions perl/ZBar/Processor.pod
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,16 @@ Request a preferred size for the video image from the device. The
request may be adjusted or completely ignored by the driver. Must be
called before C<init()>

=item force_format(I<input>, I<output>)

force specific input and output formats for debug/testing.

=item set_config(I<symbology>, I<config>, I<value>)

Set config for indicated symbology (0 for all) to specified value.
@returns 0 for success, non-0 for failure (config does not apply to
specified symbology, or value out of range)

=back

=head1 SEE ALSO
Expand Down
15 changes: 15 additions & 0 deletions perl/ZBar/Symbol.pod
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,21 @@ indication of symbol orientation.
Components of a composite result. This yields an array of physical
component symbols that were combined to form a composite result.

=item get_configs()

Retrieve symbology boolean config settings. Returns a bitmask
indicating which configs were set for the detected
symbology during decoding.

=item get_modifiers()

Retrieve symbology modifier flag settings. Returns a bitmask
indicating which characteristics were detected during decoding.

=item get_loc()

Retrieve an array of symbol location points (x,y)

=over 2

=item *
Expand Down

0 comments on commit b5bcc1b

Please sign in to comment.