/frameworks/av/media/libeffects/lvm/tests/ |
D | reverb_test.cpp | 65 int frameLength = 256; member 341 const int frameLength = revConfigParams.frameLength; in main() local 349 std::vector<short> in(frameLength * maxChannelCount); in main() 350 std::vector<short> out(frameLength * maxChannelCount); in main() 351 std::vector<float> floatIn(frameLength * channelCount); in main() 352 std::vector<float> floatOut(frameLength * channelCount); in main() 356 while (fread(in.data(), ioFrameSize, frameLength, inputFp.get()) == (size_t)frameLength) { in main() 359 frameLength * ioFrameSize); in main() 361 memcpy_to_float_from_i16(floatIn.data(), in.data(), frameLength * channelCount); in main() 367 for (int i = 0; i < frameLength; ++i) { in main() [all …]
|
D | lvmtest.cpp | 81 int frameLength = 256; member 468 const int frameLength = plvmConfigParams->frameLength; in lvmExecute() local 472 (LVM_UINT16)frameLength, /* Number of samples to read */ in lvmExecute() 485 const int frameLength = plvmConfigParams->frameLength; in lvmMainProcess() local 491 std::vector<short> in(frameLength * maxChannelCount); in lvmMainProcess() 492 std::vector<short> out(frameLength * maxChannelCount); in lvmMainProcess() 493 std::vector<float> floatIn(frameLength * channelCount); in lvmMainProcess() 494 std::vector<float> floatOut(frameLength * channelCount); in lvmMainProcess() 497 while (fread(in.data(), ioFrameSize, frameLength, finp) == (size_t)frameLength) { in lvmMainProcess() 500 frameLength * ioFrameSize); in lvmMainProcess() [all …]
|
/frameworks/av/media/libeffects/preprocessing/tests/ |
D | PreProcessingTest.cpp | 414 const int frameLength = (int)(preProcCfgParams.samplingFreq * kTenMilliSecVal); in main() local 421 std::vector<short> in(frameLength * ioChannelCount); in main() 422 std::vector<short> out(frameLength * ioChannelCount); in main() 423 std::vector<short> farIn(frameLength * ioChannelCount); in main() 424 size_t samplesRead = fread(in.data(), inFrameSize, frameLength, inputFp.get()); in main() 430 frameLength * inFrameSize); in main() 432 for (int i = 0; i < frameLength; ++i) { in main() 440 inputBuffer.frameCount = frameLength; in main() 441 outputBuffer.frameCount = frameLength; in main() 446 samplesRead = fread(farIn.data(), inFrameSize, frameLength, farFp.get()); in main() [all …]
|
/frameworks/av/media/libeffects/preprocessing/benchmarks/ |
D | preprocessing_benchmark.cpp | 256 const int frameLength = (int)(kSampleRate * kTenMilliSecVal); in BM_PREPROCESSING() local 259 std::vector<short> in(frameLength * channelCount); in BM_PREPROCESSING() 263 std::vector<short> farIn(frameLength * channelCount); in BM_PREPROCESSING() 267 std::vector<short> out(frameLength * channelCount); in BM_PREPROCESSING() 275 audio_buffer_t inBuffer = {.frameCount = (size_t)frameLength, .s16 = in.data()}; in BM_PREPROCESSING() 276 audio_buffer_t outBuffer = {.frameCount = (size_t)frameLength, .s16 = out.data()}; in BM_PREPROCESSING() 277 audio_buffer_t farInBuffer = {.frameCount = (size_t)frameLength, .s16 = farIn.data()}; in BM_PREPROCESSING()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPAssembler.cpp | 100 unsigned frameLength = nal->size() + 7; in MakeADTSCompoundFromAACFrames() local 111 dst[3] = ((channelConfig & 3) << 6) | (frameLength >> 11); in MakeADTSCompoundFromAACFrames() 113 dst[4] = (frameLength >> 3) & 0xff; in MakeADTSCompoundFromAACFrames() 114 dst[5] = (frameLength & 7) << 5; in MakeADTSCompoundFromAACFrames()
|
/frameworks/wilhelm/tools/permute/ |
D | permute.c | 79 static unsigned split(State *s, unsigned frameStart, unsigned frameLength, unsigned segmentBudget) in split() argument 81 if (frameLength <= 0) in split() 84 if ((frameLength <= s->mMinSegmentLengthFrames*2) || (segmentBudget <= 1)) { in split() 88 seg->mFrameLength = frameLength; in split() 93 unsigned slop = frameLength - s->mMinSegmentLengthFrames*2; in split() 102 assert(leftLength + rightLength == frameLength); in split()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | AACWriter.h | 68 status_t writeAdtsHeader(uint32_t frameLength);
|
/frameworks/av/media/libstagefright/ |
D | AACWriter.cpp | 238 status_t AACWriter::writeAdtsHeader(uint32_t frameLength) { in writeAdtsHeader() argument 264 const uint32_t kFrameLength = frameLength; in writeAdtsHeader()
|
/frameworks/av/media/module/mpeg2ts/ |
D | ESQueue.cpp | 800 const uint8_t *ptr, size_t size, size_t *frameLength) { in IsSeeminglyValidADTSHeader() argument 830 *frameLength = frameLengthInHeader; in IsSeeminglyValidADTSHeader() 959 size_t frameLength; in appendData() local 962 &ptr[i], size - i, &frameLength)) { in appendData() 978 if (frameLength != size - startOffset) { in appendData() 981 frameLength, size - startOffset); in appendData()
|
/frameworks/av/media/codec2/components/aac/ |
D | C2SoftAacEnc.cpp | 385 mNumBytesPerInputFrame = encInfo.frameLength * channelCount * sizeof(int16_t); in process()
|