AMediaCodecBufferInfo on Nexus 6P has weird offset

61 views
Skip to first unread message

Eric

unread,
Nov 6, 2018, 1:17:22 PM11/6/18
to android-ndk
Hi guys,

Not sure if this the appropriate place to post this, but we're trying to do hardware VP8 encoding on the Nexus 6P with Android 8.1.0 (Latest updates, compiled API level 24). When I dequeue an output buffer from the encoder, the "offset" parameter in the info struct is a weird value (E.g.: 89534), so if I apply the offset to the buffer pointer it points to nowhere and I get a blank frame. If I ignore it (offset 0), however, the VP8 frame is perfect!

The offset value is always this weird value around 89500 on the 6P, on other devices, it seems to be a correct value. Is this a known issue? Is there a way to investigate this?

Thank you!

Phil Burk

unread,
Nov 15, 2018, 11:22:06 AM11/15/18
to andro...@googlegroups.com
Hello Eric,

Sounds like a bug. You can check here to see if was already reported:
If not then you can report it.

Was this a regression from 23 to 24?
What other devices and versions were tested?
Is it consistent or intermittent?

Thanks,
Phil Burk



--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/15765fb1-cdf2-44cb-9098-69ec2b1cc69a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages