• Paul Wilkins's avatar
    Further segment feature extensions. · 01ce04bc
    Paul Wilkins authored
    This quite large check in includes the following:
    
    Merge in some code from Ronald (mbgraph.c) that scans a Gf/arf group.
    This is used as a basis for a simple segmentation for the normal frames
    in a gf/arf group. This code also uses satd functions from Yaowu.
    
    Adds functionality for coding the latest possible position of an EOB for
    blocks in the segment. (Currently 0-15 only, hence just for 4x4 dct).
    Where the EOB position is 0 this acts like "skip" and the normal coding
    of skip at the per mb level is disabled.
    
    Added functions (seg_common.c) for setting and reading segment feature
    elements. These may want to be optimized away at some point but while the
    mecahnism is in a state of flux they provide a single location for making
    changes and keep things a bit cleaner.
    
    This is still proof of concept code. Currently the tested feature set:-
    
    Quantizer,
    Loop Filter level,
    Reference frame,
    Prediction Mode,
    EOB end stop.
    
    TBD:-
    
    Add functions for setting and reading the feature...
    01ce04bc
mbgraph.h 552 bytes
/*
 *  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.
 */
#ifndef __INC_MBGRAPH_H__
#define __INC_MBGRAPH_H__ 1
extern void vp8_update_mbgraph_stats(VP8_COMP *cpi);
#endif /* __INC_MBGRAPH_H__ */