From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933150AbbI3KEU (ORCPT ); Wed, 30 Sep 2015 06:04:20 -0400 Received: from ni.piap.pl ([195.187.100.4]:33332 "EHLO ni.piap.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933067AbbI3KEO (ORCPT ); Wed, 30 Sep 2015 06:04:14 -0400 X-Greylist: delayed 515 seconds by postgrey-1.27 at vger.kernel.org; Wed, 30 Sep 2015 06:04:12 EDT From: khalasa@piap.pl (Krzysztof =?utf-8?Q?Ha=C5=82asa?=) To: Andrey Utkin Cc: "kernel-mentors\@selenic.com" , Linux Media , "linux-kernel\@vger.kernel.org" , Hans Verkuil , m.chehab@samsung.com Subject: Re: H264 headers generation for driver References: Date: Wed, 30 Sep 2015 11:55:33 +0200 In-Reply-To: (Andrey Utkin's message of "Tue, 29 Sep 2015 21:59:51 +0300") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-KLMS-Rule-ID: 1 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Lua-Profiles: 84429 [Sep 30 2015] X-KLMS-AntiSpam-Version: 5.5.6 X-KLMS-AntiSpam-Envelope-From: khalasa@piap.pl X-KLMS-AntiSpam-Rate: 0 X-KLMS-AntiSpam-Status: not_detected X-KLMS-AntiSpam-Method: none X-KLMS-AntiSpam-Moebius-Timestamps: 3757379, 3757403, 3757278 X-KLMS-AntiSpam-Info: LuaCore: 288 288 0d7c07ab9a5e5b7c445bbc1f7195b7b901006033, Auth:dkim=none X-KLMS-AntiSpam-Interceptor-Info: scan successful X-KLMS-AntiPhishing: Clean, 2015/09/29 17:37:20 X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.721, bases: 2015/09/29 22:40:00 #6552745 X-KLMS-AntiVirus-Status: Clean, skipped Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andrey Utkin writes: [H.264 headers] > I guess that one acceptable way is to pre-generate all headers for all > needed cases and ship them inlined; for correctness checking purpose, > it is possible to ship also a script or additional source code file > which is able to generate same headers. I think these are good ideas. BTW the SOLO6110 at the moment also has pregenerated SPS/PPS headers (whole NALs actually). -- Krzysztof Halasa Industrial Research Institute for Automation and Measurements PIAP Al. Jerozolimskie 202, 02-486 Warsaw, Poland