⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 image.h

📁 经典的MP4编解码核心库
💻 H
字号:
#ifndef _IMAGE_H_
#define _IMAGE_H_

#include "../global.h"
#include "colorspace.h"

#define EDGE_SIZE  32

void select_optcode_image(uint32_t cpu_flags);

int32_t VOP_create(VOP * image, Encoder * const pEnc);
void VOP_release(Encoder * const pEnc);

int32_t VOP_dec_create(VOP * image, Decoder * const pDec);
void VOP_dec_release(Decoder * const pEnc);

void vop_swap(VOP * image1, VOP * image2);
void vop_copy(VOP *image1, VOP * image2, uint32_t ext_width, uint32_t height);
void vop_edges_expand(VOP * image, uint32_t ext_width, uint32_t ext_height, uint32_t width, uint32_t height, uint32_t interlacing);

void vop_interpolate(const VOP * ref, 
					   VOP * refh, VOP * refv,	VOP * refhv, 
					   uint32_t ext_width, uint32_t ext_height, uint32_t rounding);

int vop_input(VOP * image, uint32_t width, int height, uint32_t ext_width,
			uint8_t * src, int csp);

int vop_output(VOP * image, uint32_t width, int height, uint32_t ext_width,
			uint8_t * dst, uint32_t dst_stride, int csp);

void de_interlacing(VOP *vop, int width, int height, int stride);

#endif /* _IMAGE_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -