Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1625336ybj; Wed, 6 May 2020 02:06:43 -0700 (PDT) X-Google-Smtp-Source: APiQypJIHNj2rkgIiOoiWrqBkYJfPwIesLDs3rAWi61IA9x0hdwEDoQFsxaCOzljHjkWJuqlCih1 X-Received: by 2002:a17:907:4304:: with SMTP id nh4mr1598180ejb.193.1588756003269; Wed, 06 May 2020 02:06:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588756003; cv=none; d=google.com; s=arc-20160816; b=osGpTvl7K6WKwQ3pZJhaKoLFrn9Q6m1So485QGzX7fKjmYa/1JFUIbcvnkb9CX05r6 xbeKebrIF6zCyHudaus3+AFyLLMLe0wK++CDlUF7xpAVOmPCImROZuXvL4edwWcUgLwH 8nA2jzM2gj4TbYJMHGAWQ7dxX5N4YZOkTEXEEQ8pJgsuxCeHUo4LvI9ld5b8NAQ9wuJE LWnaGP8NUKagwhQXL1VNcUl3e4g6Dx6a6FXelZswyflX2oRoqn5YHoql2XT8A6gj69KF 3rJZ7PegYvUizRXpYHMlWDE0URrPHik/MfmCResUn9fm7XVecBE8Kr26Y25ympoBWzXd iWgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=wTYoRO+C7I8nLBGiJT7W7biKyBU0n5HyW1verIhyNqo=; b=lXChTLh2Ea6dt3gS1XWaBUIEsm7xNEWEP58WhkFe3MiHhGJuhb0bXgWYrUO6cvvJxJ 8zFW0vjqV6IZczLrM8OGfM8FvP6tAn0nZhiGE6KNcMHJz81UWNFzBYSbCHsd8Ej7hwdH KPNBsSfpmPMaDMnb02KWutp3ZZ5GaBQ8whfg9JkApv1+fg0IgwYz3mOPybNQFJNQMCD8 i25IEIJ7aUZy6uJnEhnGeaObnkuPGYOS2fPA9yU83cCHcdp5T4S+FsqMpfEd943/xjqw a1dSAw/V+dGzNg7rDSBvOWlXeayD34MNHxI8MxrPRpH/IxTOFWGF5gyBokNjR+15CkU4 +EUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lRL5L2xp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p24si684135eju.406.2020.05.06.02.06.20; Wed, 06 May 2020 02:06:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lRL5L2xp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729017AbgEFJBb (ORCPT + 99 others); Wed, 6 May 2020 05:01:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:43150 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728679AbgEFJBb (ORCPT ); Wed, 6 May 2020 05:01:31 -0400 Received: from coco.lan (ip5f5ad5c5.dynamic.kabel-deutschland.de [95.90.213.197]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 97440206B8; Wed, 6 May 2020 09:01:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588755690; bh=4sIpXubP0+sC8ylxmrF8TVm46EBH4JzVOxBG2NmOZFw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=lRL5L2xpknMLiaSJ2rXgF9zUKhEQqN9Udn0GejmwRbdhZsqrwey3OQXwZLC33P+KZ IEoA5XO+CJ4iKAD8MaWXe5MwAIp/Avpg1KyLxKL27NnCbVyCQBPNTq/5xcYW3+3GKb n5sasde/HOjxjaCeTe/rcuYpIMWQt7hgSgigiI9s= Date: Wed, 6 May 2020 11:01:25 +0200 From: Mauro Carvalho Chehab To: "Daniel W. S. Almeida" Cc: "sean@mess.org" , "kstewart@linuxfoundation.org" , "allison@lohutok.net" , "tglx@linutronix.de" , "linux-media@vger.kernel.org" , "skhan@linuxfoundation.org" , "linux-kernel-mentees@lists.linuxfoundation.org" , "linux-kernel@vger.kernel.org" Subject: Re: [RFC, WIP, v4 11/11] media: vidtv: Add a MPEG Transport Stream Multiplexer Message-ID: <20200506110125.03f42b03@coco.lan> In-Reply-To: <48DFD57D-AE44-4117-A408-F6D557281FB0@getmailspring.com> References: <20200503111338.53db66b8@coco.lan> <48DFD57D-AE44-4117-A408-F6D557281FB0@getmailspring.com> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, 6 May 2020 04:05:25 -0300 "Daniel W. S. Almeida" escreveu: > Hi Mauro! Thank you for reviewing this! > > > >> Add a MPEG Transport Stream multiplexer responsible for polling encoders, > >> interleaving packets, padding the resulting stream with NULL packets if > >> necessary and then delivering the resulting TS packets to the bridge > >> driver so it can feed the demux. > >> > >> This patch includes a "channel" abstraction, which attempts to map a > >> MPEG service into a struct that vidtv can work with. > >> > >> When vidtv boots, it will create some hardcoded channels: > >> > >> -Their services will be concatenated to populate the SDT. > >> -Their programs will be concatenated to populate the PAT > >> -For each program in the PAT, a PMT section will be created > >> -The PMT section for a channel will be assigned its streams. > >> -Every stream will have its corresponding encoder polled to produce > >> TS packets > >> -These packets may be interleaved by the mux and then delivered to > >> the bridg > >> > >> Signed-off-by: Daniel W. S. Almeida > > > > The same notes I made on previous patches apply here. > > I did not understand this. Do you mean to say that I should remove these > dashes in the beginning of the lines? No. I just meant to say that I won't be repeating the comments I made about WARN_ON, bit order, and other generic comments on other patches that will also apply here :-) Thanks, Mauro