From a602f46d69d9d18756b7f317470f654f695faa80 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Sun, 24 Apr 2011 20:19:05 +0000 Subject: Rework of libfaad in several areas. Allow removal of malloc with a new define FAAD_STATIC_ALLOC (in common.h). For now malloc is not fully removed but used by a few arrays needed for AAC-HE SBR+PS only. Reason to keep malloc is to have this amount of memory available for AAC-LC files which might require large m4a tables. The changes make the allocation routines much smaller, better centralized and allow to move duplicated code from aac.c/raa.c to libfaad. The rework includes removal of (now and former) unused code as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29778 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libfaad/decoder.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'apps/codecs/libfaad/decoder.h') diff --git a/apps/codecs/libfaad/decoder.h b/apps/codecs/libfaad/decoder.h index 2b2eb8b..f5c477e 100644 --- a/apps/codecs/libfaad/decoder.h +++ b/apps/codecs/libfaad/decoder.h @@ -72,8 +72,6 @@ extern "C" { char* NEAACDECAPI NeAACDecGetErrorMessage(uint8_t errcode); -uint32_t NEAACDECAPI NeAACDecGetCapabilities(void); - NeAACDecHandle NEAACDECAPI NeAACDecOpen(void); NeAACDecConfigurationPtr NEAACDECAPI NeAACDecGetCurrentConfiguration(NeAACDecHandle hDecoder); @@ -97,8 +95,6 @@ int8_t NEAACDECAPI NeAACDecInit2(NeAACDecHandle hDecoder, uint8_t *pBuffer, int8_t NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hDecoder, uint32_t samplerate, uint8_t channels); -void NEAACDECAPI NeAACDecClose(NeAACDecHandle hDecoder); - void NEAACDECAPI NeAACDecPostSeekReset(NeAACDecHandle hDecoder, int32_t frame); void* NEAACDECAPI NeAACDecDecode(NeAACDecHandle hDecoder, @@ -106,11 +102,6 @@ void* NEAACDECAPI NeAACDecDecode(NeAACDecHandle hDecoder, uint8_t *buffer, uint32_t buffer_size); -void* NEAACDECAPI NeAACDecDecode2(NeAACDecHandle hDecoder, - NeAACDecFrameInfo *hInfo, - uint8_t *buffer, uint32_t buffer_size, - void **sample_buffer, uint32_t sample_buffer_size); - #ifdef _WIN32 #pragma pack(pop) #endif -- cgit v1.1