# lv_draw_buf_convert_neon.h (/api/draw/convert/neon/lv_draw_buf_convert_neon_h)



<ApiSummary functions="2" macros="2" />

Functions [#functions]

<ApiMember kind="function" name="_lv_draw_buf_convert_premultiply_indexed_neon" file="draw/convert/neon/lv_draw_buf_convert_neon.h" line="45" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/draw/convert/neon/lv_draw_buf_convert_neon.h#L45">
  \_lv_draw_buf_convert_premultiply_indexed_neon [#_lv_draw_buf_convert_premultiply_indexed_neon]

  Convert indexed draw\_buf to premultiplied format with neon specific optimizations

  ```c title=" " lineNumbers=1
  lv_result_t _lv_draw_buf_convert_premultiply_indexed_neon(lv_draw_buf_t *buf)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name  | Type                                                       | Description           |
  | ----- | ---------------------------------------------------------- | --------------------- |
  | `buf` | <ApiLink name="lv_draw_buf_t" display="lv_draw_buf_t *" /> | pointer to a draw buf |
</ApiMember>

<ApiMember kind="function" name="_lv_draw_buf_convert_premultiply_argb8888_neon" file="draw/convert/neon/lv_draw_buf_convert_neon.h" line="51" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/draw/convert/neon/lv_draw_buf_convert_neon.h#L51">
  \_lv_draw_buf_convert_premultiply_argb8888_neon [#_lv_draw_buf_convert_premultiply_argb8888_neon]

  Convert argb8888 draw\_buf to premultiplied format with neon specific optimizations

  ```c title=" " lineNumbers=1
  lv_result_t _lv_draw_buf_convert_premultiply_argb8888_neon(lv_draw_buf_t *buf)
  ```

  <span className="sr-only">
    Parameters
  </span>

  | Name  | Type                                                       | Description           |
  | ----- | ---------------------------------------------------------- | --------------------- |
  | `buf` | <ApiLink name="lv_draw_buf_t" display="lv_draw_buf_t *" /> | pointer to a draw buf |
</ApiMember>

Macros [#macros]

<ApiMember kind="macro" name="LV_DRAW_CONVERT_PREMULTIPLY_INDEXED" file="draw/convert/neon/lv_draw_buf_convert_neon.h" line="27" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/draw/convert/neon/lv_draw_buf_convert_neon.h#L27">
  LV_DRAW_CONVERT_PREMULTIPLY_INDEXED [#lv_draw_convert_premultiply_indexed]

  ```c title=" " lineNumbers=1
  #define LV_DRAW_CONVERT_PREMULTIPLY_INDEXED(buf) \
      _lv_draw_buf_convert_premultiply_indexed_neon(buf)
  ```
</ApiMember>

<ApiMember kind="macro" name="LV_DRAW_CONVERT_PREMULTIPLY_ARGB8888" file="draw/convert/neon/lv_draw_buf_convert_neon.h" line="32" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/draw/convert/neon/lv_draw_buf_convert_neon.h#L32">
  LV_DRAW_CONVERT_PREMULTIPLY_ARGB8888 [#lv_draw_convert_premultiply_argb8888]

  ```c title=" " lineNumbers=1
  #define LV_DRAW_CONVERT_PREMULTIPLY_ARGB8888(buf) \
      _lv_draw_buf_convert_premultiply_argb8888_neon(buf)
  ```
</ApiMember>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_color.h&#x22;, &#x22;lv_draw_buf.h&#x22;]" transitiveIncludes="[&#x22;lv_area.h&#x22;, &#x22;lv_assert.h&#x22;, &#x22;lv_color_op.h&#x22;, &#x22;lv_conf_internal.h&#x22;, &#x22;lv_conf_kconfig.h&#x22;, &#x22;lv_image_dsc.h&#x22;, &#x22;lv_log.h&#x22;, &#x22;lv_math.h&#x22;, &#x22;lv_mem.h&#x22;, &#x22;lv_palette.h&#x22;, &#x22;lv_string.h&#x22;, &#x22;lv_types.h&#x22;]" />
