hvscodes.h

来自「symbian 下的helix player源代码」· C头文件 代码 · 共 799 行 · 第 1/3 页

H
799
字号
/* values: VVS_NORMALRES, VVS_HIRES (Annex D) */
#define VVS_RES             (VVS_PARAM_BASE + 25)
/* encoder max quantizer value (tuning parameter) */
#define VVS_QUANTIZER_MAX   (VVS_PARAM_BASE + 26) 
/* decoder number of start codes processed */
#define VVS_STARTCODES      (VVS_PARAM_BASE + 27)
/* decoder number of GOBs processed */
#define VVS_GOBS            (VVS_PARAM_BASE + 28)
/* decoder number of erroneous GOBs skipped */
#define VVS_BADGOBS         (VVS_PARAM_BASE + 29)
/* stream to which this stream sends its output */
#define VVS_DISPLAYSTREAM   (VVS_PARAM_BASE + 30)
/* bits processed */
#define VVS_BITSPROCESSED   (VVS_PARAM_BASE + 31)
/* bits-per-second (actual bitrate, derived from timestamp */
#define VVS_BITSPERSECOND   (VVS_PARAM_BASE + 32)
/* special-frame -- frame number to get special handling */
#define VVS_SPECIALFRAME    (VVS_PARAM_BASE + 33) 

/* timing-instrumentation parameters */
#define VVS_TIME1           (VVS_PARAM_BASE + 34)
#define VVS_TIME2           (VVS_PARAM_BASE + 35)

/* bits-per-frame */
#define VVS_BITSPERFRAME    (VVS_PARAM_BASE + 36)

/* all streams / queue fullness indicators */
#define VVS_RET_Q_COUNT     (VVS_PARAM_BASE + 37)
#define VVS_OUT_Q_COUNT     (VVS_PARAM_BASE + 38)

#define VVS_LOWRES          (VVS_PARAM_BASE + 39) 
#define VVS_MONOCHROME      (VVS_PARAM_BASE + 40)
/* Tell the driver to start the configure dialog box */
/* This is a boolean.  If you set it, it invokes the config dlg. */
#define VVS_CONFIGURE       (VVS_PARAM_BASE + 41)

/* Parameters for manual exposure control*/
#define VVS_CAMERA_AGC      (VVS_PARAM_BASE + 42)
#define VVS_CAMERA_SHUTTER  (VVS_PARAM_BASE + 43)
#define VVS_CAMERA_GAIN     (VVS_PARAM_BASE + 44)
#define VVS_VIDEO_ENHANCER  (VVS_PARAM_BASE + 45)

/* Enable and  disable holding bits in bistream arena until entire frame is decoded. */
#define VVS_DECODER_ENABLE_BS_HOLD  (VVS_PARAM_BASE + 46)
/* Set display state */
#define VVS_DECODER_DISPLAY_STATE   (VVS_PARAM_BASE + 47)
/* Byte offset to bitstream receive index */
#define VVS_DECODER_RECV_BYTE (VVS_PARAM_BASE + 48)

/* Left room for up to (VVS_PARAM_BASE + 49) general parameters */

/* Audio Stream Parameters */
#define VVS_AUD_PARAMETERS  (VVS_PARAM_BASE + 50)
#define VVS_SILENT          (VVS_AUD_PARAMETERS + 0)
#define VVS_LEVEL           (VVS_AUD_PARAMETERS + 1)
#define VVS_CODING          (VVS_AUD_PARAMETERS + 2)
#define VVS_BITS_PER_SAMPLE (VVS_AUD_PARAMETERS + 3)
#define VVS_FREQ_RANGE      (VVS_AUD_PARAMETERS + 4)
#define VVS_SINK            (VVS_AUD_PARAMETERS + 5)
#define VVS_AUDIO_CAPS       (VVS_AUD_PARAMETERS + 6)
#define VVS_AUDIO_DELAY_FLUFF (VVS_AUD_PARAMETERS + 7)
#define VVS_AUDIO_PRIVACY   (VVS_AUD_PARAMETERS + 8)
#define VVS_LIP_SYNC        (VVS_AUD_PARAMETERS + 9)
#define VVS_GAIN            (VVS_AUD_PARAMETERS + 10)
#define VVS_PRE_ECHO_GAIN   (VVS_AUD_PARAMETERS + 11)
#define VVS_START_TIME      (VVS_AUD_PARAMETERS + 12)

/* Left 15 spaces for audio stream parameters */


/* Xmit stream */
#define VVS_XMIT_PARAMETERS     (VVS_PARAM_BASE + 65)
#define VVS_AUDIOSTREAM         (VVS_XMIT_PARAMETERS + 0)
#define VVS_VIDEOSTREAM         (VVS_XMIT_PARAMETERS + 1)
#define VVS_DATASTREAM          (VVS_XMIT_PARAMETERS + 2)
#define VVS_AUDIO_BITRATE       (VVS_XMIT_PARAMETERS + 3)
#define VVS_VIDEO_BITRATE       (VVS_XMIT_PARAMETERS + 4)
#define VVS_DATA_BITRATE        (VVS_XMIT_PARAMETERS + 5)
#define VVS_AUDIO_UNDERRUN      (VVS_XMIT_PARAMETERS + 6)
#define VVS_VIDEO_UNDERRUN      (VVS_XMIT_PARAMETERS + 7)
#define VVS_DATA_UNDERRUN       (VVS_XMIT_PARAMETERS + 8)
#define VVS_MUX_XMIT_AUD_MODE_REQ   (VVS_XMIT_PARAMETERS + 9)
#define VVS_MUX_XMIT_DATA_MODE_REQ  (VVS_XMIT_PARAMETERS + 10)
#define VVS_MUX_XMIT_VID_MODE_REQ   (VVS_XMIT_PARAMETERS + 11)
#define VVS_AUDIO_MODE          (VVS_XMIT_PARAMETERS + 12)
#define VVS_VIDEO_MODE          (VVS_XMIT_PARAMETERS + 13)
#define VVS_TRANSFER_MODE       (VVS_XMIT_PARAMETERS + 14)
#define VVS_XMIT_MCU_MODE       (VVS_XMIT_PARAMETERS + 15)
#define VVS_XMIT_CONN_CONFIRMS  (VVS_XMIT_PARAMETERS + 16)
#define VVS_MLP_STREAM          (VVS_XMIT_PARAMETERS + 17)
#define VVS_MUX_XMIT_HMLP_MODE_REQ   (VVS_XMIT_PARAMETERS + 18)
#define VVS_MUX_XMIT_LMLP_MODE_REQ   (VVS_XMIT_PARAMETERS + 19)
#define VVS_H_MLP_MODE          (VVS_XMIT_PARAMETERS + 20)
#define VVS_L_MLP_MODE          (VVS_XMIT_PARAMETERS + 21)
#define VVS_T120_MODE_REQ       (VVS_XMIT_PARAMETERS + 22)
#define VVS_T120_MODE           (VVS_XMIT_PARAMETERS + 23)
#define VVS_BACKLOG             (VVS_XMIT_PARAMETERS + 24)
/* Left 30 spaces for XMIT stream parameters */


/* Source stream parameters */
#define VVS_SRC_PARAMETERS      (VVS_PARAM_BASE + 95)
#define VVS_SRC_PATTERN_SIZE    (VVS_SRC_PARAMETERS + 0)
#define VVS_SRC_PATTERN         (VVS_SRC_PARAMETERS + 1)
#define VVS_SRC_COUNT           (VVS_SRC_PARAMETERS + 2)
#define VVS_SRC_FILENAME        (VVS_SRC_PARAMETERS + 3)
#define VVS_SRC_COMM_NAME       (VVS_SRC_PARAMETERS + 4)
#define VVS_SRC_COMM_SETUP      (VVS_SRC_PARAMETERS + 5)
#define VVS_SRC_OUT_Q_CNT       (VVS_SRC_PARAMETERS + 6)
#define VVS_SRC_RET_Q_CNT       (VVS_SRC_PARAMETERS + 7)
#define VVS_SRC_MSG_NUM         (VVS_SRC_PARAMETERS + 8)
#define VVS_SRC_FLAGS           (VVS_SRC_PARAMETERS + 9)

/* Left 15 parameter spaces for Source stream */

/* Sink stream parameters */
#define VVS_SINK_PARAMETERS     (VVS_PARAM_BASE + 110)
#define VVS_SINK_PATTERN_SIZE   (VVS_SINK_PARAMETERS + 0)
#define VVS_SINK_PATTERN        (VVS_SINK_PARAMETERS + 1)
#define VVS_SINK_GOOD_COUNT     (VVS_SINK_PARAMETERS + 2)
#define VVS_SINK_BAD_COUNT      (VVS_SINK_PARAMETERS + 3)
#define VVS_SINK_FILENAME       (VVS_SINK_PARAMETERS + 4)
#define VVS_SINK_COMM_NAME      (VVS_SINK_PARAMETERS + 5)
#define VVS_SINK_COMM_SETUP     (VVS_SINK_PARAMETERS + 6)
#define VVS_SINK_MSG_NUM        (VVS_SINK_PARAMETERS + 7)
#define VVS_SINK_FLAGS          (VVS_SINK_PARAMETERS + 8)

/* Left 15 parameter spaces for Sink stream */


/* Parameters for CODER and ENCODER */
#define VVS_CODER_PARAMETERS    (VVS_PARAM_BASE + 125)

/* encoder min quantizer value (tuning parameter) */
#define VVS_QUANTIZER_MIN       (VVS_CODER_PARAMETERS + 0)

/* Coder streams misc */
#define VVS_BITRATEK            (VVS_CODER_PARAMETERS + 1)
#define VVS_MAX_BITS            (VVS_CODER_PARAMETERS + 2)
#define VVS_TARGET_BITS         (VVS_CODER_PARAMETERS + 3)
#define VVS_EFF_FACTOR          (VVS_CODER_PARAMETERS + 4)

/* BitRate control*/
#define VVS_RESERVE_BITS        (VVS_CODER_PARAMETERS + 5)
#define VVS_QUANT_BITS          (VVS_CODER_PARAMETERS + 6)
#define VVS_CAPTURE_BITS        (VVS_CODER_PARAMETERS + 7)
#define VVS_BOTTOM_BITS         (VVS_CODER_PARAMETERS + 8)
#define VVS_BUFFER_BITS         (VVS_CODER_PARAMETERS + 9)
#define VVS_QTARGET_BITS        (VVS_CODER_PARAMETERS + 10)

/* for Motion Estimation tuning maps */
#define VVS_MEST_MAP            (VVS_CODER_PARAMETERS + 11)
 
/* far-end resolution capabilities */
#define VVS_LOW_RES_CAP         (VVS_CODER_PARAMETERS + 12)
#define VVS_MED_RES_CAP         (VVS_CODER_PARAMETERS + 13) 
#define VVS_HIGH_RES_CAP        (VVS_CODER_PARAMETERS + 14)

/* Controls for MahKeeNak DCT */ 
#define VVS_K3                  (VVS_CODER_PARAMETERS + 15)
#define VVS_KALL                (VVS_CODER_PARAMETERS + 16)
#define VVS_MIN3                (VVS_CODER_PARAMETERS + 17)
#define VVS_MINALL              (VVS_CODER_PARAMETERS + 18)
 
/* Left a total of 40 spaces for coder and decoder parameters */
#define VVS_DISPLAY_FREEZE      (VVS_CODER_PARAMETERS + 19)
#define VVS_DISPLAY_DIB         (VVS_CODER_PARAMETERS + 20)
#define VVS_WGHT1               (VVS_CODER_PARAMETERS + 21)
#define VVS_WGHT2               (VVS_CODER_PARAMETERS + 22)
#define VVS_FRAMESDISPLAYED     (VVS_CODER_PARAMETERS + 23)
#define VVS_ENCODE_BAL_DISPLAY  (VVS_CODER_PARAMETERS + 24)
#define VVS_VIDEO_HOLD          (VVS_CODER_PARAMETERS + 25)
#define VVS_FORMAT              (VVS_CODER_PARAMETERS + 26)
#define VVS_GAMMA_PREDISTORTED  (VVS_CODER_PARAMETERS + 27)
#define VVS_UPSIDE_DOWN         (VVS_CODER_PARAMETERS + 28)
#define VVS_MIRROR              (VVS_CODER_PARAMETERS + 29)
#define VVS_LIGHTING            (VVS_CODER_PARAMETERS + 30)
#define VVS_INTENSITY_PERCENTILE (VVS_CODER_PARAMETERS + 31)
#define VVS_DECODER_BCH         (VVS_CODER_PARAMETERS + 32)
#define VVS_OUTDIB_FORMAT       (VVS_CODER_PARAMETERS + 33)
#define VVS_WHITE_BALANCE       (VVS_CODER_PARAMETERS + 34)
#define VVS_SOURCE_DIALOG       (VVS_CODER_PARAMETERS + 35)
#define VVS_FORMAT_DIALOG       (VVS_CODER_PARAMETERS + 36)     
#define VVS_DISPLAY_DIALOG      (VVS_CODER_PARAMETERS + 37) 
#define VVS_CAPTURE_WINDOW    (VVS_CODER_PARAMETERS + 38)
#define VVS_CAPTURE_SCALE     (VVS_CODER_PARAMETERS + 39)

/* Smart Screen Source: 0 = file, 1 = screen, 2 = pattern */
#define VVS_SMTSCR_PARAMETERS   (VVS_PARAM_BASE + 165)
#define VVS_SMTSCR_SRC          (VVS_SMTSCR_PARAMETERS + 0)
#define VVS_SMTSCR_DIB          (VVS_SMTSCR_PARAMETERS + 1)
#define VVS_SMTSCR_HWND         (VVS_SMTSCR_PARAMETERS + 2)
#define VVS_SMTSCR_GETDIB       (VVS_SMTSCR_PARAMETERS + 3)
#define VVS_SMTSCR_USAGE        (VVS_SMTSCR_PARAMETERS + 4)  
#define VVS_SMTSCR_CAPTURE_DIB_INTERVAL   (VVS_SMTSCR_PARAMETERS + 5)  
#define VVS_SMTSCR_CAPTURE_CURSOR_INTERVAL   (VVS_SMTSCR_PARAMETERS + 6)   

/* Steal some SmartScreen prarmeters for H.263 - md 2/24/96 */
#define VVS_ADVANCED_PRED		(VVS_SMTSCR_PARAMETERS + 7)
#define VVS_URESTRICTED_MV		(VVS_SMTSCR_PARAMETERS + 8)
#define VVS_SEND_GOB_HEADERS    (VVS_SMTSCR_PARAMETERS + 9)

// Echo Suppression Parameters
#define VVS_ECHO_PARAMETERS     (VVS_PARAM_BASE + 175)
//Overlap G723 w/ echo.  G723 used for audout, echo used for audin.

#define VVS_G723_OK             (VVS_ECHO_PARAMETERS + 0)
#define VVS_G723_CONCEAL        (VVS_ECHO_PARAMETERS + 1)
#define VVS_G723_BAD_BITSTREAM  (VVS_ECHO_PARAMETERS + 2)                   
#define VVS_G723_PACKBITS_ERROR (VVS_ECHO_PARAMETERS + 3)                
#define VVS_G723_UNSUPPORTED_MODE (VVS_ECHO_PARAMETERS + 4)
 
#define VVS_FAST_INC            (VVS_ECHO_PARAMETERS + 0)
#define VVS_SLOW_INC            (VVS_ECHO_PARAMETERS + 1)
#define VVS_LEVEL_INC           (VVS_ECHO_PARAMETERS + 2)
#define VVS_NOISE_INC           (VVS_ECHO_PARAMETERS + 3)
#define VVS_THRESHOLD           (VVS_ECHO_PARAMETERS + 4)
#define VVS_ECHO_VOLUME         (VVS_ECHO_PARAMETERS + 5)
#define VVS_ECHO_GAIN           (VVS_ECHO_PARAMETERS + 6)
#define VVS_ECHO_RANGE          (VVS_ECHO_PARAMETERS + 7)

/* echo suppression--audin stream only!  */
#define VVS_ECHO_INPUT_GAIN     (VVS_ECHO_PARAMETERS + 8)
#define VVS_ECHO_LINE_GAIN      (VVS_ECHO_PARAMETERS + 9)
#define VVS_ECHO_MIC_BIAS       (VVS_ECHO_PARAMETERS + 10)
#define VVS_ECHO_XMIT_LEVEL     (VVS_ECHO_PARAMETERS + 11)
#define VVS_ECHO_SPEAKER_LEVEL  (VVS_ECHO_PARAMETERS + 12)

/* more echo suppression stuff  */
#define VVS_ECHO_CENTER_CLIPPER (VVS_ECHO_PARAMETERS + 13)
#define VVS_ECHO_TIME           (VVS_ECHO_PARAMETERS + 14)
#define VVS_MWAVE_TIMER_FUZZ    (VVS_ECHO_PARAMETERS + 15)
#define VVS_ECHO_ATTENUATION    (VVS_ECHO_PARAMETERS + 16)
#define VVS_ECHO_ON             (VVS_ECHO_PARAMETERS + 17)
#define VVS_MWAVE_TIMER         (VVS_ECHO_PARAMETERS + 18)
#define VVS_ECHO_LINE_BIAS      (VVS_ECHO_PARAMETERS + 19)
#define VVS_ECHO_OUTPUT_NOISE   (VVS_ECHO_PARAMETERS + 20)
#define VVS_ECHO_INPUT_NOISE    (VVS_ECHO_PARAMETERS + 21)
#define VVS_ECHO_OUTPUT_LEVEL   (VVS_ECHO_PARAMETERS + 22)
#define VVS_ECHO_INPUT_LEVEL    (VVS_ECHO_PARAMETERS + 23)
//#define VVS_ECHO_SYNC_ERRORS    (VVS_ECHO_PARAMETERS + 24)
#define VVS_VA_SLEEP_COUNT          (VVS_ECHO_PARAMETERS + 24)
//#define VVS_VA_MAG_PRED_COEFFS        (VVS_ECHO_PARAMETERS + 25)
#define VVS_VA_FALL_TIME        (VVS_ECHO_PARAMETERS + 25)
#define VVS_VA_MAG_SPEECH           (VVS_ECHO_PARAMETERS + 26)
//#define VVS_VA_SLEEP_COEFF_THRESH (VVS_ECHO_PARAMETERS + 27)
#define VVS_VA_RISE_TIME            (VVS_ECHO_PARAMETERS + 27)
#define VVS_VA_SLEEP_SPEECH_THRESH  (VVS_ECHO_PARAMETERS + 28)
#define VVS_VA_ACTIVE_SPEECH_THRESH (VVS_ECHO_PARAMETERS + 29)
#define VVS_VA_STATE                (VVS_ECHO_PARAMETERS + 30)
//#define VVS_VA_MAG_PRED_POLES     (VVS_ECHO_PARAMETERS + 30)
//#define VVS_VA_MAG_PRED_ZEROS     (VVS_ECHO_PARAMETERS + 31)
/* OK to go over 30 since overlap is w/ ses manager and */
/* will never ask any other stream for VVS_VA_MAG_PRED_ZEROS*/ 
/* Left 30 parameter spaces for echo suppression */

/* Session Manager Stream Parameters */
#define VVS_SESMNGR_PARAMETERS      (VVS_PARAM_BASE + 205)
#define VVS_SES_MNGR_COMM_MNGR      (VVS_SESMNGR_PARAMETERS + 0)
#define VVS_SES_MNGR_NEXT_ACTION    (VVS_SESMNGR_PARAMETERS + 1)
#define VVS_SES_MNGR_CURR_STATE     (VVS_SESMNGR_PARAMETERS + 2)
#define VVS_SES_MNGR_STREAMS        (VVS_SESMNGR_PARAMETERS + 3)
#define VVS_SES_MNGR_STREAMS_MAX    (VVS_SESMNGR_PARAMETERS + 4)
#define VVS_SES_MNGR_STREAMS_MIN    (VVS_SESMNGR_PARAMETERS + 5)
#define VVS_SES_MNGR_DMINITED       (VVS_SESMNGR_PARAMETERS + 6)
#define VVS_SES_MNGR_COMPRSRC       (VVS_SESMNGR_PARAMETERS + 7)
#define VVS_SES_MNGR_LOOPBACK_LEVEL (VVS_SESMNGR_PARAMETERS + 8)

⌨️ 快捷键说明

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