[Android] [PATCH 4/4] Enable iomx direct rendering if "full acceleration" is chosen

Thomas Guillem thomas.guillem at gmail.com
Fri Jul 25 10:35:28 CEST 2014


Ah good, I didn't take the time to find where I could enable omxil-dr
without forcing b_direct to true. Now I know...

On Fri, Jul 25, 2014 at 1:24 AM, Martin Storsjö <martin at martin.st> wrote:
> On Fri, 25 Jul 2014, Jean-Baptiste Kempf wrote:
>
>> On 25 Jul, Martin Storsjö wrote :
>>>
>>> +        (hardwareAcceleration == HW_ACCELERATION_FULL) ? IOMX_DR :
>>> "--no-mediacodec-dr",
>>
>>
>> (hardwareAcceleration == HW_ACCELERATION_FULL) ? "--omxil-dr" :
>> "--no-mediacodec-dr"
>>
>> So we have different defaults for iomx and mediacodec?
>
>
> Yes, they were set differently - perhaps because the iomx stuff is more
> hacky than mediacodec and might not deserve being enabled by default... In
> the end, it doesn't matter much what it is set to by default since it's all
> controlled by the UI settings anyway, so perhaps we should switch the
> default to match, to keep it consistent.
>
> // Martin
> _______________________________________________
> Android mailing list
> Android at videolan.org
> https://mailman.videolan.org/listinfo/android
>


More information about the Android mailing list