openharmony 鸿蒙 capi-avimage-generator-base-h

2025-06-12 浏览 (1)

avimage_generator_base.h

Overview

The avimage_generator_base.h file declares the enums used by the AVImageGenerator.

Library: libavimage_generator.so

System capability: SystemCapability.Multimedia.Media.AVImageGenerator

Since: 18

Related module: AVImageGenerator

Summary

Enums

Nametypedef KeywordDescription
OH_AVImageGenerator_QueryOptionsOH_AVImageGenerator_QueryOptionsEnumerates the mappings between time points and video frames.

Enum Description

OH_AVImageGenerator_QueryOptions

enum OH_AVImageGenerator_QueryOptions

Description

Enumerates the mappings between time points and video frames.

System capability: SystemCapability.Multimedia.Media.AVImageGenerator

Since: 18

Enum ItemDescription
OH_AVIMAGE_GENERATOR_QUERY_NEXT_SYNC = 0Extracts the key frame at or next to the specified time.
OH_AVIMAGE_GENERATOR_QUERY_PREVIOUS_SYNC = 1Extracts the key frame at or prior to the specified time.
OH_AVIMAGE_GENERATOR_QUERY_CLOSEST_SYNC = 2Extracts the key frame closest to the specified time.
OH_AVIMAGE_GENERATOR_QUERY_CLOSEST = 3Extracts the frame (not necessarily a key frame) closest to the specified time.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Media Kit

harmony 鸿蒙AVImageGenerator

harmony 鸿蒙AVMetadataExtractor

harmony 鸿蒙AVPlayer

harmony 鸿蒙AVPlayerCallback

harmony 鸿蒙AVRecorder

harmony 鸿蒙AVScreenCapture

harmony 鸿蒙OH_AVRecorder_Config

harmony 鸿蒙OH_AVRecorder_EncoderInfo

harmony 鸿蒙OH_AVRecorder_Location

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/VWOHOK