/ohos5.0/foundation/multimedia/player_framework/interfaces/kits/c/ |
H A D | native_avscreen_capture.h | 36 struct OH_AVScreenCapture *OH_AVScreenCapture_Create(void); 50 OH_AVSCREEN_CAPTURE_ErrCode OH_AVScreenCapture_Init(struct OH_AVScreenCapture *capture, 62 OH_AVSCREEN_CAPTURE_ErrCode OH_AVScreenCapture_StartScreenCapture(struct OH_AVScreenCapture *captur… 86 OH_AVSCREEN_CAPTURE_ErrCode OH_AVScreenCapture_StopScreenCapture(struct OH_AVScreenCapture *capture… 139 OH_NativeBuffer* OH_AVScreenCapture_AcquireVideoBuffer(struct OH_AVScreenCapture *capture, 183 OH_AVSCREEN_CAPTURE_ErrCode OH_AVScreenCapture_SetCallback(struct OH_AVScreenCapture *capture, 195 OH_AVSCREEN_CAPTURE_ErrCode OH_AVScreenCapture_Release(struct OH_AVScreenCapture *capture); 221 OH_AVSCREEN_CAPTURE_ErrCode OH_AVScreenCapture_SetStateCallback(struct OH_AVScreenCapture *capture, 236 OH_AVSCREEN_CAPTURE_ErrCode OH_AVScreenCapture_SetDataCallback(struct OH_AVScreenCapture *capture, 310 OH_AVSCREEN_CAPTURE_ErrCode OH_AVScreenCapture_ExcludeContent(struct OH_AVScreenCapture *capture, [all …]
|
H A D | native_avscreen_capture_base.h | 42 typedef struct OH_AVScreenCapture OH_AVScreenCapture; typedef 321 typedef void (*OH_AVScreenCaptureOnError)(OH_AVScreenCapture *capture, int32_t errorCode); 336 typedef void (*OH_AVScreenCaptureOnAudioBufferAvailable)(OH_AVScreenCapture *capture, bool isReady, 351 typedef void (*OH_AVScreenCaptureOnVideoBufferAvailable)(OH_AVScreenCapture *capture, bool isReady); 494 typedef void (*OH_AVScreenCapture_OnStateChange)(struct OH_AVScreenCapture *capture, 507 typedef void (*OH_AVScreenCapture_OnError)(OH_AVScreenCapture *capture, int32_t errorCode, void *us… 521 typedef void (*OH_AVScreenCapture_OnBufferAvailable)(OH_AVScreenCapture *capture, OH_AVBuffer *buff…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-media-kit/ |
H A D | _a_v_screen_capture.md | 52 | typedef struct [OH_AVScreenCapture](#oh_avscreencapture) [OH_AVScreenCapture](#oh_avscreencapture… 231 ### OH_AVScreenCapture subsection 237 通过OH_AVScreenCapture可以获取视频与音频的原始码流。 273 | capture | 指向OH_AVScreenCapture实例的指针。 | 286 当OH_AVScreenCapture实例操作期间发生错误时,将调用函数指针。 296 | capture | 指向OH_AVScreenCapture实例的指针。 | 307 当OH_AVScreenCapture实例操作期间发生状态变更时,将调用函数指针。 341 OH_AVScreenCapture中所有异步回调函数指针的集合。将该结构体的实例注册到OH_AVScreenCapture实例中, 并处理回调上报的信息,以保证OH_AVScreenCapture… 394 当OH_AVScreenCapture操作期间音频缓冲区可用时,将调用函数指针。 419 当OH_AVScreenCapture实例运行出错时,将调用函数指针。 [all …]
|
H A D | native__avscreen__capture_8h.md | 26 …OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \* [OH_AVScreenCapture_Create](_a_v… 27 …OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, [OH_AVScreenCaptureConfi… 28 …_screen_capture.md#oh_avscreencapture_startscreencapture) (struct [OH_AVScreenCapture](_a_v_screen… 31 …creen_capture.md#oh_avscreencapture_startscreenrecording) (struct [OH_AVScreenCapture](_a_v_screen… 36 …_screen_capture.md#oh_avscreencapture_releasevideobuffer) (struct [OH_AVScreenCapture](_a_v_screen… 38 …ncapture_release) (struct [OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*captur… 39 …creen_capture.md#oh_avscreencapture_setmicrophoneenabled) (struct [OH_AVScreenCapture](_a_v_screen… 43 …v_screen_capture.md#oh_avscreencapture_setcanvasrotation) (struct [OH_AVScreenCapture](_a_v_screen… 47 …OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, struct [OH_AVScreenCaptu… 49 …](_a_v_screen_capture.md#oh_avscreencapture_resizecanvas) (struct [OH_AVScreenCapture](_a_v_screen… [all …]
|
H A D | native__avscreen__capture__base_8h.md | 34 | struct [OH_AVScreenCaptureCallback](_o_h___a_v_screen_capture_callback.md) | OH_AVScreenCapture中… 44 … [OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) [OH_AVScreenCapture](_a_v_screen_… 61 …captureonerror)) ([OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, int32… 62 …OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, bool isReady, [OH_AudioC… 63 …eobufferavailable)) ([OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, bo… 64 …tureCallback](_a_v_screen_capture.md#oh_avscreencapturecallback) | OH_AVScreenCapture中所有异步回调函数指针的集… 70 …OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, [OH_AVScreenCaptureState… 71 …nerror)) ([OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, int32_t error… 72 …OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, OH_AVBuffer \*buffer, [O…
|
H A D | _o_h___a_v_screen_capture_callback.md | 6 OH_AVScreenCapture中所有异步回调函数指针的集合。将该结构体的实例注册到OH_AVScreenCapture实例中, 并处理回调上报的信息,以保证OH_AVScreenCapture…
|
/ohos5.0/docs/en/application-dev/reference/apis-media-kit/ |
H A D | native__avscreen__capture_8h.md | 6 The **native_avscreen_capture.h** file declares the APIs used to create an **OH_AVScreenCapture** i… 26 …OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \* [OH_AVScreenCapture_Create](_a_v… 27 …OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, [OH_AVScreenCaptureConfi… 28 …_screen_capture.md#oh_avscreencapture_startscreencapture) (struct [OH_AVScreenCapture](_a_v_screen… 31 …creen_capture.md#oh_avscreencapture_startscreenrecording) (struct [OH_AVScreenCapture](_a_v_screen… 36 …_screen_capture.md#oh_avscreencapture_releasevideobuffer) (struct [OH_AVScreenCapture](_a_v_screen… 38 …ure_release) (struct [OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture) | … 39 …creen_capture.md#oh_avscreencapture_setmicrophoneenabled) (struct [OH_AVScreenCapture](_a_v_screen… 43 …v_screen_capture.md#oh_avscreencapture_setcanvasrotation) (struct [OH_AVScreenCapture](_a_v_screen… 47 …OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, struct [OH_AVScreenCaptu… [all …]
|
H A D | _a_v_screen_capture.md | 52 | typedef struct [OH_AVScreenCapture](#oh_avscreencapture) [OH_AVScreenCapture](#oh_avscreencapture… 105 …ruct [OH_AVScreenCapture](#oh_avscreencapture) \* [OH_AVScreenCapture_Create](#oh_avscreencapture_… 245 ### OH_AVScreenCapture subsection 293 | capture | Pointer to an **OH_AVScreenCapture** instance. | 318 | capture | Pointer to an **OH_AVScreenCapture** instance. | 341 | capture | Pointer to an **OH_AVScreenCapture** instance. | 442 | capture | Pointer to an **OH_AVScreenCapture** instance. | 469 | capture | Pointer to an **OH_AVScreenCapture** instance. | 495 | capture | Pointer to an **OH_AVScreenCapture** instance. | 1074 struct OH_AVScreenCapture* OH_AVScreenCapture_Create (void ) [all …]
|
H A D | _o_h___a_v_screen_capture_callback.md | 6 …OH_AVScreenCapture** instance. To ensure the normal running of **OH_AVScreenCapture**, you must re… 26 …ion that is called when an error occurs during the running of an **OH_AVScreenCapture** instance. … 27 …alled when an audio buffer is available during the running of an **OH_AVScreenCapture** instance. … 28 …called when a video buffer is available during the running of an **OH_AVScreenCapture** instance. … 40 …alled when an audio buffer is available during the running of an **OH_AVScreenCapture** instance. … 55 …ion that is called when an error occurs during the running of an **OH_AVScreenCapture** instance. … 70 …called when a video buffer is available during the running of an **OH_AVScreenCapture** instance. …
|
H A D | native__avscreen__capture__base_8h.md | 34 … Describes all the asynchronous callback function pointers of an **OH_AVScreenCapture** instance.| 44 | typedef struct [OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) [OH_AVScreenCaptur… 61 …OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, int32_t errorCode) | Def… 62 …OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, bool isReady, [OH_AudioC… 63 …OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, bool isReady) | Defines … 64 … describes all the asynchronous callback function pointers of an **OH_AVScreenCapture** instance.| 70 …OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, [OH_AVScreenCaptureState… 71 …OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, int32_t errorCode, void … 72 …OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, OH_AVBuffer \*buffer, [O…
|
/ohos5.0/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); 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 *capture, 77 static std::map<OH_AVScreenCapture *, std::shared_ptr<ScreenCaptureCallBackMock>> mockCbMap_; [all …]
|
/ohos5.0/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() 141 OH_AVSCREEN_CAPTURE_ErrCode OnProcessAudioBuffer(struct OH_AVScreenCapture *capture, in OnProcessAudioBuffer() 201 OH_AVSCREEN_CAPTURE_ErrCode OnProcessVideoBuffer(struct OH_AVScreenCapture *capture) in OnProcessVideoBuffer() 358 struct OH_AVScreenCapture *capture_ = nullptr; 421 struct OH_AVScreenCapture *OH_AVScreenCapture_Create(void) in OH_AVScreenCapture_Create() 620 OH_NativeBuffer* OH_AVScreenCapture_AcquireVideoBuffer(struct OH_AVScreenCapture *capture, in OH_AVScreenCapture_AcquireVideoBuffer() 694 OH_AVSCREEN_CAPTURE_ErrCode OH_AVScreenCapture_SetCallback(struct OH_AVScreenCapture *capture, in OH_AVScreenCapture_SetCallback() 717 OH_AVSCREEN_CAPTURE_ErrCode OH_AVScreenCapture_Release(struct OH_AVScreenCapture *capture) in OH_AVScreenCapture_Release() [all …]
|
/ohos5.0/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;
|
/ohos5.0/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 i… in OnAudioBufferAvailable() 35 void TestScreenCaptureNdkCallback::OnVideoBufferAvailable(OH_AVScreenCapture *screenCapture, bool i… 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_AudioCaptur… 53 static void OnVideoBufferAvailable(OH_AVScreenCapture *screenCapture, bool isReady);
|
/ohos5.0/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::m… 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 *… in OnErrorNew() 63 void ScreenCaptureCapiMock::OnBufferAvailable(OH_AVScreenCapture *screenCapture, OH_AVBuffer *buffe… in OnBufferAvailable() 73 void ScreenCaptureCapiMock::OnStateChange(OH_AVScreenCapture *screenCapture, in OnStateChange() 133 std::shared_ptr<ScreenCaptureCallBackMock> ScreenCaptureCapiMock::GetCallback(OH_AVScreenCapture *s… in GetCallback() 145 void ScreenCaptureCapiMock::DelCallback(OH_AVScreenCapture *screenCapture) in DelCallback() 157 void ScreenCaptureCapiMock::SetScreenCaptureCallback(OH_AVScreenCapture *screencapture, in SetScreenCaptureCallback()
|
/ohos5.0/docs/zh-cn/application-dev/media/media/ |
H A D | using-avscreencapture-for-buffer.md | 50 OH_AVScreenCapture* capture = OH_AVScreenCapture_Create(); 230 void OnError(OH_AVScreenCapture *capture, int32_t errorCode, void *userData) { 237 …void OnStageChange(struct OH_AVScreenCapture *capture, OH_AVScreenCaptureStateCode stateCode, void… 262 …void OnBufferAvailable(OH_AVScreenCapture *capture, OH_AVBuffer *buffer, OH_AVScreenCaptureBufferT… 366 void OnError(OH_AVScreenCapture *capture, int32_t errorCode, void *userData) { 373 void OnStageChange(struct OH_AVScreenCapture *capture, OH_AVScreenCaptureStateCode stateCode, void … 398 void OnBufferAvailable(OH_AVScreenCapture *capture, OH_AVBuffer *buffer, OH_AVScreenCaptureBufferTy… 456 struct OH_AVScreenCapture *capture;
|
H A D | using-avscreencapture-for-file.md | 45 OH_AVScreenCapture* capture = OH_AVScreenCapture_Create(); 139 void OnStateChange(struct OH_AVScreenCapture *capture, OH_AVScreenCaptureStateCode stateCode, void … 204 struct OH_AVScreenCapture *capture = OH_AVScreenCapture_Create();
|
/ohos5.0/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()
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkacquireaudiobuffer_fuzzer/ |
H A D | screencaptureacquireaudiobuffer_ndk_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkacquirevideobuffer_fuzzer/ |
H A D | screencaptureacquirevideobuffer_ndk_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkaudiobitratefile_fuzzer/ |
H A D | screencaptureaudiobitratefile_ndk_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkaudiochannels_fuzzer/ |
H A D | screencaptureaudiochannels_ndk_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkaudiocodecformatfile_fuzzer/ |
H A D | screencaptureaudiocodecformatfile_ndk_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkaudiosamplerate_fuzzer/ |
H A D | screencaptureaudiosamplerate_ndk_fuzzer.h | 37 OH_AVScreenCapture* screenCapture = nullptr;
|