~libv4l/libv4l/dev

Viewing all changes in revision 4182.

  • Committer: Hans Verkuil
  • Date: 2019-06-13 09:05:22 UTC
  • Revision ID: git-v1:d8058780826f02dc82a93f2ffba3c78e4b327e3a
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 <hverkuil-cisco@xs4all.nl>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: