7#ifndef MPIX_OP_RESIZE_H
8#define MPIX_OP_RESIZE_H
29#define MPIX_REGISTER_RESIZE_OP(id, fn, fmt) \
30 const struct mpix_resize_op mpix_resize_op_##id = { \
31 .base.name = ("resize_" #id), \
32 .base.format_src = (MPIX_FMT_##fmt), \
33 .base.format_dst = (MPIX_FMT_##fmt), \
34 .base.window_size = 1, \
49 uint8_t *dst_buf,
size_t dst_width,
size_t dst_height);
55 uint8_t *dst_buf,
size_t dst_width,
size_t dst_height);
61 uint8_t *dst_buf,
size_t dst_width,
size_t dst_height);
void mpix_resize_frame_raw24(const uint8_t *src_buf, size_t src_width, size_t src_height, uint8_t *dst_buf, size_t dst_width, size_t dst_height)
Resize an 24-bit per pixel frame by subsampling the pixels horizontally/vertically.
void mpix_resize_frame_raw8(const uint8_t *src_buf, size_t src_width, size_t src_height, uint8_t *dst_buf, size_t dst_width, size_t dst_height)
Resize an 8-bit per pixel frame by subsampling the pixels horizontally/vertically.
void mpix_resize_frame_raw16(const uint8_t *src_buf, size_t src_width, size_t src_height, uint8_t *dst_buf, size_t dst_width, size_t dst_height)
Resize an 16-bit per pixel frame by subsampling the pixels horizontally/vertically.
One step of a line operation pipeline.
Definition op.h:27
Definition op_resize.h:15
struct mpix_base_op base
Definition op_resize.h:17