Bug #21

SPMC HD Audio support on Rockchip devices - AudioFormat::ENCODING_IEC61937 Required in SDK

Added by Redmine Admin over 1 year ago. Updated about 1 year ago.

Status:ResolvedStart date:04/03/2016
Priority:ImmediateDue date:
Assignee:Redmine Admin% Done:

100%

Category:-
Target version:-

Description

For SPMC
Just some information that can help

"Hi,

I have implemented AudioFormat::ENCODING_IEC61937 from the upcoming Android N in SPMC.
If RK implements this encoding (whatever the android version), it should make PT work on RK without libmedia hacks or whatever hack of the day

From Koying"

[droidN] Baseline IEC AC3/DTS/EAC3 Pass-through support commit
https://github.com/koying/SPMC/commit/433ebb49ddbce7e57828bb7222c8316f405b2981

SPMC branch
https://github.com/koying/SPMC/commits/spmc-jarvis

So if Rockchip can add AudioFormat::ENCODING_IEC61937 API code to firmware SDK and force it when selected or used in SPMC, SPMC will work straight out of the box on RK devices with HD Audio pass-through support.
Then the only thing missing is auto refresh rate switching. Maybe find a way to include a global auto refresh rate switching for all Android video player apps in 'Android Settings' and if enabled it also works in SPMC with no code changes in SPMC or very minimum code changes in SPMC.
Try to test 'Mediacodec Surface' video rendering in SPMC and improve it(it already works great) and try to abandon 'RockchipCodec' that is based on older libstagefright technology.
Lots of users also want stable 23.976 fps video playback without stuttering, I hope that can also be improved in the future.

Hope it can help.

History

#1 Updated by Redmine Admin about 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Use NTMC from now one.
HD Audio support, 3D, auto-refresh rate switching.
RKMC + SPMC functions merged.

Also available in: Atom PDF