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.c File Reference

#include "all.h"
#include "bitio.h"
#include "frames.h"
#include "mheaders.h"

Go to the source code of this file.


Defines

#define SEQ_HEAD_CODE   0x000001b3
#define EXT_START_CODE   0x000001b5
#define USER_START_CODE   0x000001b2
#define GOP_START_CODE   0x000001b8
#define PICT_START_CODE   0x00000100
#define SLICE_BASE_CODE   0x00000100
#define SEQ_END_CODE   0x000001b7

Functions

void GenMBAddrIncr _ANSI_ARGS_ ((BitBucket *bb, uint32 addr_incr))
void GenPictHead _ANSI_ARGS_ ((BitBucket *bb, uint32 temp_ref, uint32 code_type, uint32 vbv_delay, int32 full_pel_forw_flag, uint32 forw_f_code, int32 full_pel_back_flag, uint32 back_f_code, uint8 *extra_info, uint32 extra_info_size, uint8 *ext_data, uint32 ext_data_size, uint8 *user_data, uint32 user_data_size))
void GenMBType _ANSI_ARGS_ ((BitBucket *bb, uint32 pict_code_type, uint32 mb_quant, uint32 motion_forw, uint32 motion_back, uint32 mb_pattern, uint32 mb_intra))
void GenMotionCode _ANSI_ARGS_ ((BitBucket *bb, int32 vector))
void GenBlockPattern _ANSI_ARGS_ ((BitBucket *bb, uint32 mb_pattern))
void SetGOPStartTime (index) int index

Variables

int gopStartFrame = 0
int lastGOPStart = 0
int lastQSSet
uint32 mbAddrIncrTable [][2]
uint32 mbMotionVectorTable [][2]
uint32 mbPatTable [][2]
const double VidRateNum [9]
int frameType
int pictCount
int f_code
uint32 hsize
uint32 vsize
int32 pratio
int32 pict_rate
int32 bit_rate
int32 buf_size
int32 c_param_flag
int32iq_matrix
int32niq_matrix
uint8ext_data
int32 ext_data_size
uint8user_data
int32 user_data_size
int32 drop_frame_flag
int32 tc_hrs
int32 tc_min
int32 tc_sec
int32 tc_pict
int32 closed_gop
int32 broken_link
uint32 verticalPos
uint32 qscale
uint8extra_info
uint32 extra_info_size
uint32 pict_code_type
uint32 addr_incr
uint32 q_scale
uint32 forw_f_code
uint32 back_f_code
uint32 horiz_forw_r
uint32 vert_forw_r
uint32 horiz_back_r
uint32 vert_back_r
int32 motion_forw
int32 m_horiz_forw
int32 m_vert_forw
int32 motion_back
int32 m_horiz_back
int32 m_vert_back
uint32 mb_pattern
uint32 mb_intra
uint32 mb_quant
int32 vector
uint32 temp_ref
uint32 code_type
uint32 vbv_delay
int32 full_pel_forw_flag
int32 full_pel_back_flag

Define Documentation

#define EXT_START_CODE   0x000001b5
 

Definition at line 279 of file mheaders.c.

#define GOP_START_CODE   0x000001b8
 

Definition at line 281 of file mheaders.c.

#define PICT_START_CODE   0x00000100
 

Definition at line 282 of file mheaders.c.

#define SEQ_END_CODE   0x000001b7
 

Definition at line 285 of file mheaders.c.

#define SEQ_HEAD_CODE   0x000001b3
 

Definition at line 278 of file mheaders.c.

#define SLICE_BASE_CODE   0x00000100
 

Definition at line 283 of file mheaders.c.

#define USER_START_CODE   0x000001b2
 

Definition at line 280 of file mheaders.c.


Function Documentation

void GenBlockPattern _ANSI_ARGS_ (BitBucket *bb, uint32 mb_pattern   [static]
 

void GenMotionCode _ANSI_ARGS_ (BitBucket *bb, int32 vector   [static]
 

void GenMBType _ANSI_ARGS_ (BitBucket *bb, uint32 pict_code_type, uint32 mb_quant, uint32 motion_forw, uint32 motion_back, uint32 mb_pattern, uint32 mb_intra   [static]
 

void GenPictHead _ANSI_ARGS_ (BitBucket *bb, uint32 temp_ref, uint32 code_type, uint32 vbv_delay, int32 full_pel_forw_flag, uint32 forw_f_code, int32 full_pel_back_flag, uint32 back_f_code, uint8 *extra_info, uint32 extra_info_size, uint8 *ext_data, uint32 ext_data_size, uint8 *user_data, uint32 user_data_size   [static]
 

void GenMBAddrIncr _ANSI_ARGS_ (BitBucket *bb, uint32 addr_incr   [static]
 

void SetGOPStartTime index   
 


Variable Documentation

uint32 addr_incr
 

Definition at line 1067 of file mheaders.c.

uint32 back_f_code
 

Definition at line 1103 of file mheaders.c.

int32 bit_rate
 

Definition at line 398 of file mheaders.c.

int32 broken_link
 

Definition at line 579 of file mheaders.c.

int32 buf_size
 

Definition at line 399 of file mheaders.c.

int32 c_param_flag
 

Definition at line 400 of file mheaders.c.

int32 closed_gop
 

Definition at line 578 of file mheaders.c.

uint32 code_type
 

Definition at line 1098 of file mheaders.c.

int32 drop_frame_flag
 

Definition at line 573 of file mheaders.c.

uint8 * ext_data
 

Definition at line 1106 of file mheaders.c.

uint32 ext_data_size
 

Definition at line 1107 of file mheaders.c.

uint8 * extra_info
 

Definition at line 1104 of file mheaders.c.

uint32 extra_info_size
 

Definition at line 1105 of file mheaders.c.

int f_code
 

Definition at line 355 of file mheaders.c.

Referenced by bound_motion_vector(), and get_motion_delta().

uint32 forw_f_code
 

Definition at line 1101 of file mheaders.c.

int frameType
 

Definition at line 353 of file mheaders.c.

int32 full_pel_back_flag
 

Definition at line 1102 of file mheaders.c.

int32 full_pel_forw_flag
 

Definition at line 1100 of file mheaders.c.

int gopStartFrame = 0 [static]
 

Definition at line 132 of file mheaders.c.

uint32 horiz_back_r
 

Definition at line 743 of file mheaders.c.

uint32 horiz_forw_r
 

Definition at line 741 of file mheaders.c.

uint32 hsize
 

Definition at line 394 of file mheaders.c.

int32* iq_matrix
 

Definition at line 401 of file mheaders.c.

int lastGOPStart = 0 [static]
 

Definition at line 133 of file mheaders.c.

int lastQSSet [static]
 

Definition at line 134 of file mheaders.c.

int32 m_horiz_back
 

Definition at line 749 of file mheaders.c.

int32 m_horiz_forw
 

Definition at line 746 of file mheaders.c.

int32 m_vert_back
 

Definition at line 750 of file mheaders.c.

int32 m_vert_forw
 

Definition at line 747 of file mheaders.c.

uint32 mb_intra
 

Definition at line 869 of file mheaders.c.

uint32 mb_pattern
 

Definition at line 1041 of file mheaders.c.

uint32 mb_quant
 

Definition at line 865 of file mheaders.c.

uint32 mbAddrIncrTable[][2] [static]
 

Definition at line 136 of file mheaders.c.

uint32 mbMotionVectorTable[][2] [static]
 

Definition at line 172 of file mheaders.c.

uint32 mbPatTable[][2] [static]
 

Definition at line 207 of file mheaders.c.

uint32 motion_back
 

Definition at line 867 of file mheaders.c.

uint32 motion_forw
 

Definition at line 866 of file mheaders.c.

int32* niq_matrix
 

Definition at line 402 of file mheaders.c.

uint32 pict_code_type
 

Definition at line 864 of file mheaders.c.

int32 pict_rate
 

Definition at line 397 of file mheaders.c.

int pictCount
 

Definition at line 354 of file mheaders.c.

int32 pratio
 

Definition at line 396 of file mheaders.c.

uint32 q_scale
 

Definition at line 738 of file mheaders.c.

register int qscale
 

Definition at line 293 of file postdct.c.

int32 tc_hrs
 

Definition at line 574 of file mheaders.c.

int32 tc_min
 

Definition at line 575 of file mheaders.c.

int32 tc_pict
 

Definition at line 577 of file mheaders.c.

int32 tc_sec
 

Definition at line 576 of file mheaders.c.

uint32 temp_ref
 

Definition at line 1097 of file mheaders.c.

uint8 * user_data
 

Definition at line 1108 of file mheaders.c.

Referenced by AFNI_register_fimfunc(), MAKER_4D_to_typed_fbuc(), MAKER_4D_to_typed_fim(), MAKER_4D_to_typed_fith(), PLUTO_4D_to_nothing(), PLUTO_4D_to_typed_fbuc(), PLUTO_4D_to_typed_fim(), and PLUTO_4D_to_typed_fith().

uint32 user_data_size
 

Definition at line 1109 of file mheaders.c.

uint32 vbv_delay
 

Definition at line 1099 of file mheaders.c.

int32 vector
 

Definition at line 1010 of file mheaders.c.

uint32 vert_back_r
 

Definition at line 744 of file mheaders.c.

uint32 vert_forw_r
 

Definition at line 742 of file mheaders.c.

uint32 verticalPos
 

Definition at line 669 of file mheaders.c.

const double VidRateNum[9]
 

Initial value:

{1.0, 23.976, 24.0, 25.0, 29.97, 30.0,
                             50.0 ,59.94, 60.0}

Definition at line 289 of file mheaders.c.

uint32 vsize
 

Definition at line 395 of file mheaders.c.

 

Powered by Plone

This site conforms to the following standards: