2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
12 /****************************************************************************
14 * Module Title : preproc_if.h
16 * Description : Pre-processor interface header file.
18 ****************************************************************************/
20 #ifndef __PREPROC_IF_H
21 #define __PREPROC_IF_H
23 /****************************************************************************
25 ****************************************************************************/
26 #include "type_aliases.h"
28 /****************************************************************************
30 ****************************************************************************/
37 UINT8
*frag_info
; // blocks coded : passed in
38 UINT32 frag_info_element_size
; // size of each element
39 UINT32 frag_info_coded_mask
; // mask to get at whether fragment is coded
41 UINT32
*region_index
; // Gives pixel index for top left of each block
42 UINT32 video_frame_height
;
43 UINT32 video_frame_width
;
54 SCP_SET_VCAP_LEVEL_OFFSET
,
59 typedef struct PP_INSTANCE
*x_pp_inst
;
61 /****************************************************************************
63 ****************************************************************************/
64 /* Controls whether Early break out is on or off in default case */
65 #define EARLY_BREAKOUT_DEFAULT TRUE
67 /****************************************************************************
69 ****************************************************************************/
70 extern void set_scan_param(x_pp_inst ppi
, UINT32 param_id
, INT32 param_value
);
71 extern UINT32
yuvanalyse_frame(x_pp_inst ppi
, UINT32
*KFIndicator
);
72 extern x_pp_inst
create_pp_instance(void);
73 extern void delete_pp_instance(x_pp_inst
*);
74 extern BOOL
scan_yuvinit(x_pp_inst
, SCAN_CONFIG_DATA
*scan_config_ptr
);