"Ronald S. Bultje" <[email protected]> writes:

> Hi,
>
> On Mon, Feb 27, 2012 at 3:21 PM, Felipe Contreras
> <[email protected]> wrote:
>> 2012/2/28 Måns Rullgård <[email protected]>:
>>> Felipe Contreras <[email protected]> writes:
>>>> On Tue, Feb 28, 2012 at 12:50 AM, Vladimir Pantelic <[email protected]> 
>>>> wrote:
>>>>> On 02/27/2012 11:30 PM, Vladimir Pantelic wrote:
>>>>>
>>>>>>> Yes, but it's packed; not split into multiple planes. I'll take a look
>>>>>>> into the display_width stuff. I have never tried that.
>>>>>>
>>>>>>
>>>>>> I am quite sure the OMAP3 codecs support both packed and planar, at
>>>>>> least they do when using them via CE/link. Whether the bridge interface
>>>>>> exposes that I am not sure any more, need to check.
>>>>>
>>>>> here, you even handle it in your lib:
>>>>>
>>>>> https://github.com/felipec/libtidsp/blob/master/codecs/td_mp4vdec.c#L55
>>>>
>>>> That chooses between I420 and UYVY, both packed.
>>>
>>> I420 is planar by definition.
>>
>> In OMX terms, I'm talking about YUV420PackedPlanar:
>> https://github.com/felipec/gst-openmax/blob/master/omx/headers/OMX_IVCommon.h
>
> I think you're looking for "width"=="stride", not packed. You can
> currently achieve that by setting AVCodecContext->flags |=
> CODEC_FLAG_EMU_EDGE;, as long as alignment works out. I've wanted to
> communicate min/max alignment contraints from codec to implementation
> for a while now, which would be useful for you, so if you want to add
> that to make this work, I'm all ears.

That would be a very welcome addition.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to