Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/test/
H A Dtest_common.cpp102 int32_t TestUtils::SaveVideoFile(const char* buffer, int32_t size, VideoSaveMode operationMode, int… in SaveVideoFile()
106 if (operationMode == VideoSaveMode::CREATE) { in SaveVideoFile()
119 } else if (operationMode == VideoSaveMode::APPEND && fd != -1) { in SaveVideoFile()
367 …if (fd_ == -1 && (TestUtils::SaveVideoFile(nullptr, 0, VideoSaveMode::CREATE, fd_) != CAMERA_OK)) { in OnBufferAvailable()
370 if (TestUtils::SaveVideoFile(addr, size, VideoSaveMode::APPEND, fd_) != CAMERA_OK) { in OnBufferAvailable()
H A Dtest_common.h23 enum class VideoSaveMode { enum
64 …static int32_t SaveVideoFile(const char* buffer, int32_t size, VideoSaveMode operationMode, int32_…
H A Dcamera_video.cpp509 TestUtils::SaveVideoFile(nullptr, 0, VideoSaveMode::CLOSE, g_videoFd); in main()
H A Dcamera_capture_video.cpp258 result = TestUtils::SaveVideoFile(nullptr, 0, VideoSaveMode::CLOSE, fd_); in RecordVideo()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/src/
H A Dcamera_framework_moduletest.cpp1394 TestUtils::SaveVideoFile(nullptr, 0, VideoSaveMode::CLOSE, g_videoFd);
1577 TestUtils::SaveVideoFile(nullptr, 0, VideoSaveMode::CLOSE, g_videoFd);
2047 TestUtils::SaveVideoFile(nullptr, 0, VideoSaveMode::CLOSE, g_videoFd);
2156 TestUtils::SaveVideoFile(nullptr, 0, VideoSaveMode::CLOSE, g_videoFd);
2381 TestUtils::SaveVideoFile(nullptr, 0, VideoSaveMode::CLOSE, g_videoFd);
2628 TestUtils::SaveVideoFile(nullptr, 0, VideoSaveMode::CLOSE, g_videoFd);
2694 TestUtils::SaveVideoFile(nullptr, 0, VideoSaveMode::CLOSE, g_videoFd);
2775 TestUtils::SaveVideoFile(nullptr, 0, VideoSaveMode::CLOSE, g_videoFd);
9528 TestUtils::SaveVideoFile(nullptr, 0, VideoSaveMode::CLOSE, g_videoFd);
12323 TestUtils::SaveVideoFile(nullptr, 0, VideoSaveMode::CLOSE, g_videoFd);
[all …]