diff options
author | John Koleszar <jkoleszar@google.com> | 2010-12-13 13:57:59 -0800 |
---|---|---|
committer | Code Review <code-review@webmproject.org> | 2010-12-13 13:57:59 -0800 |
commit | 3809d7bbd984a763cf7f288a51c9924667addf4a (patch) | |
tree | d6d39e612a8b9efbe1644a0f48e3543325766ad4 /vp8/common | |
parent | 398aa81849584ef06216079bb98065b3303fbf27 (diff) | |
parent | b1aa54ab26656cee4aaebb550cb806580e98ab53 (diff) | |
download | libvpx-3809d7bbd984a763cf7f288a51c9924667addf4a.tar libvpx-3809d7bbd984a763cf7f288a51c9924667addf4a.tar.gz libvpx-3809d7bbd984a763cf7f288a51c9924667addf4a.tar.bz2 libvpx-3809d7bbd984a763cf7f288a51c9924667addf4a.zip |
Merge "remove unused temporal preproc code"
Diffstat (limited to 'vp8/common')
-rw-r--r-- | vp8/common/preproc.h | 46 | ||||
-rw-r--r-- | vp8/common/preprocif.h | 76 |
2 files changed, 0 insertions, 122 deletions
diff --git a/vp8/common/preproc.h b/vp8/common/preproc.h deleted file mode 100644 index 0b142bda7..000000000 --- a/vp8/common/preproc.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright (c) 2010 The WebM project authors. All Rights Reserved. - * - * Use of this source code is governed by a BSD-style license - * that can be found in the LICENSE file in the root of the source - * tree. An additional intellectual property rights grant can be found - * in the file PATENTS. All contributing project authors may - * be found in the AUTHORS file in the root of the source tree. - */ - - -/**************************************************************************** -* -* Module Title : preproc.h -* -* Description : simple preprocessor -* -****************************************************************************/ - -#ifndef __INC_PREPROC_H -#define __INC_PREPROC_H - -/**************************************************************************** -* Types -****************************************************************************/ - -typedef struct -{ - unsigned char *frame_buffer; - int frame; - unsigned int *fixed_divide; - - unsigned char *frame_buffer_alloc; - unsigned int *fixed_divide_alloc; -} pre_proc_instance; - -/**************************************************************************** -* Functions. -****************************************************************************/ -void pre_proc_machine_specific_config(void); -void delete_pre_proc(pre_proc_instance *ppi); -int init_pre_proc(pre_proc_instance *ppi, int frame_size); -extern void spatial_filter_c(pre_proc_instance *ppi, unsigned char *s, unsigned char *d, int width, int height, int pitch, int strength); -extern void (*temp_filter)(pre_proc_instance *ppi, unsigned char *s, unsigned char *d, int bytes, int strength); - -#endif diff --git a/vp8/common/preprocif.h b/vp8/common/preprocif.h deleted file mode 100644 index 7d554b509..000000000 --- a/vp8/common/preprocif.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright (c) 2010 The WebM project authors. All Rights Reserved. - * - * Use of this source code is governed by a BSD-style license - * that can be found in the LICENSE file in the root of the source - * tree. An additional intellectual property rights grant can be found - * in the file PATENTS. All contributing project authors may - * be found in the AUTHORS file in the root of the source tree. - */ - - -/**************************************************************************** -* -* Module Title : preproc_if.h -* -* Description : Pre-processor interface header file. -* -****************************************************************************/ - -#ifndef __PREPROC_IF_H -#define __PREPROC_IF_H - -/**************************************************************************** -* Header Files -****************************************************************************/ -#include "type_aliases.h" - -/**************************************************************************** -* Types -****************************************************************************/ - -typedef struct -{ - UINT8 *Yuv0ptr; - UINT8 *Yuv1ptr; - - UINT8 *frag_info; // blocks coded : passed in - UINT32 frag_info_element_size; // size of each element - UINT32 frag_info_coded_mask; // mask to get at whether fragment is coded - - UINT32 *region_index; // Gives pixel index for top left of each block - UINT32 video_frame_height; - UINT32 video_frame_width; - UINT8 hfrag_pixels; - UINT8 vfrag_pixels; - -} SCAN_CONFIG_DATA; - -typedef enum -{ - SCP_FILTER_ON_OFF, - SCP_SET_SRF_OFFSET, - SCP_SET_EBO_ON_OFF, - SCP_SET_VCAP_LEVEL_OFFSET, - SCP_SET_SHOW_LOCAL - -} SCP_SETTINGS; - -typedef struct PP_INSTANCE *x_pp_inst; - -/**************************************************************************** -* Module statics -****************************************************************************/ -/* Controls whether Early break out is on or off in default case */ -#define EARLY_BREAKOUT_DEFAULT TRUE - -/**************************************************************************** -* Functions -****************************************************************************/ -extern void set_scan_param(x_pp_inst ppi, UINT32 param_id, INT32 param_value); -extern UINT32 yuvanalyse_frame(x_pp_inst ppi, UINT32 *KFIndicator); -extern x_pp_inst create_pp_instance(void); -extern void delete_pp_instance(x_pp_inst *); -extern BOOL scan_yuvinit(x_pp_inst, SCAN_CONFIG_DATA *scan_config_ptr); - -#endif |