Home
last modified time | relevance | path

Searched refs:eleSize (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/
DNativeEncoder.cpp57 size_t eleSize = eleStream.tellg(); in Java_com_android_media_benchmark_library_Native_Encode() local
75 auto status = encoder->encode(sCodecName, eleStream, eleSize, mode, encParams, in Java_com_android_media_benchmark_library_Native_Encode()
91 (((eleSize + frameSize - 1) / frameSize) / ENCODE_DEFAULT_FRAME_RATE) * 1000000; in Java_com_android_media_benchmark_library_Native_Encode()
95 clipDurationUs = (eleSize / (jSampleRate * jNumChannels)) * 1000000; in Java_com_android_media_benchmark_library_Native_Encode()
/frameworks/av/media/tests/benchmark/tests/
DC2EncoderTest.cpp127 size_t eleSize = eleStream.tellg(); in TEST_P() local
136 status = mEncoder->encodeFrames(eleStream, eleSize); in TEST_P()
DEncoderTest.cpp99 size_t eleSize = eleStream.tellg(); in TEST_P() local
137 status = encoder->encode(codecName, eleStream, eleSize, asyncMode, encParams, (char *)mime); in TEST_P()
/frameworks/av/media/tests/benchmark/src/native/encoder/
DEncoder.h80 int32_t encode(std::string &codecName, std::ifstream &eleStream, size_t eleSize, bool asyncMode,
DEncoder.cpp191 int32_t Encoder::encode(string &codecName, ifstream &eleStream, size_t eleSize, bool asyncMode, in encode() argument
195 mInputBufferSize = eleSize; in encode()