Home
last modified time | relevance | path

Searched refs:OH_AVScreenCapture (Results 1 – 25 of 43) sorted by relevance

12

/ohos5.0/foundation/multimedia/player_framework/interfaces/kits/c/
H A Dnative_avscreen_capture.h36 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 Dnative_avscreen_capture_base.h42 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.md52 | typedef struct [OH_AVScreenCapture](#oh_avscreencapture) [OH_AVScreenCapture](#oh_avscreencapture…
231 ### OH_AVScreenCapture subsection
237 通过OH_AVScreenCapture可以获取视频与音频的原始码流。
273 | capture | 指向OH_AVScreenCapture实例的指针。 |
286OH_AVScreenCapture实例操作期间发生错误时,将调用函数指针。
296 | capture | 指向OH_AVScreenCapture实例的指针。 |
307OH_AVScreenCapture实例操作期间发生状态变更时,将调用函数指针。
341 OH_AVScreenCapture中所有异步回调函数指针的集合。将该结构体的实例注册到OH_AVScreenCapture实例中, 并处理回调上报的信息,以保证OH_AVScreenCapture
394OH_AVScreenCapture操作期间音频缓冲区可用时,将调用函数指针。
419OH_AVScreenCapture实例运行出错时,将调用函数指针。
[all …]
H A Dnative__avscreen__capture_8h.md26OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \* [OH_AVScreenCapture_Create](_a_v…
27OH_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…
47OH_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 Dnative__avscreen__capture__base_8h.md34 | 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…
62OH_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中所有异步回调函数指针的集…
70OH_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…
72OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, OH_AVBuffer \*buffer, [O…
H A D_o_h___a_v_screen_capture_callback.md6 OH_AVScreenCapture中所有异步回调函数指针的集合。将该结构体的实例注册到OH_AVScreenCapture实例中, 并处理回调上报的信息,以保证OH_AVScreenCapture
/ohos5.0/docs/en/application-dev/reference/apis-media-kit/
H A Dnative__avscreen__capture_8h.md6 The **native_avscreen_capture.h** file declares the APIs used to create an **OH_AVScreenCapture** i…
26OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \* [OH_AVScreenCapture_Create](_a_v…
27OH_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…
47OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, struct [OH_AVScreenCaptu…
[all …]
H A D_a_v_screen_capture.md52 | 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.md6OH_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 Dnative__avscreen__capture__base_8h.md34 … 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…
61OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, int32_t errorCode) | Def…
62OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, bool isReady, [OH_AudioC…
63OH_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.|
70OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, [OH_AVScreenCaptureState…
71OH_AVScreenCapture](_a_v_screen_capture.md#oh_avscreencapture) \*capture, int32_t errorCode, void …
72OH_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 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);
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 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()
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 Dnative_player_magic.h23 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 Dtest_ndk_screen_capture.cpp24 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 Dtest_ndk_screen_capture.h51 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 Dscreen_capture_capi_mock.cpp26 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 Dusing-avscreencapture-for-buffer.md50 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 Dusing-avscreencapture-for-file.md45 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 Dscreen_capture_mock_factory.cpp24 OH_AVScreenCapture* screencap = OH_AVScreenCapture_Create(); in CreateScreenCapture()
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkacquireaudiobuffer_fuzzer/
H A Dscreencaptureacquireaudiobuffer_ndk_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkacquirevideobuffer_fuzzer/
H A Dscreencaptureacquirevideobuffer_ndk_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkaudiobitratefile_fuzzer/
H A Dscreencaptureaudiobitratefile_ndk_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkaudiochannels_fuzzer/
H A Dscreencaptureaudiochannels_ndk_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkaudiocodecformatfile_fuzzer/
H A Dscreencaptureaudiocodecformatfile_ndk_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;
/ohos5.0/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturendkaudiosamplerate_fuzzer/
H A Dscreencaptureaudiosamplerate_ndk_fuzzer.h37 OH_AVScreenCapture* screenCapture = nullptr;

12