Is it possible to detect if Android codec is hardware or software?

Viewed 611

As of title, I can programmatically get a lot of data about MediaCodecInfo in my Android app, but I cannot find a way to detect if a given codec is a hardware or software codec.

I usually assume that codec name like OMX.google.* are software codecs, but how can I be sure if a codec is an hardware one?

EDIT To give more context to the question, I am trying to analyze all the codecs supported by a mobile device.

1 Answers

Andrea did you try to pass the accessory method getCodecInfo()?

there is the official documentation that explains how to use it

Related