• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# native_avbuffer_info.h
2
3
4## Overview
5
6The file declares the attribute definition of the media struct AVBuffer.
7
8**Library**: libnative_media_core.so
9
10**File to include**: <multimedia/player_framework/native_avbuffer_info.h>
11
12**System capability**: SystemCapability.Multimedia.Media.Core
13
14**Since**: 9
15
16**Related module**: [Core](_core.md)
17
18**Sample**: [AVCodec](https://gitcode.com/openharmony/applications_app_samples/tree/master/code/BasicFeature/Media/AVCodec)
19
20
21## Summary
22
23
24### Structs
25
26| Name| Description|
27| -------- | -------- |
28| struct&nbsp;&nbsp;[OH_AVCodecBufferAttr](_o_h___a_v_codec_buffer_attr.md) | Describes the description information about the buffer of an OH_AVCodec instance.|
29
30
31### Types
32
33| Name| Description|
34| -------- | -------- |
35| typedef enum [OH_AVCodecBufferFlags](_core.md#oh_avcodecbufferflags) [OH_AVCodecBufferFlags](_core.md#oh_avcodecbufferflags) | Defines an enum for flags for the buffer of an OH_AVCodec instance.|
36| typedef struct [OH_AVCodecBufferAttr](_o_h___a_v_codec_buffer_attr.md) [OH_AVCodecBufferAttr](_core.md#oh_avcodecbufferattr) | Defines the description information about the buffer of an OH_AVCodec instance.|
37
38
39### Enums
40
41| Name| Description|
42| -------- | -------- |
43| [OH_AVCodecBufferFlags](_core.md#oh_avcodecbufferflags-1) {<br>AVCODEC_BUFFER_FLAGS_NONE = 0,<br>AVCODEC_BUFFER_FLAGS_EOS = 1 &lt;&lt; 0, AVCODEC_BUFFER_FLAGS_SYNC_FRAME = 1 &lt;&lt; 1, AVCODEC_BUFFER_FLAGS_INCOMPLETE_FRAME = 1 &lt;&lt; 2,<br>AVCODEC_BUFFER_FLAGS_CODEC_DATA = 1 &lt;&lt; 3, <br>AVCODEC_BUFFER_FLAGS_DISCARD = 1 &lt;&lt; 4, <br>AVCODEC_BUFFER_FLAGS_DISPOSABLE = 1 &lt;&lt; 5<br>} | Enumerates the flags for the buffer of an OH_AVCodec instance. |
44