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

📄 enc_image.h

📁 基于Linux的ffmepg decoder
💻 H
字号:
#ifndef _IMAGE_H_
#define _IMAGE_H_

#include "portab.h"
#include "ftmcp100.h"
#include "xvid.h"

typedef struct
{
	uint8_t *y; // the physical address
	uint8_t *u; // the physical address
	uint8_t *v; // the physical address
	uint8_t *y_virt; // the virtual address
	uint8_t *u_virt; // the virtual address
	uint8_t *v_virt; // the virtual address
}
IMAGE;

int32_t enc_image_create(IMAGE * image,
					 uint32_t mbwidth,
					 uint32_t mbheight,FTMCP100_CODEC *pCodec);
void enc_image_destroy(IMAGE * image,
				   uint32_t mbwidth,FTMCP100_CODEC *pCodec);

void enc_image_adjust(IMAGE * image,
					 uint32_t mbwidth,
					 uint32_t mbheight,unsigned char *addr);

void enc_image_swap(IMAGE * image1,
				IMAGE * image2);

#endif							/* _IMAGE_H_ */

⌨️ 快捷键说明

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