Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
mot_util.h
Package: Visual C++视频音频开发实用工程案例精选.rar [view]
Upload User: tuheem
Upload Date: 2007-05-01
Package Size: 21889k
Code Size: 1k
Category:
Multimedia Develop
Development Platform:
Visual C++
- #ifndef _MOT_UTIL_H_
- #define _MOT_UTIL_H_
- #include "limits.h"
- #include "momusys.h"
- #define DEFAULT_8_WIN 1.0f
- #define B_SIZE 8
- #define MV_MAX_ERROR 0x2000000
- typedef struct pixpoint
- {
- Int x;
- Int y;
- } PixPoint;
- #define EHUFF struct Modified_Encoder_Huffman
- EHUFF
- {
- Int n;
- Int *Hlen;
- Int *Hcode;
- };
- #define MVLEN(x,y) (ABS(x) + ABS(y))
- #include "mom_structs.h"
- #include "vm_common_defs.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- Void InterpolateImage _P_(( Image *input_image,
- Image *output_image,
- Int rounding_control
- ));
- Int GetMotionImages _P_(( Image *imv16_w,
- Image *imv16_h,
- Image *imv8_w,
- Image *imv8_h,
- Image *imode16,
- Image **mv_x,
- Image **mv_y,
- Image **mode
- ));
- Int ChooseMode _P_(( SInt *curr,
- Int x_pos,
- Int y_pos,
- Int min_SAD,
- UInt width
- ));
- Int SAD_Macroblock _P_(( SInt *ii,
- SInt *act_block,
- UInt h_length,
- Int Min_FRAME
- ));
- Int SAD_Block _P_(( SInt *ii,
- SInt *act_block,
- UInt h_length,
- Int min_sofar
- ));
- Void LoadArea _P_(( SInt *im,
- Int x,
- Int y,
- Int x_size,
- Int y_size,
- Int lx,
- SInt *block
- ));
- Void SetArea _P_(( SInt *block,
- Int x,
- Int y,
- Int x_size,
- Int y_size,
- Int lx,
- SInt *im
- ));
- #ifdef __cplusplus
- }
- #endif
- #endif