Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

mheaders.h

Go to the documentation of this file.
00001 /*===========================================================================*
00002  * mheaders.h                                                                *
00003  *                                                                           *
00004  *      MPEG headers                                                         *
00005  *                                                                           *
00006  *===========================================================================*/
00007 
00008 /*
00009  * Copyright (c) 1995 The Regents of the University of California.
00010  * All rights reserved.
00011  *
00012  * Permission to use, copy, modify, and distribute this software and its
00013  * documentation for any purpose, without fee, and without written agreement is
00014  * hereby granted, provided that the above copyright notice and the following
00015  * two paragraphs appear in all copies of this software.
00016  *
00017  * IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
00018  * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
00019  * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
00020  * CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00021  *
00022  * THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
00023  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
00024  * AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
00025  * ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO
00026  * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
00027  */
00028 
00029 /*  
00030  *  $Header: /misc/elrond0/share/cvs/AFNI/src/mpeg_encodedir/headers/mheaders.h,v 1.5 2004/04/02 15:12:41 rwcox Exp $
00031  *  $Log: mheaders.h,v $
00032  *  Revision 1.5  2004/04/02 15:12:41  rwcox
00033  *  Cput
00034  *
00035  *  Revision 1.4  2004/02/05 21:32:23  rwcox
00036  *  Cput
00037  *
00038  *  Revision 1.3  2003/12/23 13:50:08  rwcox
00039  *  Cput
00040  *
00041  *  Revision 1.2  2003/12/03 14:46:15  rwcox
00042  *  Cput
00043  *
00044  *  Revision 1.1  2001/12/17 18:25:44  rwcox
00045  *  Cadd
00046  *
00047  * Revision 1.4  1995/03/27  19:29:24  smoot
00048  * changed to remove mb_quant
00049  *
00050  * Revision 1.3  1995/01/19  23:54:56  eyhung
00051  * Changed copyrights
00052  *
00053  * Revision 1.2  1994/11/12  02:12:51  keving
00054  * nothing
00055  *
00056  * Revision 1.1  1993/07/22  22:24:23  keving
00057  * nothing
00058  *
00059  *
00060  */
00061 
00062 
00063 #ifndef MHEADERS_INCLUDED
00064 #define MHEADERS_INCLUDED
00065 
00066 
00067 /*==============*
00068  * HEADER FILES *
00069  *==============*/
00070 
00071 #include "general.h"
00072 #include "ansi.h"
00073 #include "bitio.h"
00074 
00075 
00076 /*===============================*
00077  * EXTERNAL PROCEDURE prototypes *
00078  *===============================*/
00079 
00080 void    SetGOPStartTime _ANSI_ARGS_((int index));
00081 void    Mhead_GenSequenceHeader _ANSI_ARGS_((BitBucket *bbPtr,
00082             uint32 hsize, uint32 vsize,
00083             int32 pratio, int32 pict_rate,
00084             int32 bit_rate, int32 buf_size,
00085             int32 c_param_flag, int32 *iq_matrix,
00086             int32 *niq_matrix, uint8 *ext_data,
00087             int32 ext_data_size, uint8 *user_data, int32 user_data_size));
00088 void    Mhead_GenSequenceEnder _ANSI_ARGS_((BitBucket *bbPtr));
00089 void    Mhead_GenGOPHeader _ANSI_ARGS_((BitBucket *bbPtr,
00090            int32 drop_frame_flag,
00091            int32 tc_hrs, int32 tc_min,
00092            int32 tc_sec, int32 tc_pict,
00093            int32 closed_gop, int32 broken_link,
00094            uint8 *ext_data, int32 ext_data_size,
00095            uint8 *user_data, int32 user_data_size));
00096 void    Mhead_GenPictureHeader _ANSI_ARGS_((BitBucket *bbPtr, int frameType,
00097                                             int pictCount, int f_code));
00098 void    Mhead_GenSliceHeader _ANSI_ARGS_((BitBucket *bbPtr, uint32 slicenum,
00099                                           uint32 qscale, uint8 *extra_info,
00100                                           uint32 extra_info_size));
00101 void    Mhead_GenSliceEnder _ANSI_ARGS_((BitBucket *bbPtr));
00102 void    Mhead_GenMBHeader _ANSI_ARGS_((BitBucket *bbPtr,
00103           uint32 pict_code_type, uint32 addr_incr,
00104           uint32 q_scale,
00105           uint32 forw_f_code, uint32 back_f_code,
00106           uint32 horiz_forw_r, uint32 vert_forw_r,
00107           uint32 horiz_back_r, uint32 vert_back_r,
00108           int32 motion_forw, int32 m_horiz_forw,
00109           int32 m_vert_forw, int32 motion_back,
00110           int32 m_horiz_back, int32 m_vert_back,
00111           uint32 mb_pattern, uint32 mb_intra));
00112 
00113 
00114 #endif /* MHEADERS_INCLUDED */
 

Powered by Plone

This site conforms to the following standards: