All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carlos Rafael Giani <dv@pseudoterminal.org>
To: Otavio Salvador <otavio.salvador@ossystems.com.br>
Cc: meta-freescale Mailing List <meta-freescale@yoctoproject.org>
Subject: Re: [PATCH 1/2] imx-vpu-hantro: fix build issue
Date: Thu, 4 Oct 2018 21:49:01 +0200	[thread overview]
Message-ID: <4cc00ad5-5e2f-f2d0-1000-42fa44ccf8c3@pseudoterminal.org> (raw)
In-Reply-To: <CAP9ODKpHthLugyqPGM2Ah7WLbdzzMV_YZJ8xzK3sbT=KQ6vGZg@mail.gmail.com>

I am not aware of the kernel dependencies, so I need to read up on the 
problems there. Do you have a summary somewhere? Or something half 
finished that I can use as inspiration and/or informational document?


On 2018-10-04 17:47, Otavio Salvador wrote:
> On Wed, Oct 3, 2018 at 10:03 AM Carlos Rafael Giani
> <dv@pseudoterminal.org> 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?
>



  reply	other threads:[~2018-10-04 19:49 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-03 10:24 [PATCH 0/2] Fix Hantro/Gstreamer build issues Gary Bisson
2018-10-03 10:24 ` [PATCH 1/2] imx-vpu-hantro: fix build issue Gary Bisson
2018-10-03 13:03   ` Carlos Rafael Giani
2018-10-04 15:47     ` Otavio Salvador
2018-10-04 19:49       ` Carlos Rafael Giani [this message]
2018-10-05 13:32         ` Otavio Salvador
2018-10-03 10:24 ` [PATCH 2/2] gstreamer1.0-plugins-base: " Gary Bisson
2018-10-03 13:50 ` [PATCH 0/2] Fix Hantro/Gstreamer build issues Tom Hochstein
2018-10-03 14:19   ` Gary Bisson
2018-10-03 18:43   ` Otavio Salvador
2018-10-03 18:47     ` Tom Hochstein
2018-10-03 18:50       ` Otavio Salvador
2018-10-05 12:09         ` Carlos Rafael Giani

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4cc00ad5-5e2f-f2d0-1000-42fa44ccf8c3@pseudoterminal.org \
    --to=dv@pseudoterminal.org \
    --cc=meta-freescale@yoctoproject.org \
    --cc=otavio.salvador@ossystems.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.