Age | Commit message (Collapse) | Author | Files | Lines |
|
Use the same standard of meta-tags as the ones used on
libdvbv5.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
Those static tables require an explicit call to gettext, and use
gettext_noop() approach for the strings themselves for them to be
seen by xgettext.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
Add translation tags at dvb-fe.c. Still missing the static vars
there. Not sure yet how to handle translations for those tables.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
We don't want to mix translations for utils with the ones
for the libraries. So, create a different dir for the
library translations.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
We want to be able to put the libraries on a different po domain.
So, let's first rename the po dir to "v4l-utils-po". Then, we can
create other dirs for each library.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
Without the init code, the translations won't happen.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
Now that xgettext is able to get those messages, add translations
to them.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
argp strings don't need gettext, as this is already called
internally.
All we need is to define a macro for xgettext to handle,
in order to allow detecting the strings used by argp.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
Now that xgettext is able to get those messages, add translations
to them.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
argp strings don't need gettext, as this is already called
internally.
All we need is to define a macro for xgettext to handle,
in order to allow detecting the strings used by argp.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
Add translation at the DVB tools for Brazilian Portuguese.
Please notice that this doesn't include translations inside the
library. This should happen on a separate patch.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
Add locale support for DVB tools.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
Start adding translations. First one is for keytable, for
pt_BR (Brazilian Portugues).
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
Still missing: what to do with the strings defined as constants
and used by argv?
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
Add the needed logic to work with international language
support. Generated via:
$ gettextize --copy --force --intl
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
v4l2-ctl-test-patterns.cpp is removed, but still listed in Android.mk.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Disable QTGL for qt5 because of qv4l2 crash on startup.
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
For some reason some compiler versions seem to dislike this:
struct v4l2_selection sel = {
.type = ...,
.target = ...,
};
Not sure why, but just revert to initialize the old-fashioned way.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Check against obviously bogus values (>= 0xff), and log these fields
if the format compare check fails.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
If a driver can capture video/vbi, then G/S/ENUM_INPUT must be
present. Ditto for output and G/S/ENUM_OUTPUT.
But if none of these were supported, then v4l2-compliance didn't
complain. Fix this.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Remove some items that have been done, and add some new items.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
These tests are fairly basic, but it's better than nothing.
Checking whether a driver supports scaling is way too complex today, this
is something that needs to be improved.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
If set, then you should be able to set the native size. If not set,
then that should result in an error.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Support the new colorspace functionality.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Support these new fields.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Get/set these new pix_format fields. Actually, flags isn't new, it just
was never support in these helpers.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
This introduces the colorspace API improvements.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
|
|
QGLFunctions were added only on qt version 4.8.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
Without this, build breaks when compiling a package for RHEL6,
with uses an older media stack.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
We're now packing the setup and data flags. Remove the duplicated
info that would otherwise just add two inexistent fields when
debug == 1.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
We can remove the first 8 bytes from libpcap packet, as they
seem to be used only with control endpoints (0x80).
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
Our YUV output is always 2x subsampled in both vertical and horizontal
direction, but some cameras generate JPEG data which is only subsampled in
the horizontal direction.
Since averaging the extra UV data these JPEGs contains is seomwhat slow,
and UV data is not all that important anyways, we simple take every other
line. Or at least that is the intent.
But before this commit the code was not doing this properly, for each 16
Y input lines 1 - 16 we also get 16 UV input lines 1 - 16, but we only need
8 output lines. so we should store input line 1 or 2 in output line 1, input
line 3 or 4 in output line 2, etc. Instead we were storing input lines
9 - 16 into output lines 1 - 8, which leads to some unwanted color bleeding.
More over this also leads for 1920x1080 JPEG to us writing (1080 / 8 + 1) / 2
* 8 = 544 UV output lines rather then 540, this means that the last 4 U output
lines overwrite the first 4 V output lines, and worse that the last 4 V output
lines overrun the output buffer.
So far this only lead to some wrong colors in various places, but since that
we dynamically allocate the output buffer to just the right size this actually
causes a crash.
This commit fixes both the crash, and the wrong colors.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
|
The DTMB properties are missing. Add them.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
Add more help and some extra options.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
hide-rd was not working. Also, hide-wr were also hiding read ops.
Fix them.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
We need to discard the packet headers when printing the length.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
Packet length is before the address.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
Test "ret == 0" and "ret < 0" as separate tests: the causes of each return
value are quite different (timeout vs error), so it is useful when debugging
if you can tell them apart without having to hack v4l2-test-buffers.cpp
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Do some cleanups at generic I2C handler.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
Adds the last remaining piece needed for the Kernel driver:
I2C read/write.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
This is useful to discover what protocol messages are not handled
yet.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
The header for data read is not quite the same as for write.
Change the code to properly handle it.
Also, add a check for sequence number validation, warning when a
received packet doesn't match the expected sequence number.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|
|
As before, add options to hide the I2C read and/or I2C write
parsing.
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
|