public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [media][dvb-core] Question on dvr device copy
@ 2012-02-12 14:19 Hamad Kadmany
  2012-02-14  7:33 ` Hamad Kadmany
  0 siblings, 1 reply; 2+ messages in thread
From: Hamad Kadmany @ 2012-02-12 14:19 UTC (permalink / raw)
  To: linux-media

Hi,

Currently when playing stream from memory through dvr device (through write
calls), the written buffer is copied from user-space to kernel space. The
same applies when recording a stream, the TS packets received from HW are
copied to dvr ring-buffer.

I'm a bit concerned about the performance due to the copy, and whether we
better have a memory mapped ring-buffer in dvr device output and/or dvr
device input with user-space to cope with high bitrate streams.

Your feedback on this will be mostly appreciated.

Thanks
Hamad


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [media][dvb-core] Question on dvr device copy
  2012-02-12 14:19 [media][dvb-core] Question on dvr device copy Hamad Kadmany
@ 2012-02-14  7:33 ` Hamad Kadmany
  0 siblings, 0 replies; 2+ messages in thread
From: Hamad Kadmany @ 2012-02-14  7:33 UTC (permalink / raw)
  To: linux-media

Hi,

I would appreciate if anyone can feedback on this, I'm considering
implementing mmap in demux/dvr devices so that user-space can access the
input/output buffers directly without the need for read/write operations.

Thanks
Hamad

-----Original Message-----
From: linux-media-owner@vger.kernel.org
[mailto:linux-media-owner@vger.kernel.org] On Behalf Of Hamad Kadmany
Sent: Sunday, February 12, 2012 4:19 PM
To: linux-media@vger.kernel.org
Subject: [media][dvb-core] Question on dvr device copy 

Hi,

Currently when playing stream from memory through dvr device (through write
calls), the written buffer is copied from user-space to kernel space. The
same applies when recording a stream, the TS packets received from HW are
copied to dvr ring-buffer.

I'm a bit concerned about the performance due to the copy, and whether we
better have a memory mapped ring-buffer in dvr device output and/or dvr
device input with user-space to cope with high bitrate streams.

Your feedback on this will be mostly appreciated.

Thanks
Hamad

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org More majordomo info at
http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-14  7:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-12 14:19 [media][dvb-core] Question on dvr device copy Hamad Kadmany
2012-02-14  7:33 ` Hamad Kadmany

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox