# avimage_generator_base.h ## Overview The **avimage_generator_base.h** file declares the enums used by the AVImageGenerator. **System capability**: SystemCapability.Multimedia.Media.AVImageGenerator **Library**: libavimage_generator.so **Since**: 18 **Related module**: [AVImageGenerator](_a_v_image_generator.md) ## Summary ### Types | Name| Description| | -------- | -------- | | typedef enum [OH_AVImageGenerator_QueryOptions](_a_v_image_generator.md#oh_avimagegenerator_queryoptions) [OH_AVImageGenerator_QueryOptions](_a_v_image_generator.md#oh_avimagegenerator_queryoptions) | Defines an enum for the mappings between time points and video frames. | ### Enums | Name| Description| | -------- | -------- | | [OH_AVImageGenerator_QueryOptions](_a_v_image_generator.md#oh_avimagegenerator_queryoptions-1) {
OH_AVIMAGE_GENERATOR_QUERY_NEXT_SYNC = 0,
OH_AVIMAGE_GENERATOR_QUERY_PREVIOUS_SYNC = 1,
OH_AVIMAGE_GENERATOR_QUERY_CLOSEST_SYNC = 2,
OH_AVIMAGE_GENERATOR_QUERY_CLOSEST = 3 } | Enumerates the mappings between time points and video frames. |