Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1544125ybj; Wed, 6 May 2020 00:08:07 -0700 (PDT) X-Google-Smtp-Source: APiQypJsDiCDQ44ONprSYqLGTPz9XZeDAe0yyINeHmCoQDR6wyu5W5SNhOmDS9dncm5ADjAMnddm X-Received: by 2002:a17:907:2101:: with SMTP id qn1mr6283276ejb.207.1588748887581; Wed, 06 May 2020 00:08:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588748887; cv=none; d=google.com; s=arc-20160816; b=DZaGLUgvjhX3KiRs4OLDF/hEMhygIrD7bU7XfSx0DtyW57dDEkMdHQ9TE4rkoT8Xz9 KPmjBGp1j4G+DNh9lC+8F9tAiQHvl8wUK8OPUxoTxXfcJzl9WHhN3PUJvIM1FZP+jLtC DJFkiYmA7Iw+SM0zabA2vmxF7MSRXUoAHeRF+yf4NqLsPqLgDqvJuQGPe1JVc7LptkYE 9zDrfXd/vJ6/6aOJYu3Vgmaa8XZ3FShxEVExTJ8kkAoGwiaV5brUceB6zav8+6pmP0dK tFM21CuzHxQQ29b2VmpTTARjAAOjV2aFw1bxk3qCqKVnAjhlqcX7bTI1o/27QeUbY4sy olGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:subject:references :in-reply-to:message-id:cc:to:from:date:dkim-signature; bh=K6l8KY9KgPkWGL14r+EOHJ+Api8UIYnDz5GCp2L57d4=; b=0ukteNngiu0ZMQPQGdWi4+yOGBUjwDeySyXGx0Ea0efy+4D1v/ViYz7dl1iiFgXKEI qHbRgOohZQOL2Ynob1CfkFPYpzcPs7PEyCVTkdaUN2HLB54qqmD5MhSiJjkBeW+N7XHk hLzKjzs0vIxhlJL2X6dx55W9bKU9CLoy+GYyT1TF/hyEEhXdQLQKGY0wOie+92mou9eP jtSKdhDisHOVeUQxW3LSDGni+DniJk7aYhaev3A+oZsPStm7XGFHC48JdFGl1Pa34Cfs MuLOu9I31DnNcT+023QHX+f+eehVXECwuXsfBTrHBNe4L2h5Z2YCvh8b2I4+6x2g8CYJ 9ZAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nIVSMDCX; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n21si677075ejc.113.2020.05.06.00.07.44; Wed, 06 May 2020 00:08:07 -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=@gmail.com header.s=20161025 header.b=nIVSMDCX; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727934AbgEFHGK (ORCPT + 99 others); Wed, 6 May 2020 03:06:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726480AbgEFHGJ (ORCPT ); Wed, 6 May 2020 03:06:09 -0400 Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7AEDC061A0F; Wed, 6 May 2020 00:06:09 -0700 (PDT) Received: by mail-qt1-x82d.google.com with SMTP id j2so540705qtr.12; Wed, 06 May 2020 00:06:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:message-id:in-reply-to:references:subject :mime-version:content-transfer-encoding:content-disposition; bh=K6l8KY9KgPkWGL14r+EOHJ+Api8UIYnDz5GCp2L57d4=; b=nIVSMDCXdP4EBpkn+DWvEUbG+JWKBVV/MPWp+Dzlx+waX/5WNtffLnl4+Gm8TuYZeg EledgtW0wZNrxITAro7N62EugfevycLKWXzX10OykEvmGhOtGmAC3x6LOnG5YXtn1ohG 9YOAb1mbzoxEJyZuMfvkYcH+BakWoNQEq7A09MHm00FZ8XeW+VLdPj6F2a5UvZ0fyaNK ElXs2WHUjsBTV9Z2zOb+Qbs736wSw64LyxB70h47BY/zikFTJzTk6hjLvtZHo2XP+wKj wLlhaMscmnnzFhhS4RlsFMZyAelKcVDPABl9U67VTVbPaxZowWiVn5UDzySLBW48olNk szQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to :references:subject:mime-version:content-transfer-encoding :content-disposition; bh=K6l8KY9KgPkWGL14r+EOHJ+Api8UIYnDz5GCp2L57d4=; b=RTpi2R14h4YYD0IXB7gulNPKljThGKiKJfnAXPyvBPffneT1ZKcvzZUZ/j5BsxaeHi kji69Ut6ypyi1mq6Pl+FFvnj+S2bej5R9lrfSs2dykBuUC7JyE72ulZS7T5y0S1HtN2C telpELtLKm3H4VDDX+yC68VKwwKRJV8PVEoNYM8AlegLIYJrFRowPIz1A69tj5E7J8ly 35lL7TDeuAxfggoF86/Gc/u3f6DJlnrBPIiL6XxeZjMGg1u4NnU5eFRK09fYCwlF1f8P IbS/yWrXxMMOLNPI2xTVFIctjcL6jV3pfhVi7Ca84DVpmvZwVBbRJspuDWmF8DP7WIum KnPQ== X-Gm-Message-State: AGi0PuZdmTgos0ojX8//lJW5OgYkxw3kQDouqsmDiqjcQgatwGWHCNfx vNHcSgC7Gm1FiKgSuAD2xMQ= X-Received: by 2002:ac8:66cf:: with SMTP id m15mr6777065qtp.146.1588748768680; Wed, 06 May 2020 00:06:08 -0700 (PDT) Received: from dwls-dell ([177.193.195.148]) by smtp.gmail.com with ESMTPSA id z40sm818400qtj.45.2020.05.06.00.06.05 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 May 2020 00:06:07 -0700 (PDT) Date: Wed, 6 May 2020 04:05:25 -0300 From: "Daniel W. S. Almeida" To: Mauro Carvalho Chehab Cc: "=?utf-8?Q?sean=40mess.org?=" , "=?utf-8?Q?kstewart=40linuxfoundation.org?=" , "=?utf-8?Q?allison=40lohutok.net?=" , "=?utf-8?Q?tglx=40linutronix.de?=" , "=?utf-8?Q?linux-media=40vger.kernel.org?=" , "=?utf-8?Q?skhan=40linuxfoundation.org?=" , "=?utf-8?Q?linux-kernel-mentees=40lists.linuxfoundation.org?=" , "=?utf-8?Q?linux-kernel=40vger.kernel.org?=" Message-ID: <48DFD57D-AE44-4117-A408-F6D557281FB0@getmailspring.com> In-Reply-To: <20200503111338.53db66b8@coco.lan> References: <20200503111338.53db66b8@coco.lan> Subject: Re: [RFC, WIP, v4 11/11] media: vidtv: Add a MPEG Transport Stream Multiplexer X-Mailer: Mailspring MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? thanks - Daniel