Move the memory allocation/deallocation routines to the common library

They are still used slightly differently in the encoder and decoder;
the decoder uses plain functions while the encoder uses one object
keeping track of the number of allocated bytes, and keeping track
of the requested alignment.
This commit is contained in:
Martin Storsjö
2015-01-30 10:44:04 +02:00
parent 869870e670
commit 2356eb1ff6
28 changed files with 148 additions and 297 deletions

View File

@@ -44,7 +44,7 @@
#include "memmgr_nal_unit.h"
#include "decoder_core.h"
#include "bit_stream.h"
#include "mem_align.h"
#include "memory_align.h"
namespace WelsDec {
/*!