/foundation/multimedia/player_framework/interfaces/kits/c/ |
H A D | native_avscreen_capture.h | 32 * @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 D | native_avscreen_capture_base.h | 42 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 D | screen_capture_capi_mock.h | 25 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 D | native_player_magic.h | 23 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 D | test_ndk_screen_capture.cpp | 24 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 D | test_ndk_screen_capture.h | 51 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 D | native_avscreen_capture.cpp | 43 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 D | screen_capture_capi_mock.cpp | 26 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 D | screen_capture_mock_factory.cpp | 24 OH_AVScreenCapture* screencap = OH_AVScreenCapture_Create(); in CreateScreenCapture()
|
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkacquirevideobuffer_fuzzer/ |
H A D | screencaptureacquirevideobuffer_ndk_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkaudiobitratefile_fuzzer/ |
H A D | screencaptureaudiobitratefile_ndk_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkfileformatfile_fuzzer/ |
H A D | screencapturefileformatfile_ndk_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkdatatype_fuzzer/ |
H A D | screencapturedatatype_ndk_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkvideobitratefile_fuzzer/ |
H A D | screencapturevideobitratefile_ndk_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkvideocodecfile_fuzzer/ |
H A D | screencapturevideocodecfile_ndk_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkaudiocodecformatfile_fuzzer/ |
H A D | screencaptureaudiocodecformatfile_ndk_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkaudiosamplerate_fuzzer/ |
H A D | screencaptureaudiosamplerate_ndk_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendksetcanvasrotation_fuzzer/ |
H A D | screencapturesetcanvasrotation_ndk_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendksetmaxframerate_fuzzer/ |
H A D | screencapture_set_max_framerate_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkresizecanvas_fuzzer/ |
H A D | screencaptureresizecanvas_ndk_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkacquireaudiobuffer_fuzzer/ |
H A D | screencaptureacquireaudiobuffer_ndk_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkaudiosourcetype_fuzzer/ |
H A D | screencaptureaudiosourcetype_ndk_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkcapturemode_fuzzer/ |
H A D | screencapturecapturemode_ndk_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkskipprivacymode_fuzzer/ |
H A D | screencaptureskipprivacymode_ndk_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkurlfile_fuzzer/ |
H A D | screencaptureurlfile_ndk_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|