From 4dea46564cfc4df3c079a3d363e997d41c05056b Mon Sep 17 00:00:00 2001 From: starfish <8675654+starfish002@user.noreply.gitee.com> Date: Thu, 20 May 2021 17:17:36 +0800 Subject: [PATCH] =?UTF-8?q?L1=E4=B8=8EL2=E6=8E=A5=E5=8F=A3=E4=BF=9D?= =?UTF-8?q?=E6=8C=81=E4=B8=80=E8=87=B4=E5=90=8C=E6=AD=A5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- codec/interfaces/include/codec_type.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/codec/interfaces/include/codec_type.h b/codec/interfaces/include/codec_type.h index 7f11d162ae..9ae7a9e496 100755 --- a/codec/interfaces/include/codec_type.h +++ b/codec/interfaces/include/codec_type.h @@ -226,12 +226,12 @@ typedef enum { } StreamFlagType; /** - * @brief Defines the buffer handle type. The virtual address of a handle maps to its physical address. + * @brief Defines the codec buffer handle type. The virtual address of a handle maps to its physical address. */ -typedef struct BufferHandle { +typedef struct CodecBufferHandle { uint8_t *virAddr; /**< Virtual address */ uintptr_t handle; /**< Physical address */ -} BufferHandle; +} CodecBufferHandle; /** * @brief Enumerates buffer types. @@ -253,7 +253,7 @@ typedef struct { union { uint8_t *addr; /**< Virtual address */ int32_t fd; /**< File descriptor */ - BufferHandle handle; /**< Data handle. For details, see {@link BufferHandle} */ + CodecBufferHandle handle; /**< Data handle. For details, see {@link CodecBufferHandle} */ }; uint32_t offset; /**< Buffer offset */ uint32_t length; /**< Length of valid data */ -- Gitee