From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pz0-f51.google.com ([209.85.210.51]:48335 "EHLO mail-pz0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753723Ab2D1JR5 (ORCPT ); Sat, 28 Apr 2012 05:17:57 -0400 Received: by dadz8 with SMTP id z8so1993526dad.10 for ; Sat, 28 Apr 2012 02:17:57 -0700 (PDT) Date: Sat, 28 Apr 2012 17:17:50 +0800 From: "nibble.max" To: "Antti Palosaari" Cc: "linux-media" References: <1327228731.2540.3.camel@tvbox>, <4F2185A1.2000402@redhat.com>, <201204152353103757288@gmail.com>, <201204201601166255937@gmail.com>, <4F9130BB.8060107@iki.fi>, <201204211045557968605@gmail.com>, <4F958640.9010404@iki.fi>, , <4F95CE59.1020005@redhat.com>, Subject: Demod hardware pid filter implement Message-ID: <201204281717449375969@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: Hello Antti, As we known that AF9013 has the hardware pid filter capability. How to implement the hardware pid filter, which the demodulator has this capability? For usb, i find struct dvb_usb_adapter_fe_properties { int (*pid_filter_ctrl) (struct dvb_usb_adapter *, int); int (*pid_filter) (struct dvb_usb_adapter *, int, u16, int); ....... It can implement the hardware filter if the demodulator has. But on the other interface, i do not find similar solution. For example, we have a hardware of AF9013 and CX23885 pcie chip and want to use the hardware pid filter in AF9013. i find some codes to hook the dvb.demux to do that pid filtering. I think it is demod property, but the current "dvb_frontend_ops" has no definition for this. It is better that adding a function pointer of pid filtering in "dvb_frontend_ops" to do in general way. What is your idea? BR, Max