Home
last modified time | relevance | path

Searched refs:srcPath (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/libmediatranscoding/transcoder/tests/
DMediaTranscoderTests.cpp102 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()
[all …]
DHdrTranscodeTests.cpp58 std::string srcPath = mSrcDir + srcFile; in transcode() local
64 const int srcFd = open(srcPath.c_str(), O_RDONLY); in transcode()
120 std::string srcPath = mSrcDir + hdrFile; in hdrToSdrConversionSupported() local
123 auto format = TranscoderTestUtils::GetVideoFormat(srcPath, &mime); in hdrToSdrConversionSupported()
/frameworks/native/cmds/rawbu/
Dbackup.cpp255 static int backup_dir(FILE* fh, const char* srcPath) in backup_dir() argument
260 int srcLen = strlen(srcPath); in backup_dir()
264 dir = opendir(srcPath); in backup_dir()
268 srcPath, strerror(errno)); in backup_dir()
290 strcpy(fullPath, srcPath); in backup_dir()
502 static int restore_data(const char* srcPath) in restore_data() argument
506 FILE* fh = fopen(srcPath, "r"); in restore_data()
509 srcPath, strerror(errno)); in restore_data()
526 backupFilePath = strdup(srcPath); in restore_data()
533 printf("Restoring from %s to /data...\n", srcPath); in restore_data()
/frameworks/av/media/libmediatranscoding/transcoder/benchmark/
DMediaSampleReaderBenchmark.cpp50 std::string srcPath = kAssetDirectory + srcFileName; in ReadMediaSamples() local
52 if ((srcFd = open(srcPath.c_str(), O_RDONLY)) < 0) { in ReadMediaSamples()
DMediaTrackTranscoderBenchmark.cpp256 std::string srcPath = kAssetDirectory + srcFileName; in GetSampleReader() local
258 if ((srcFd = open(srcPath.c_str(), O_RDONLY)) < 0) { in GetSampleReader()
DMediaTranscoderBenchmark.cpp129 std::string srcPath = kAssetDirectory + srcFileName; in TranscodeMediaFile() local
134 if ((srcFd = open(srcPath.c_str(), O_RDONLY)) < 0) { in TranscodeMediaFile()
/frameworks/av/services/mediatranscoding/tests/
Dmediatranscodingservice_real_tests.cpp58 const char* srcPath = "bad_file_uri"; in TEST_F() local
63 mClient1->submit(0, srcPath, dstPath, TranscodingSessionPriority::kNormal, kBitRate)); in TEST_F()
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in1144 void API_ENTRY(glCopyPathNV)(GLuint resultPath, GLuint srcPath) {
1145 CALL_GL_API(glCopyPathNV, resultPath, srcPath);
1150 void API_ENTRY(glTransformPathNV)(GLuint resultPath, GLuint srcPath, GLenum transformType, const GL…
1151 CALL_GL_API(glTransformPathNV, resultPath, srcPath, transformType, transformValues);
/frameworks/native/opengl/include/GLES2/
Dgl2ext.h3091 typedef void (GL_APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
3093 typedef void (GL_APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum tra…
3168 GL_APICALL void GL_APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath);
3170 GL_APICALL void GL_APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformT…
/frameworks/base/services/incremental/test/
DIncrementalServiceTest.cpp490 std::string srcPath = "src"; in getBindPointMetadata() local
493 bp.set_allocated_source_subdir(&srcPath); in getBindPointMetadata()
/frameworks/native/opengl/libs/
Dentries.in117 GL_ENTRY(void, glCopyPathNV, GLuint resultPath, GLuint srcPath)
910 GL_ENTRY(void, glTransformPathNV, GLuint resultPath, GLuint srcPath, GLenum transformType, const GL…