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.
Showing the changes to test/encoder/EncUT_EncoderMb.cpp (1 of 28 files). Show all
Unified · Split
| @@ -3,8 +3,8 @@ · 2 unmodified lines | |||
| 3 | #include "memory_align.h" | 3 | #include "memory_align.h" |
| 4 | #include "utils/DataGenerator.h" | 4 | #include "utils/DataGenerator.h" |
| 5 | 5 | ||
| 6 | using namespace WelsEnc; | ||
| 7 | #include "encode_mb_aux.h" | 6 | #include "encode_mb_aux.h" |
| 7 | using namespace WelsEnc; | ||
| 8 | 8 | ||
| 9 | ALIGNED_DECLARE (const int16_t, g_kiQuantInterFFCompare[104][8], 16) = { | 9 | ALIGNED_DECLARE (const int16_t, g_kiQuantInterFFCompare[104][8], 16) = { |
| 10 | /* 0*/ { 0, 1, 0, 1, 1, 1, 1, 1 }, | 10 | /* 0*/ { 0, 1, 0, 1, 1, 1, 1, 1 }, |