www.pudn.com > w_ipp-sample-media_p_5.0.017.zip > params.h


/*////////////////////////////////////////////////////////////////////////////// 
// 
//                  INTEL CORPORATION PROPRIETARY INFORMATION 
//     This software is supplied under the terms of a license agreement or 
//     nondisclosure agreement with Intel Corporation and may not be copied 
//     or disclosed except in accordance with the terms of that agreement. 
//          Copyright(c) 2004-2005 Intel Corporation. All Rights Reserved. 
// 
*/ 
 
#ifndef __PARAMS_H 
#define __PARAMS_H 
 
#include "vm_types.h" 
 
#include "umc_ac3_decoder.h" 
#include "umc_aac_encoder_params.h" 
 
typedef struct 
{ 
  vm_char input_file[256]; 
  vm_char output_file[256]; 
  vm_char output_txt[256]; 
  vm_char codec_name[256]; 
  int  is_text_out; 
  int  bitrate; 
  int  enumerate; 
 
  UMC::AC3DecoderParams ac3dec_params; 
 
#ifdef EX_PARAM 
  int ModeDecode; 
  int ModeDownSample; 
#endif 
  UMC::AACEncoderParams aacenc_params; 
 
} sProgramParameters; 
 
 
int  params_parse_command_line(sProgramParameters * p_param, int argc, vm_char* argv[]); 
 
void params_print_usage(void); 
int  params_fill_by_default(sProgramParameters * p_param); 
int  params_check_input(sProgramParameters * p_param); 
 
#endif//__PARAMS_H