Mailing List Archive

[PULL] http://linuxtv.org/hg/~awalls/cx18-feature
Mauro,

Please pull from http://linuxtv.org/hg/~awalls/cx18-feature

for the following 8 changesets:

01/08: cx18: Update MPEG Index stream buffers module option processing
http://linuxtv.org/hg/~awalls/cx18-feature?cmd=changeset;node=eb875b71908a

02/08: cx18: Encapsulate check for a stream being enabled into an inline function
http://linuxtv.org/hg/~awalls/cx18-feature?cmd=changeset;node=55c86b3e5a09

03/08: cx18: Fix TS and IDX stream buffer memory leak on module unload
http://linuxtv.org/hg/~awalls/cx18-feature?cmd=changeset;node=9c341b693fcd

04/08: cx18: Allow MPEG index streams to be started and stopped internally
http://linuxtv.org/hg/~awalls/cx18-feature?cmd=changeset;node=fc743523e7bd

05/08: cx18: Start IDX streams automatically as an internal associated stream
http://linuxtv.org/hg/~awalls/cx18-feature?cmd=changeset;node=e18e865270ea

06/08: cx18: Perform automatic rotation of very old, unread IDX buffers
http://linuxtv.org/hg/~awalls/cx18-feature?cmd=changeset;node=ee8c1c0eec7e

07/08: cx18: Add initial working VIDIOC_G_ENC_INDEX ioctl() support
http://linuxtv.org/hg/~awalls/cx18-feature?cmd=changeset;node=dcb3c59fab66

08/08: cx18: Clean up dead code from ivtv once used for IDX processing
http://linuxtv.org/hg/~awalls/cx18-feature?cmd=changeset;node=2b8531783c9d


cx18-driver.c | 33 ++++++--
cx18-driver.h | 40 ++++++---
cx18-fileops.c | 235 ++++++++++++++++++++++++++++-----------------------------
cx18-ioctl.c | 146 +++++++++++++++++++++++++++++++----
cx18-mailbox.c | 5 -
cx18-queue.c | 3
cx18-streams.c | 86 ++++++++++++++++----
cx18-streams.h | 10 ++
8 files changed, 384 insertions(+), 174 deletions(-)

These changes implement the VIDIOC_G_ENC_INDEX ioctl() for cx18 analog
capture of MPEG-2 PS, MPEG-2 DVD and similar streams. There are some
minor annoyances - the firmware appears to report everything is a
B-frame, and driver limitations mean one can't capture an index when
doing sliced VBI insertion - but the rest of it is working properly if
anyone would ever need to use it.

Oh, and I did find and fix a big memory leak (changeset 03/08) where all
the DMA buffers for the DVB TS and INDEX streams were being leaked on
module unload.

Thanks,
Andy


_______________________________________________
ivtv-devel mailing list
ivtv-devel@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-devel
[PULL] http://linuxtv.org/hg/~awalls/cx18-feature [ In reply to ]
On Thu, 2009-12-31 at 20:40 -0500, Andy Walls wrote:
> Mauro,
>
> Please pull from http://linuxtv.org/hg/~awalls/cx18-feature
>
> for the following 8 changesets:
[snip]
> These changes implement the VIDIOC_G_ENC_INDEX ioctl() for cx18 analog
> capture of MPEG-2 PS, MPEG-2 DVD and similar streams. There are some
> minor annoyances - the firmware appears to report everything is a
> B-frame, and driver limitations mean one can't capture an index when
> doing sliced VBI insertion - but the rest of it is working properly if
> anyone would ever need to use it.
>
> Oh, and I did find and fix a big memory leak (changeset 03/08) where all
> the DMA buffers for the DVB TS and INDEX streams were being leaked on
> module unload.

Mauro,

I'm adding one more patch to this pull request, since I have solved the
"I only get B frames indexed" problem. :)

Please pull from http://linuxtv.org/hg/~awalls/cx18-feature

for the following 9 changesets:

01/09: cx18: Update MPEG Index stream buffers module option processing
http://linuxtv.org/hg/~awalls/cx18-feature?cmd=changeset;node=eb875b71908a

02/09: cx18: Encapsulate check for a stream being enabled into an inline function
http://linuxtv.org/hg/~awalls/cx18-feature?cmd=changeset;node=55c86b3e5a09

03/09: cx18: Fix TS and IDX stream buffer memory leak on module unload
http://linuxtv.org/hg/~awalls/cx18-feature?cmd=changeset;node=9c341b693fcd

04/09: cx18: Allow MPEG index streams to be started and stopped internally
http://linuxtv.org/hg/~awalls/cx18-feature?cmd=changeset;node=fc743523e7bd

05/09: cx18: Start IDX streams automatically as an internal associated stream
http://linuxtv.org/hg/~awalls/cx18-feature?cmd=changeset;node=e18e865270ea

06/09: cx18: Perform automatic rotation of very old, unread IDX buffers
http://linuxtv.org/hg/~awalls/cx18-feature?cmd=changeset;node=ee8c1c0eec7e

07/09: cx18: Add initial working VIDIOC_G_ENC_INDEX ioctl() support
http://linuxtv.org/hg/~awalls/cx18-feature?cmd=changeset;node=dcb3c59fab66

08/09: cx18: Clean up dead code from ivtv once used for IDX processing
http://linuxtv.org/hg/~awalls/cx18-feature?cmd=changeset;node=2b8531783c9d

09/09: cx18: Fix set indextable command to properly select I/P/B index entries
http://linuxtv.org/hg/~awalls/cx18-feature?cmd=changeset;node=1acfabb1534b


cx18-driver.c | 33 ++++++--
cx18-driver.h | 40 ++++++---
cx18-fileops.c | 235 ++++++++++++++++++++++++++++-----------------------------
cx18-ioctl.c | 146 +++++++++++++++++++++++++++++++----
cx18-mailbox.c | 5 -
cx18-queue.c | 3
cx18-streams.c | 90 ++++++++++++++++-----
cx18-streams.h | 10 ++
cx23418.h | 3
9 files changed, 388 insertions(+), 177 deletions(-)

Thanks,
Andy


_______________________________________________
ivtv-devel mailing list
ivtv-devel@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-devel