DRV_SCALE

[English]

DRV_SCALE API Status

API

drv_scale_init()

drv_scale_deinit()

drv_scale_config()

drv_scale_start()

drv_scale_int_enable()

drv_scale_int_cbk_register()

DRV_SCALE API Reference

Header File

Functions

int32_t drv_scale_init(void)
int32_t drv_scale_deinit(void)
int32_t drv_scale_config(scale_info_t *p_scale_info)
int32_t drv_scale_start(void)
int32_t drv_scale_int_enable(bool en)
int32_t drv_scale_int_cbk_register(pfunc_drv_scale_cb_t pfn_cb, void *pv_arg)

Structures

struct scale_info_t

Public Members

scale_pixel_format_e format

scale module input data format , only select YUYV/RGB888/RGB565

uint16_t src_width

src image width

uint16_t src_height

src image height

uint16_t dst_width

dst image width

uint16_t dst_height

dst image height

void *src_addr

image src addr

void *dst_addr

image dst addr

Type Definitions

typedef void (*pfunc_drv_scale_cb_t)(void *pv_arg)

Enumerations

enum scale_pixel_format_e

Values:

enumerator SCALE_RGB565
enumerator SCALE_YUV422
enumerator SCALE_RGB888