Discussion:
AMediaCodecBufferInfo on Nexus 6P has weird offset
Eric
2018-11-06 17:30:44 UTC
Permalink
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!
--
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 android-***@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.
'Phil Burk' via android-ndk
2018-11-15 16:21:41 UTC
Permalink
Hello Eric,

Sounds like a bug. You can check here to see if was already reported:
https://source.android.com/setup/contribute/report-bugs
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
Post by Eric
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
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!
--
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
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
<https://groups.google.com/d/msgid/android-ndk/15765fb1-cdf2-44cb-9098-69ec2b1cc69a%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.
--
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 android-***@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/CACL%3DQ7zhX0LYpq4fKyGMYGo3oN5LgMybsaWCB%3DiOXgbD-zxd5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...