/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_video.cpp | 51 video->SetMute(StringToBool(val)); in SetSpecializedAttr() 55 video->SetSrc(val); in SetSpecializedAttr() 63 video->SetPoster(val); in SetSpecializedAttr() 71 video->SetLoop(StringToBool(val)); in SetSpecializedAttr() 81 video->SetDirection(val); in SetSpecializedAttr() 120 …[](const RefPtr<VideoComponent>& video, const EventMarker& event) { video->SetStartEventId(event);… in AddSpecializedEvent() 122 …[](const RefPtr<VideoComponent>& video, const EventMarker& event) { video->SetPauseEventId(event);… in AddSpecializedEvent() 124 …[](const RefPtr<VideoComponent>& video, const EventMarker& event) { video->SetStopEventId(event); … in AddSpecializedEvent() 126 …[](const RefPtr<VideoComponent>& video, const EventMarker& event) { video->SetFinishEventId(event)… in AddSpecializedEvent() 128 …[](const RefPtr<VideoComponent>& video, const EventMarker& event) { video->SetErrorEventId(event);… in AddSpecializedEvent() [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-media-kit/ |
H A D | _video_processing.md | 6 … the APIs for video processing. It provides video processing capabilities, including color space c… 137 - **VIDEO_PROCESSING_ERROR_INVALID_VALUE**: invalid video attribute. For example, the video color s… 350 Enumerates the video processing states. 373 Creates a video processing instance. 431 Destroys a video processing instance. 462 Obtains video processing parameters. 492 Obtains a surface for video processing. 597 Registers a callback for video processing. 666 Sets video processing parameters. 732 Starts video processing. [all …]
|
H A D | video__processing_8h.md | 6 The **video_processing.h** file declares the video processing functions. 8 It provides video processing capabilities, including color space conversion, metadata generation, a… 28 …oh_videoprocessing_initializeenvironment) (void) | Initializes the global video processing environ… 29 …#oh_videoprocessing_deinitializeenvironment) (void) | Releases the global video processing environ… 31 …md) \*sourceVideoInfo) | Checks whether metadata generation is supported during video processing.| 32 …ocessing.md#oh_videoprocessing) \*\*videoProcessor, int type) | Creates a video processing instanc… 33 …](_video_processing.md#oh_videoprocessing) \*videoProcessor) | Destroys a video processing instanc… 39 …Processing](_video_processing.md#oh_videoprocessing) \*videoProcessor) | Starts video processing.| 40 …oProcessing](_video_processing.md#oh_videoprocessing) \*videoProcessor) | Stops video processing.| 42 …(_video_processing.md#videoprocessing_callback) \*\*callback) | Creates a video processing callbac… [all …]
|
H A D | video__processing__types_8h.md | 6 The **video_processing_types.h** file declares the video processing types. 26 …eo_processing___color_space_info.md) | Describes the color space information of video processing.| 33 …sing](_video_processing.md#oh_videoprocessing) | Defines a struct for the video processing object.… 38 …_video_processing.md#videoprocessing_errorcode) | Defines an enum for the video processing error c… 39 …te](_video_processing.md#videoprocessing_state) | Defines an enum for the video processing states.… 40 …_video_processing.md#videoprocessing_callback) | Defines a struct for the video processing callbac… 52 …SSING_STATE_RUNNING,<br>VIDEO_PROCESSING_STATE_STOPPED } | Enumerates the video processing states.… 59 …pe_color_space_conversion) | Instance created for color space conversion during video processing.| 60 …ing_type_metadata_generation) | Instance created for metadata generation during video processing.| 61 …video_processing_type_detail_enhancer) | Instance for detail enhancement during video processing.| [all …]
|
/ohos5.0/foundation/distributeddatamgr/udmf/framework/jskitsimpl/data/ |
H A D | video_napi.cpp | 48 auto *video = new (std::nothrow) VideoNapi(); in New() local 50 video->value_ = std::make_shared<Video>(); in New() 51 ASSERT_CALL(env, napi_wrap(env, ctxt->self, video, Destructor, nullptr, nullptr), video); in New() 59 auto *video = new (std::nothrow) VideoNapi(); in NewInstance() local 62 ASSERT_CALL_DELETE(env, napi_wrap(env, out, video, Destructor, nullptr, nullptr), video); in NewInstance() 68 auto *video = static_cast<VideoNapi *>(data); in Destructor() local 70 delete video; in Destructor() 85 auto video = GetVideo(env, info, ctxt); in GetVideoUri() local 87 … ctxt->env, (video != nullptr && video->value_ != nullptr), Status::E_ERROR, "invalid object!"); in GetVideoUri() 109 … ctxt->env, (video != nullptr && video->value_ != nullptr), Status::E_ERROR, "invalid object!"); in SetVideoUri() [all …]
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-common-components-video-player.md | 4 …video and control its playback. It is usually used in video players and video list pages within ap… 13 …video source, **currentProgressRate** indicates the video playback speed, **previewUri** indicates… 23 - Common local video 25 …To load a local video, specify the corresponding video file in the local **rawfile** directory, as… 29 Use **$rawfile()** to reference the video resource. 118 …video.md#attributes) of the **Video** component to control video playback. For example, you can se… 131 .muted(false) // Set whether to mute the video. 134 .loop(false) // Set whether to repeat the video. 180 The video controller is used to control video playback. For details, see [VideoController](../refer… 184 …asic features: start playback, pause playback, set the video playback position, and play the video… [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-avcodec-kit/ |
H A D | native__avcodec__videoencoder_8h.md | 6 The **native_avcodec_videoencoder.h** file declares the native APIs used for video encoding. 30 …mode-1) { CBR = 0, VBR = 1, CQ = 2 } | Enumerates the bit rate modes of a video encoder. (This enu… 38 …_encoder.md#oh_videoencoder_createbyname) (const char \*name) | Creates a video encoder instance b… 43 …ormat \*format) | Configures a video encoder. Typically, you need to configure the description inf… 44 …#oh_videoencoder_prepare) (OH_AVCodec \*codec) | Prepares internal resources for a video encoder.| 46 …coder_Stop](_video_encoder.md#oh_videoencoder_stop) (OH_AVCodec \*codec) | Stops a video encoder.| 47 …OH_AVCodec \*codec) | Clears the input and output data in the internal buffer of a video encoder.| 48 …er_Reset](_video_encoder.md#oh_videoencoder_reset) (OH_AVCodec \*codec) | Resets a video encoder.| 53 …r.md#oh_videoencoder_notifyendofstream) (OH_AVCodec \*codec) | Notifies a video encoder that input… 58 …_getinputdescription) (OH_AVCodec \*codec) | Obtains the description received by a video encoder.| [all …]
|
H A D | native__avcodec__videodecoder_8h.md | 6 The **native_avcodec_videodecoder.h** file declares the native APIs used for video decoding. 22 …_decoder.md#oh_videodecoder_createbymime) (const char \*mime) | Creates a video decoder instance b… 23 …_decoder.md#oh_videodecoder_createbyname) (const char \*name) | Creates a video decoder instance b… 24 …(_codec_base.md#oh_avcodec) \*codec) | Clears the internal resources of a video decoder and destro… 28 …(_core.md#oh_avformat) \*format) | Configures a video decoder. Typically, you need to configure th… 29 …H_AVCodec](_codec_base.md#oh_avcodec) \*codec) | Prepares internal resources for a video decoder.| 31 …#oh_videodecoder_stop) ([OH_AVCodec](_codec_base.md#oh_avcodec) \*codec) | Stops a video decoder.| 32 …h_avcodec) \*codec) | Clears the input and output data in the internal buffer of a video decoder.| 38 …(_codec_base.md#oh_avcodec) \*codec, uint32_t index) | Frees an output buffer of a video decoder.| 42 …(_codec_base.md#oh_avcodec) \*codec, uint32_t index) | Frees an output buffer of a video decoder.| [all …]
|
H A D | _a_v_capability.md | 204 Checks whether a video codec supports the combination of a video size and frame rate. 497 Obtains the video frame rate range supported by a video codec. 524 Obtains the video frame rate range supported by a video codec based on a given video size. 553 Obtains the video height alignment supported by a video codec. 580 Obtains the video height range supported by a video codec. 607 Obtains the video height range supported by a video codec based on a given width. 635 Obtains the video pixel formats supported by a video codec. 663 Obtains the video width alignment supported by a video codec. 690 Obtains the video width range supported by a video codec. 717 Obtains the video width range supported by a video codec based on a given height. [all …]
|
H A D | native__avcapability_8h.md | 57 … \*capability, int32_t \*widthAlignment) | Obtains the video width alignment supported by a video … 58 …\*capability, int32_t \*heightAlignment) | Obtains the video height alignment supported by a video… 59 …VRange](_o_h___a_v_range.md) \*widthRange) | Obtains the video width range supported by a video co… 60 …Range](_o_h___a_v_range.md) \*heightRange) | Obtains the video height range supported by a video c… 61 …VRange](_o_h___a_v_range.md) \*widthRange) | Obtains the video width range supported by a video co… 62 …Range](_o_h___a_v_range.md) \*heightRange) | Obtains the video height range supported by a video c… 63 …bility, int32_t width, int32_t height) | Checks whether a video codec supports a specific video si… 64 …](_o_h___a_v_range.md) \*frameRateRange) | Obtains the video frame rate range supported by a video… 65 …nge.md) \*frameRateRange) | Obtains the video frame rate range supported by a video codec based on… 66 …nt32_t height, int32_t frameRate) | Checks whether a video codec supports the combination of a vid… [all …]
|
H A D | _video_decoder.md | 6 The VideoDecoder module provides the APIs for video decoding. 99 | codec | Pointer to a video decoder instance. | 169 | name | Pointer to a video decoder name. | 194 | codec | Pointer to a video decoder instance. | 256 Frees an output buffer of a video decoder. 270 | codec | Pointer to a video decoder instance.| 537 | codec | Pointer to a video decoder instance. | 612 …video channel is used. The value **true** means a secure video channel, and **false** means a non-… 642 Sets dynamic parameters for a video decoder. 685 Sets an output surface for a video decoder. [all …]
|
H A D | _video_encoder.md | 6 The VideoEncoder module provides the APIs for video encoding. 10 - [Video Encoding](../../media/avcodec/video-encoding.md) 99 | codec | Pointer to a video encoder instance. | 116 Enumerates the bit rate modes of a video encoder. 186 | codec | Pointer to a video encoder instance. | 254 | name | Pointer to a video encoder name. | 279 | codec | Pointer to a video encoder instance. | 316 | codec | Pointer to a video encoder instance. | 355 | codec | Pointer to a video encoder instance. | 399 | codec | Pointer to a video encoder instance. | [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-media-library-kit/ |
H A D | ohos-file-RecentPhotoComponent.md | 48 Represents the configuration of the latest image or video. 62 Represents information about the latest image or video. 77 Called to return the query result of the latest image or video. 93 Called when the latest image or video is selected. 109 | boolean | Processing result of the latest image or video.| 130 Enumerates the sources of the image or video data. 139 | CAMERA | 1 | Photo or video taken by the camera.| 140 | SCREENSHOT | 2 | Screenshot or screen capture video.| 171 // Photo or video that meets the search criteria exists. 178 // Return the photo or video. [all …]
|
/ohos5.0/docs/en/application-dev/media/avcodec/ |
H A D | avcodec-kit-intro.md | 9 …video calling and video recording applications) can send uncompressed video data to the video enco… 11 …ecoding: Video applications (such as video calling application and video player) can send video st… 12 …ons (such as audio and video players) can parse media files stored locally or received from the In… 18 - Hardware acceleration for video codecs: H.264, H.265, and H.265 10-bit hardware codecs are suppor… 23 - Audio and video encoding: process of converting uncompressed audio and video data into another fo… 24 - Audio and video decoding: process of converting a data format into an uncompressed original seque… 29 …In the case of audio and video, a sample typically means compressed data that has the same decodin… 38 The input of video encoding and the output of video decoding are in surface mode. 42 The following figure shows the video encoding and decoding logic. 46 …ee [Video Decoding in Surface Output](video-decoding.md#surface-output) and [Video Encoding in Sur… [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/ |
H A D | ArkVideo.ts | 25 getUINativeModule().video.resetObjectFit(node); 27 getUINativeModule().video.setObjectFit(node, this.value!); 41 getUINativeModule().video.resetAutoPlay(node); 43 getUINativeModule().video.setAutoPlay(node, this.value!); 54 getUINativeModule().video.resetControls(node); 67 getUINativeModule().video.resetLoop(node); 69 getUINativeModule().video.setLoop(node, this.value!); 80 getUINativeModule().video.resetMuted(node); 82 getUINativeModule().video.setMuted(node, this.value!); 96 getUINativeModule().video.resetOpacity(node); [all …]
|
/ohos5.0/docs/en/application-dev/media/media/ |
H A D | media-kit-intro.md | 7 - [AVPlayer](#avplayer): plays audio and video clips. 13 - [AVTranscoder](#avtranscoder): video transcoding. 21 - HDR video 81 3. The player framework outputs the video elementary streams (ESs) to the decoding HDI to obtain vi… 191 … AVRecorder, you can implement pure audio recording, pure video recording, and audio and video rec… 201 4. The player framework encodes video data through the video HDI. 225 | video/hevc | Video encoding format HEVC.| 226 | video/avc | Video encoding format AVC.| 292 For details about the supported audio and video sources, see [Demuxing Media Data](../avcodec/audio… 300 For details about the supported video sources, see [Video Decoding](../avcodec/video-decoding.md). [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-media-video.md | 1 # video chapter 8 The **\<video>** component provides a video player. 22 | muted | boolean | false | No | Whether the video is muted. | 23 | src | string | - | No | Path of the video content to play. … 49 …| { duration: value }<sup>5+</sup> | Triggered when the video preparation is complete. The video d… 50 | start | - | Triggered when the video is played. … 65 | start | - | Starts playing a video. | 66 | pause | - | Pauses a video. | 67 | setCurrentTime | { currenttime: value } | Sets the video playback position, in seconds.| 78 <video id='videoId' src='/common/myDeram.mp4' muted='false' autoplay='false' [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/video/video001/ |
H A D | index.js | 28 var video = this.$refs.vid; 29 video.start(); 33 var video = this.$refs.vid; 34 video.pause(); 38 var video = this.$refs.vid; 39 video.setCurrentTime(10); 55 var video = this.$refs.vid; 56 video.setCurrentTime(value.progress);
|
/ohos5.0/drivers/peripheral/codec/hal/idl_service/src/ |
H A D | codec_component_config.cpp | 328 {CODEC_CONFIG_KEY_MIN_WIDTH, cap.port.video.minSize.width, 0}, in GetVideoPortCapability() 329 {CODEC_CONFIG_KEY_MIN_HEIGHT, cap.port.video.minSize.height, 0}, in GetVideoPortCapability() 330 {CODEC_CONFIG_KEY_MAX_WIDTH, cap.port.video.maxSize.width, 0}, in GetVideoPortCapability() 331 {CODEC_CONFIG_KEY_MAX_HEIGHT, cap.port.video.maxSize.height, 0}, in GetVideoPortCapability() 334 {CODEC_CONFIG_KEY_MIN_BLOCK_COUNT, cap.port.video.blockCount.min, 0}, in GetVideoPortCapability() 335 {CODEC_CONFIG_KEY_MAX_BLOCK_COUNT, cap.port.video.blockCount.max, 0}, in GetVideoPortCapability() 338 {CODEC_CONFIG_KEY_BLOCK_SIZE_WIDTH, cap.port.video.blockSize.width, 0}, in GetVideoPortCapability() 340 {CODEC_CONFIG_KEY_MIN_FRAME_RATE, cap.port.video.frameRate.min, 0}, in GetVideoPortCapability() 341 {CODEC_CONFIG_KEY_MAX_FRAME_RATE, cap.port.video.frameRate.max, 0}}; in GetVideoPortCapability() 353 {CODEC_CONFIG_KEY_SUPPORT_PIXEL_FMTS, cap.port.video.supportPixFmts}, in GetVideoPortCapability() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/video/ |
H A D | video_property_test_ng.cpp | 208 VideoModelNG video; variable 252 VideoModelNG video; variable 311 VideoModelNG video; variable 368 VideoModelNG video; variable 446 VideoModelNG video; variable 536 VideoModelNG video; variable 823 VideoModelNG video; variable 877 VideoModelNG video; variable 913 VideoModelNG video; variable 947 VideoModelNG video; variable [all …]
|
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/codec_adapter/ |
H A D | codec_port.cpp | 59 portDef_.format.video.eCompressionFormat = CodingTypeHstToHdi(mime); in Config() 60 portDef_.format.video.eColorFormat = FormatHstToOmx(vdecFormat); in Config() 61 portDef_.format.video.nFrameHeight = AlignUp(height, HDI_VIDEO_ALIGNMENT); in Config() 62 portDef_.format.video.nSliceHeight = AlignUp(height, HDI_VIDEO_ALIGNMENT); in Config() 63 portDef_.format.video.nFrameWidth = AlignUp(width, HDI_VIDEO_WIDTH_ALIGNMENT); in Config() 64 portDef_.format.video.nStride = static_cast<int32_t>(AlignUp(width, HDI_VIDEO_ALIGNMENT)); in Config() 65 portDef_.format.video.xFramerate = frameRate << HDI_FRAME_RATE_MOVE; in Config() 66 MEDIA_LOG_D("frame_rate: " PUBLIC_LOG_U32, portDef_.format.video.xFramerate); in Config() 67 portDef_.format.video.nBitrate = static_cast<uint32_t>(bitRate); in Config()
|
/ohos5.0/docs/zh-cn/application-dev/media/avcodec/ |
H A D | Readme-CN.md | 9 - [视频编码](video-encoding.md) 10 - [时域可分层视频编码](video-encoding-temporal-scalability.md) 11 - [典型场景的视频编码配置](video-encoding-configuration-typical-scenarios.md) 12 - [视频解码](video-decoding.md) 15 - [媒体数据封装](audio-video-muxer.md) 16 - [媒体数据解析](audio-video-demuxer.md)
|
/ohos5.0/docs/en/application-dev/reference/apis-camera-kit/ |
H A D | _video_output___callbacks.md | 6 The VideoOutput_Callbacks struct describes the callbacks related to video output. 22 …eooutput_onframestart) [onFrameStart](#onframestart) | Callback to report video output frame start… 23 …oh_videooutput_onframeend) [onFrameEnd](#onframeend) | Callback to report video output frame end e… 24 …__camera.md#oh_videooutput_onerror) [onError](#onerror) | Callback to report video output errors.| 38 Callback to report video output errors. 49 Callback to report video output frame end events. 60 Callback to report video output frame start events.
|
/ohos5.0/drivers/interface/camera/v1_3/ |
H A D | IVideoProcessSession.idl | 19 * @brief Declares APIs for video process session. 33 * @brief Get the IDs of the pending video which are unprocessed. 43 * @brief pending the prepare video. 45 * @param the id of the pending video. 46 * @param fd Indicates pending video file. 96 * @brief Process the specific video by video ID. 98 * @param videoId Indicates video id. 99 * @param timestamp Indicates need process video frame time. 107 * @brief Remove the specific video by video ID. 109 * @param videoId Indicates video ID.
|
/ohos5.0/docs/en/application-dev/media/camera/ |
H A D | native-camera-recording.md | 3 …tant function of the camera application, video recording is the process of cyclic frame capture. T… 33 4. Create a video output stream. 35 …video output streams supported by the current device from **videoProfiles** in the **CameraOutputC… 73 5. Start video recording. 75 …o_h___camera.md#oh_videooutput_start) of the VideoOutput instance to start the video output stream. 78 // Start the video output stream. 85 6. Stop video recording. 87 …/_o_h___camera.md#oh_videooutput_stop) of the VideoOutput instance to stop the video output stream. 90 // Stop the video output stream. 100 …t, you can listen for the status of the video output stream, including recording start, recording … [all …]
|