AMediaCodec_getInputBuffer and OMX --copy?

151 views
Skip to first unread message

NimeshChanchani

unread,
Mar 6, 2021, 7:04:47 AM3/6/21
to android-platform
I'm trying to optimize a pipeline.
I want to know , when I write input data to the buffer obtained by calling "AMediaCodec_getInputBuffer"
Does android internally copy it to the OMX buffer ( OMX_FillThisBuffer() ) or is this buffer mapped internally to the OMX buffer?

Abhishek Gautam

unread,
Mar 7, 2021, 10:08:42 PM3/7/21
to android-...@googlegroups.com
Yes

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-platform/f4cf5c98-570f-4920-8386-39772b530f3cn%40googlegroups.com.

NimeshChanchani

unread,
Mar 8, 2021, 1:44:09 AM3/8/21
to android-platform
:-) what is the yes for?

Yes , its copied and not mapped , Or
Yes ,its mapped and not copied?

Abhishek Gautam

unread,
Mar 8, 2021, 10:53:48 AM3/8/21
to android-...@googlegroups.com
It's copied not mapped

Reply all
Reply to author
Forward
0 new messages