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

📄 videoframe.h

📁 radius协议源码÷The Radius Stack will connect to a Radius Server. This stack implementation is built upo
💻 H
字号:
#ifndef VIDEO_FRAME_H#define VIDEO_FRAME_H#include <ptlib.h>#if 0#include <stdio.h>#include <math.h>#include <unistd.h>#include <errno.h>#include <signal.h>#include <string.h>#include <ctype.h>#include <sys/param.h>#include <netinet/in.h>#include <netdb.h>#include <sys/file.h>#include <sys/utsname.h>#endifclass VideoFrame { public:     inline VideoFrame(u_char *fp, u_char *cr, int w, int h) :       frameptr(fp), crvec(cr), width(w), height(h) {}     inline VideoFrame(u_char *fp, int w, int h) :       frameptr(fp), crvec(0), width(w), height(h) {}          inline void SetSize(int newwidth, int newheight)       {if ((newwidth!=width)||(newheight!=height)) {         width=newwidth;         height=newheight;       }       }     u_char *frameptr;     u_char *crvec;     u_int ts;     int    width;     int    height;};#endif //ifndef VIDEO_FRAME_H

⌨️ 快捷键说明

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