Home
last modified time | relevance | path

Searched refs:memRequirements (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/module/codecs/mp3dec/test/
DMp3DecoderTest.cpp101 size_t memRequirements = pvmp3_decoderMemRequirements(); in TEST_F() local
102 ASSERT_NE(memRequirements, 0) << "Failed to get the memory requirement size"; in TEST_F()
103 unique_ptr<char[]> decoderBuf(new char[memRequirements]); in TEST_F()
105 << "Failed to allocate decoder memory of size " << memRequirements; in TEST_F()
113 size_t memRequirements = pvmp3_decoderMemRequirements(); in TEST_P() local
114 ASSERT_NE(memRequirements, 0) << "Failed to get the memory requirement size"; in TEST_P()
115 unique_ptr<char[]> decoderBuf(new char[memRequirements]); in TEST_P()
117 << "Failed to allocate decoder memory of size " << memRequirements; in TEST_P()
140 size_t memRequirements = pvmp3_decoderMemRequirements(); in TEST_P() local
141 ASSERT_NE(memRequirements, 0) << "Failed to get the memory requirement size"; in TEST_P()
[all …]
Dmp3dec_test.cpp58 uint32_t memRequirements = pvmp3_decoderMemRequirements(); in main() local
59 void *decoderBuf = malloc(memRequirements); in main()
/frameworks/av/media/module/codecs/amrwb/dec/test/
DAmrwbDecoderTest.cpp124 uint32_t memRequirements = pvDecoder_AmrWbMemRequirements(); in TEST_F() local
125 std::unique_ptr<char[]> decoderBuf(new char[memRequirements]); in TEST_F()
127 << "Failed to allocate decoder memory of size " << memRequirements; in TEST_F()
140 uint32_t memRequirements = pvDecoder_AmrWbMemRequirements(); in TEST_P() local
141 std::unique_ptr<char[]> decoderBuf(new char[memRequirements]); in TEST_P()
143 << "Failed to allocate decoder memory of size " << memRequirements; in TEST_P()
166 uint32_t memRequirements = pvDecoder_AmrWbMemRequirements(); in TEST_P() local
167 std::unique_ptr<char[]> decoderBuf(new char[memRequirements]); in TEST_P()
169 << "Failed to allocate decoder memory of size " << memRequirements; in TEST_P()
Damrwbdec_test.cpp90 uint32_t memRequirements = pvDecoder_AmrWbMemRequirements(); in main() local
91 void *decoderBuf = malloc(memRequirements); in main()
/frameworks/av/media/libstagefright/codecs/mp3dec/
DSoftMP3.cpp116 uint32_t memRequirements = pvmp3_decoderMemRequirements(); in initDecoder() local
117 mDecoderBuf = calloc(1, memRequirements); in initDecoder()
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.cpp150 size_t memRequirements = pvmp3_decoderMemRequirements(); in initDecoder() local
151 mDecoderBuf = malloc(memRequirements); in initDecoder()