Home
last modified time | relevance | path

Searched refs:OH_AVScreenCapture (Results 1 - 25 of 31) sorted by relevance

12

/foundation/multimedia/player_framework/interfaces/kits/c/
H A Dnative_avscreen_capture.h32 * @return Returns a pointer to an OH_AVScreenCapture instance
36 struct OH_AVScreenCapture *OH_AVScreenCapture_Create(void);
43 * @param capture Pointer to an OH_AVScreenCapture instance
50 OH_AVSCREEN_CAPTURE_ErrCode OH_AVScreenCapture_Init(struct OH_AVScreenCapture *capture,
56 * @param capture Pointer to an OH_AVScreenCapture instance
62 OH_AVSCREEN_CAPTURE_ErrCode OH_AVScreenCapture_StartScreenCapture(struct OH_AVScreenCapture *capture);
67 * @param capture Pointer to an OH_AVScreenCapture instance
74 OH_AVSCREEN_CAPTURE_ErrCode OH_AVScreenCapture_StartScreenCaptureWithSurface(struct OH_AVScreenCapture *capture,
80 * @param capture Pointer to an OH_AVScreenCapture instance
86 OH_AVSCREEN_CAPTURE_ErrCode OH_AVScreenCapture_StopScreenCapture(struct OH_AVScreenCapture *captur
[all...]
H A Dnative_avscreen_capture_base.h42 typedef struct OH_AVScreenCapture OH_AVScreenCapture; typedef
311 * @brief When an error occurs in the running of the OH_AVScreenCapture instance, the function pointer will be called
313 * @param capture Pointer to an OH_AVScreenCapture instance
321 typedef void (*OH_AVScreenCaptureOnError)(OH_AVScreenCapture *capture, int32_t errorCode);
324 * @brief When audio buffer is available during the operation of OH_AVScreenCapture, the function pointer will
327 * @param capture Pointer to an OH_AVScreenCapture instance
336 typedef void (*OH_AVScreenCaptureOnAudioBufferAvailable)(OH_AVScreenCapture *capture, bool isReady,
340 * @brief When video buffer is available during the operation of OH_AVScreenCapture, the function pointer will
343 * @param capture Pointer to an OH_AVScreenCapture instanc
[all...]
/foundation/multimedia/player_framework/test/unittest/screen_capture_test/capi/include/
H A Dscreen_capture_capi_mock.h25 explicit ScreenCaptureCapiMock(OH_AVScreenCapture* screencapture) : screenCapture_(screencapture) {} in ScreenCaptureCapiMock()
62 static void SetScreenCaptureCallback(OH_AVScreenCapture *screencapture,
64 static std::shared_ptr<ScreenCaptureCallBackMock> GetCallback(OH_AVScreenCapture *screenCapture);
65 static void DelCallback(OH_AVScreenCapture *screenCapture);
66 static void OnError(OH_AVScreenCapture *screenCapture, int32_t errorCode);
67 static void OnAudioBufferAvailable(OH_AVScreenCapture *screenCapture, bool isReady, OH_AudioCaptureSourceType type);
68 static void OnVideoBufferAvailable(OH_AVScreenCapture *screenCapture, bool isReady);
69 static void OnErrorNew(OH_AVScreenCapture *screenCapture, int32_t errorCode, void *userData);
70 static void OnBufferAvailable(OH_AVScreenCapture *screenCapture, OH_AVBuffer *buffer,
72 static void OnStateChange(struct OH_AVScreenCapture *captur
[all...]
/foundation/multimedia/player_framework/frameworks/native/capi/common/
H A Dnative_player_magic.h23 struct OH_AVScreenCapture : public OHOS::RefBase { struct
24 OH_AVScreenCapture() = default;
25 virtual ~OH_AVScreenCapture() = default;
/foundation/multimedia/player_framework/test/fuzztest/common/
H A Dtest_ndk_screen_capture.cpp24 void TestScreenCaptureNdkCallback::OnError(OH_AVScreenCapture *screenCapture, int32_t errorCode) in OnError()
29 void TestScreenCaptureNdkCallback::OnAudioBufferAvailable(OH_AVScreenCapture *screenCapture, bool isReady, in OnAudioBufferAvailable()
35 void TestScreenCaptureNdkCallback::OnVideoBufferAvailable(OH_AVScreenCapture *screenCapture, bool isReady) in OnVideoBufferAvailable()
H A Dtest_ndk_screen_capture.h51 static void OnError(OH_AVScreenCapture *screenCapture, int32_t errorCode);
52 static void OnAudioBufferAvailable(OH_AVScreenCapture *screenCapture, bool isReady, OH_AudioCaptureSourceType type);
53 static void OnVideoBufferAvailable(OH_AVScreenCapture *screenCapture, bool isReady);
/foundation/multimedia/player_framework/frameworks/native/capi/screencapture/
H A Dnative_avscreen_capture.cpp43 struct ScreenCaptureObject : public OH_AVScreenCapture {
58 void OnStateChange(struct OH_AVScreenCapture *capture, AVScreenCaptureStateCode infoType) in OnStateChange()
75 void OnError(struct OH_AVScreenCapture *capture, int32_t errorCode) in OnError()
92 void OnBufferAvailable(struct OH_AVScreenCapture *capture, OH_AVScreenCaptureBufferType bufferType) in OnBufferAvailable()
141 OH_AVSCREEN_CAPTURE_ErrCode OnProcessAudioBuffer(struct OH_AVScreenCapture *capture, in OnProcessAudioBuffer()
201 OH_AVSCREEN_CAPTURE_ErrCode OnProcessVideoBuffer(struct OH_AVScreenCapture *capture) in OnProcessVideoBuffer()
227 NativeScreenCaptureCallback(struct OH_AVScreenCapture *capture, struct OH_AVScreenCaptureCallback callback) in NativeScreenCaptureCallback()
358 struct OH_AVScreenCapture *capture_ = nullptr;
404 OH_AVSCREEN_CAPTURE_ErrCode OH_AVScreenCapture_ExcludeContent(struct OH_AVScreenCapture *capture, in OH_AVScreenCapture_ExcludeContent()
421 struct OH_AVScreenCapture *OH_AVScreenCapture_Creat
[all...]
/foundation/multimedia/player_framework/test/unittest/screen_capture_test/capi/src/
H A Dscreen_capture_capi_mock.cpp26 std::map<OH_AVScreenCapture *, std::shared_ptr<ScreenCaptureCallBackMock>> ScreenCaptureCapiMock::mockCbMap_;
30 void ScreenCaptureCapiMock::OnError(OH_AVScreenCapture *screenCapture, int32_t errorCode) in OnError()
38 void ScreenCaptureCapiMock::OnAudioBufferAvailable(OH_AVScreenCapture *screenCapture, bool isReady, in OnAudioBufferAvailable()
47 void ScreenCaptureCapiMock::OnVideoBufferAvailable(OH_AVScreenCapture *screenCapture, bool isReady) in OnVideoBufferAvailable()
55 void ScreenCaptureCapiMock::OnErrorNew(OH_AVScreenCapture *screenCapture, int32_t errorCode, void *userData) in OnErrorNew()
63 void ScreenCaptureCapiMock::OnBufferAvailable(OH_AVScreenCapture *screenCapture, OH_AVBuffer *buffer, in OnBufferAvailable()
73 void ScreenCaptureCapiMock::OnStateChange(OH_AVScreenCapture *screenCapture, in OnStateChange()
133 std::shared_ptr<ScreenCaptureCallBackMock> ScreenCaptureCapiMock::GetCallback(OH_AVScreenCapture *screenCapture) in GetCallback()
145 void ScreenCaptureCapiMock::DelCallback(OH_AVScreenCapture *screenCapture) in DelCallback()
157 void ScreenCaptureCapiMock::SetScreenCaptureCallback(OH_AVScreenCapture *screencaptur
[all...]
/foundation/multimedia/player_framework/test/unittest/screen_capture_test/capi/
H A Dscreen_capture_mock_factory.cpp24 OH_AVScreenCapture* screencap = OH_AVScreenCapture_Create(); in CreateScreenCapture()
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkacquirevideobuffer_fuzzer/
H A Dscreencaptureacquirevideobuffer_ndk_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkaudiobitratefile_fuzzer/
H A Dscreencaptureaudiobitratefile_ndk_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkfileformatfile_fuzzer/
H A Dscreencapturefileformatfile_ndk_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkdatatype_fuzzer/
H A Dscreencapturedatatype_ndk_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkvideobitratefile_fuzzer/
H A Dscreencapturevideobitratefile_ndk_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkvideocodecfile_fuzzer/
H A Dscreencapturevideocodecfile_ndk_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkaudiocodecformatfile_fuzzer/
H A Dscreencaptureaudiocodecformatfile_ndk_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkaudiosamplerate_fuzzer/
H A Dscreencaptureaudiosamplerate_ndk_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendksetcanvasrotation_fuzzer/
H A Dscreencapturesetcanvasrotation_ndk_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendksetmaxframerate_fuzzer/
H A Dscreencapture_set_max_framerate_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkresizecanvas_fuzzer/
H A Dscreencaptureresizecanvas_ndk_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkacquireaudiobuffer_fuzzer/
H A Dscreencaptureacquireaudiobuffer_ndk_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkaudiosourcetype_fuzzer/
H A Dscreencaptureaudiosourcetype_ndk_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkcapturemode_fuzzer/
H A Dscreencapturecapturemode_ndk_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkskipprivacymode_fuzzer/
H A Dscreencaptureskipprivacymode_ndk_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkurlfile_fuzzer/
H A Dscreencaptureurlfile_ndk_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;

Completed in 7 milliseconds

12