From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D1D9EE00566; Thu, 4 Oct 2018 08:47:51 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [209.85.210.65 listed in list.dnswl.org] Received: from mail-ot1-f65.google.com (mail-ot1-f65.google.com [209.85.210.65]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 66631E00519 for ; Thu, 4 Oct 2018 08:47:51 -0700 (PDT) Received: by mail-ot1-f65.google.com with SMTP id e18-v6so9636286oti.8 for ; Thu, 04 Oct 2018 08:47:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ossystems-com-br.20150623.gappssmtp.com; s=20150623; h=from:mime-version:references:in-reply-to:date:message-id:subject:to :cc; bh=YFpqzMio/CLyW5VTB+tSoC9Zc2TeEj0CbZyOp00hiOQ=; b=PLCSgW+IVt6bxe1HMD50RwIc9/9rmq6zm26kMKLdw0kE6v2YEOBLggKQ71C+IrOivs Todb+u0mraQrnrqTWS7RhfwL6q/I18E2AS4XC5IwSBO5kmhBluz5ZfVkTydsNtWzsLtp FkUrJHj5+/K+4TLbKIyO/PQRGPgNnaEwx5DRYYjcRxrOIYrfR7C82zWkMFjVnfCMZSRz 1QnQB6DXuPLszdcdgGXH8I5WkmUAmd52gJPLIM0kF6CF3z26Bdt5ONxOdFZywUH8jiyz bYW25SejsMWHneib0NIiYbOm0NphT6YTG7LXuQJEQ4ku/XgP7NW8g/DJzTq1sN0NlptI XvBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:references:in-reply-to:date :message-id:subject:to:cc; bh=YFpqzMio/CLyW5VTB+tSoC9Zc2TeEj0CbZyOp00hiOQ=; b=SyL7iMVItHHtCJ3x9nwLu9viNj4QzSxtvF/krnsSgDba7knzivAV3J5ZFexbgwjkjl kd7AXn4DD7CahpNeotHJOm1yOn3e+oEdnD3D62SXYwLctClRvfa45mBMXwO/fvBcYy2y XRd7WIUoOnwMYAOC38umUTuOp4RoZUbjt6s35Ef+uCGqu7sT1KBsD4N5yAyGqUoks9rw xwvaqnpT9GPcuYDBjnOK9UFSIlxhONLmjN2Qw3DdjvJ6tG3owSaYMBY4cNmWXRJ9Hrku SvyfFKfU5fAIPAQq8pqsLR3eMUitVN/EOg2Zs44zjRLCKT0SsJxFxuKz7vZZwAMgrf1Q oXaw== X-Gm-Message-State: ABuFfogbuL/hCcUA+fFXYR/rLRTZ982NbQIPZzMEi3rEIgbQpOJ95qqa ai53LAg6w/bvYjiNOHcJFovIeOp/MVqbug== X-Google-Smtp-Source: ACcGV60LcxSDb1cr4dNuvR2YbtUMlF+F4iauSL6x0/i5IG4f/PfC4GFBT4kcgYrlnrgwIM16ll/sJg== X-Received: by 2002:a9d:55c2:: with SMTP id z2mr3770730oti.190.1538668070031; Thu, 04 Oct 2018 08:47:50 -0700 (PDT) Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com. [209.85.210.42]) by smtp.gmail.com with ESMTPSA id q5-v6sm1611392oia.54.2018.10.04.08.47.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Oct 2018 08:47:48 -0700 (PDT) From: Otavio Salvador X-Google-Original-From: Otavio Salvador Received: by mail-ot1-f42.google.com with SMTP id 36-v6so9606366oth.11 for ; Thu, 04 Oct 2018 08:47:48 -0700 (PDT) X-Received: by 2002:a9d:308d:: with SMTP id s13mr4176555otc.359.1538668068295; Thu, 04 Oct 2018 08:47:48 -0700 (PDT) MIME-Version: 1.0 References: <20181003102443.29749-1-gary.bisson@boundarydevices.com> <20181003102443.29749-2-gary.bisson@boundarydevices.com> In-Reply-To: Date: Thu, 4 Oct 2018 12:47:32 -0300 X-Gmail-Original-Message-ID: Message-ID: To: Carlos Rafael Giani Cc: meta-freescale Mailing List Subject: Re: [PATCH 1/2] imx-vpu-hantro: fix build issue X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2018 15:47:51 -0000 Content-Type: text/plain; charset="UTF-8" On Wed, Oct 3, 2018 at 10:03 AM Carlos Rafael Giani wrote: > In addition to this, I think adding a "hantro_config.h" header would be > useful. That's because we can find this in the Makefile_codec file: > > CFLAGS += -DSET_OUTPUT_CROP_RECT -DUSE_EXTERNAL_BUFFER > -DUSE_OUTPUT_RELEASE -DVSI_API -DIS_G1_DECODER -DENABLE_CODEC_VP8 > -DVP8_HWTIMEOUT_WORKAROUND -DENABLE_CODEC_MJPEG > -DGET_FREE_BUFFER_NON_BLOCK -DDOWN_SCALER > > and you need to set these flags in your code as well, otherwise you get > stack corruption. For example, SET_OUTPUT_CROP_RECT enables certain > fields in openmax_il/source/decoder/codec.h : We are preparing a headers package that will try to reduce the dependency on the kernel and reduce a lot the machine specific packages. I think we could make a package for it, and add it as dependency. Do you wish to propose one? -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750