On Wed, Oct 3, 2018 at 10:03 AM Carlos Rafael Giani <d...@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? -- 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 -- _______________________________________________ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale