lp:libv4l

Created by libv4l on 2010-07-13 and last modified on 2019-06-14
Get this branch:
bzr branch lp:libv4l

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
libv4l
Project:
libv4l v4l-utils
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://linuxtv.org/v4l-utils.git.

The next import is scheduled to run in 1 hour.

Last successful import was 4 hours ago.

Import started 4 hours ago on izar and finished 4 hours ago taking 20 seconds — see the log
Import started 10 hours ago on izar and finished 10 hours ago taking 15 seconds — see the log
Import started 16 hours ago on alnitak and finished 16 hours ago taking 15 seconds — see the log
Import started 22 hours ago on alnitak and finished 22 hours ago taking 15 seconds — see the log
Import started on 2019-06-17 on izar and finished on 2019-06-17 taking 15 seconds — see the log
Import started on 2019-06-17 on izar and finished on 2019-06-17 taking 15 seconds — see the log
Import started on 2019-06-17 on alnitak and finished on 2019-06-17 taking 15 seconds — see the log
Import started on 2019-06-16 on izar and finished on 2019-06-16 taking 15 seconds — see the log
Import started on 2019-06-16 on alnitak and finished on 2019-06-16 taking 15 seconds — see the log
Import started on 2019-06-16 on alnitak and finished on 2019-06-16 taking 20 seconds — see the log

Recent revisions

4186. By Hans Verkuil <email address hidden> on 2019-06-14

v4l2-compliance: check V4L2_BUF_FLAG_TIMECODE as well

For compressed formats also check V4L2_BUF_FLAG_TIMECODE
for m2m devices. Also show the output buffer flags when
--verbose was specified.

Signed-off-by: Hans Verkuil <email address hidden>

4185. By Hans Verkuil <email address hidden> on 2019-06-14

v4l2-compliance: add timeout when waiting for event

The test for the stateful decoder that checks for a SOURCE_CHANGE
event when you start streaming needs to wait for up to one second
before calling dqevent. Otherwise the HW may not have had the
chance yet to raise this event.

So use select() to wait for an exception with a 1s timeout.

Reported-by: Stanimir Varbanov <email address hidden>
Signed-off-by: Hans Verkuil <email address hidden>

4184. By Hans Verkuil <email address hidden> on 2019-06-14

v4l-utils: Fix shifting signed 32-bit value by 31 bits problem

Use 1U << 31 instead of 1 << 31 to avoid the 'shifting a signed
32-bit value by 31 bits problem' where the result is compiler dependent.

Signed-off-by: Hans Verkuil <email address hidden>

4183. By Hans Verkuil <email address hidden> on 2019-06-13

v4l2-compliance: fix S_SELECTION tests

If a driver doesn't implement S_SELECTION, then these tests return
ENOTTY instead of EINVAL. So just checking against EINVAL isn't
good enough.

Signed-off-by: Hans Verkuil <email address hidden>

4182. By Hans Verkuil <email address hidden> on 2019-06-13

v4l-stream.c: add missing copy_cap_to_ref() and fix state

The fwht decoder part was missing the copy_cap_to_ref(): this copies
the decoded frame back to the internal reference frame. This used to
be done in the fwht decoder itself in the past, but after adding
stateless decoder support to vicodec this step was split off into
a separate function.

Also update the state structure initialization: it didn't set
ref_stride and was missing support for 1 or 4 components.

Signed-off-by: Hans Verkuil <email address hidden>

4181. By Hans Verkuil <email address hidden> on 2019-06-12

test-media: add vicodec tests

Add vicodec tests.

Signed-off-by: Hans Verkuil <email address hidden>

4180. By Hans Verkuil <email address hidden> on 2019-06-12

v4l2-compliance: add stateful decoder tests

Add tests for stateful decoders.

Signed-off-by: Hans Verkuil <email address hidden>

4179. By Hans Verkuil <email address hidden> on 2019-06-12

v4l2-compliance: test two stateful encoder corner cases

1) No buffers are queued on either vb2_queue, but STREAMON is called
   for both queues. The next capture buffer queued should return empty
   with FLAG_LAST set.

2) The CAPTURE queue contains buffers, the OUTPUT queue does not. Now
   ENC_CMD_STOP. Check that the dequeued capture buffer is empty and
   has FLAG_LAST set.

Signed-off-by: Hans Verkuil <email address hidden>

4178. By Hans Verkuil <email address hidden> on 2019-06-12

v4l2-compliance: improve codec command tests

The tests for the VIDIOC(_TRY)_EN/DECODER_CMD ioctls were not quite
in accordance to the spec. Update the tests.

Signed-off-by: Hans Verkuil <email address hidden>

4177. By Hans Verkuil <email address hidden> on 2019-06-12

v4l2-compliance: check stateful encoder format handling

Add tests to check that after setting the output format
the capture format is updated and that the crop rectangle
is set correctly.

Also warn if the output supports composition and fail if
the capture has crop or composition support.

Signed-off-by: Hans Verkuil <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers