Lines Matching refs:srcPath

102     media_status_t transcodeHelper(const char* srcPath, const char* destPath,  in transcodeHelper()  argument
109 const int srcFd = open(srcPath, O_RDONLY); in transcodeHelper()
177 void testTranscodeVideo(const char* srcPath, const char* destPath, const char* dstMime, in testTranscodeVideo() argument
179 EXPECT_EQ(transcodeHelper(srcPath, destPath, in testTranscodeVideo()
275 const char* srcPath = "/data/local/tmp/TranscodingTestAssets/cubicle_avc_480x240_aac_24KHz.mp4"; in TEST_F() local
277 testTranscodeVideo(srcPath, destPath, nullptr); in TEST_F()
281 const char* srcPath = "/data/local/tmp/TranscodingTestAssets/cubicle_avc_480x240_aac_24KHz.mp4"; in TEST_F() local
283 testTranscodeVideo(srcPath, destPath, AMEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
287 const char* srcPath = "/data/local/tmp/TranscodingTestAssets/jets_hevc_1280x720_20Mbps.mp4"; in TEST_F() local
289 testTranscodeVideo(srcPath, destPath, AMEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
293 const char* srcPath = in TEST_F() local
296 testTranscodeVideo(srcPath, destPath, AMEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
304 const char* srcPath = "/data/local/tmp/TranscodingTestAssets/Video_4K_HEVC_10Frames_Audio.mp4"; in TEST_F()
306 testTranscodeVideo(srcPath, destPath, AMEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
311 const char* srcPath = "/data/local/tmp/TranscodingTestAssets/cubicle_avc_480x240_aac_24KHz.mp4"; in TEST_F() local
313 testTranscodeVideo(srcPath, destPath, AMEDIA_MIMETYPE_VIDEO_AVC); in TEST_F()
317 EXPECT_LT(getFileSizeDiffPercent(srcPath, destPath, true /* absolute*/), 25); in TEST_F()
321 const char* srcPath = "/data/local/tmp/TranscodingTestAssets/cubicle_avc_480x240_aac_24KHz.mp4"; in TEST_F() local
324 testTranscodeVideo(srcPath, destPath1, AMEDIA_MIMETYPE_VIDEO_AVC, 2 * 1000 * 1000); in TEST_F()
326 testTranscodeVideo(srcPath, destPath2, AMEDIA_MIMETYPE_VIDEO_AVC, 8 * 1000 * 1000); in TEST_F()
348 const char* srcPath = "/data/local/tmp/TranscodingTestAssets/longtest_15s.mp4"; in TEST_F() local
352 EXPECT_EQ(transcodeHelper(srcPath, destPath, getAVCVideoFormat, kCancelAfterProgress), in TEST_F()
360 const char* srcPath = "/data/local/tmp/TranscodingTestAssets/longtest_15s.mp4"; in TEST_F() local
364 EXPECT_EQ(transcodeHelper(srcPath, destPath, getAVCVideoFormat, kCancelAfterStart), in TEST_F()
372 const char* srcPath = "/data/local/tmp/TranscodingTestAssets/longtest_15s.mp4"; in TEST_F() local
376 EXPECT_EQ(transcodeHelper(srcPath, destPath, getAVCVideoFormat, kPauseAfterProgress), in TEST_F()
384 const char* srcPath = "/data/local/tmp/TranscodingTestAssets/longtest_15s.mp4"; in TEST_F() local
388 EXPECT_EQ(transcodeHelper(srcPath, destPath, getAVCVideoFormat, kPauseAfterStart), in TEST_F()
396 const char* srcPath = "/data/local/tmp/TranscodingTestAssets/longtest_15s.mp4"; in TEST_F() local
401 EXPECT_EQ(transcodeHelper(srcPath, destPath, getAVCVideoFormat, kCheckHeartBeat, in TEST_F()