Genesi Home Home Projects Forums
Login
Username:

Password:

Remember Me
 
[Register an Account]

Developer Programs
i.MX515
Power2People MPC8610

Efika 5200B

Search Projects

Google

Sponsored By



Efika 5200B Project
Reggae on Efika

in category Multimedia
proposed by Grzegorz Kraszewski on 21st February 2006 (accepted on 20th March 2006)

Blog Entry

  C++ is useful
posted by Grzegorz Kraszewski on 7th April 2007

After a day of work I've designed and implemented a C++ class, named BlockDecoder. Most of compressed sound formats are block-based. Reggae requires that sound data may be pulled in any amount (the resolution is one sample frame), also requires one frame precision seeking. It implies some buffering. BlockDecoder implements all of this. Now the only thing I have to do implementing new block-based format in Reggae is to override two virtual methods. One is for complete block decoding, the second one returns decompressed size of a block. All buffering for MMM_Pull() and MMM_Seek() is ready. I've succesfully used BlockDecoder in ima-adpcm.decoder (so now it supports seeking) and plan to release some more popular block-based decoders.

PowerDeveloper.org: Copyright © 2004-2010, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org. All other names and trademarks used are property of their respective owners. Privacy Policy