Home | History | Annotate | Download | only in parser
      1 /*
      2  INTEL CONFIDENTIAL
      3  Copyright 2009 Intel Corporation All Rights Reserved.
      4  The source code contained or described herein and all documents related to the source code ("Material") are owned by Intel Corporation or its suppliers or licensors. Title to the Material remains with Intel Corporation or its suppliers and licensors. The Material contains trade secrets and proprietary and confidential information of Intel or its suppliers and licensors. The Material is protected by worldwide copyright and trade secret laws and treaty provisions. No part of the Material may be used, copied, reproduced, modified, published, uploaded, posted, transmitted, distributed, or disclosed in any way without Intels prior express written permission.
      5 
      6  No license under any patent, copyright, trade secret or other intellectual property right is granted to or conferred upon you by disclosure or delivery of the Materials, either expressly, by implication, inducement, estoppel or otherwise. Any license under such intellectual property rights must be express and approved by Intel in writing.
      7  */
      8 
      9 #ifndef VBP_VC1_PARSER_H
     10 #define VBP_VC1_PARSER_H
     11 
     12 
     13 /*
     14  * setup parser's entry pointer
     15  */
     16 uint32 vbp_init_parser_entries_vc1(vbp_context *pcontext);
     17 
     18 /*
     19  * allocate query data structure - vbp_vc1_data
     20  */
     21 uint32 vbp_allocate_query_data_vc1(vbp_context *pcontext);
     22 
     23 /*
     24  * free query data structure
     25  */
     26 uint32 vbp_free_query_data_vc1(vbp_context *pcontext);
     27 
     28 /*
     29  * parse bitstream configuration data
     30  */
     31 uint32 vbp_parse_init_data_vc1(vbp_context *pcontext);
     32 
     33 /*
     34  * parse bitstream start code and fill the viddec_input_buffer_t list.
     35  * WMV has no start code so the whole buffer will be treated as a single frame.
     36  * For VC1 progressive, if start code is not found, the whole buffer will be treated as a
     37  * single frame as well.
     38  * For VC1 interlace, the first field is not start code prefixed, but the second field
     39  * is always start code prefixed.
     40  */
     41 uint32 vbp_parse_start_code_vc1(vbp_context *pcontext);
     42 
     43 /*
     44  * processe parsing result
     45  */
     46 uint32 vbp_process_parsing_result_vc1(vbp_context *pcontext, int list_index);
     47 
     48 /*
     49  * populate query data structure
     50  */
     51 uint32 vbp_populate_query_data_vc1(vbp_context *pcontext);
     52 
     53 
     54 #endif /*VBP_VC1_PARSER_H*/
     55