#include "vp56data.h"
#include "dsputil.h"
#include "get_bits.h"
#include "bytestream.h"
#include "vp56dsp.h"
Go to the source code of this file.
Data Structures | |
| struct | VP56RangeCoder |
| struct | VP56RefDc |
| struct | vp56_mv |
| struct | VP56Macroblock |
| struct | VP56Model |
| struct | vp56_context |
Typedefs | |
| typedef struct vp56_context | VP56Context |
| typedef struct vp56_mv | VP56mv |
| typedef void(* | VP56ParseVectorAdjustment )(VP56Context *s, VP56mv *vect) |
| typedef void(* | VP56Filter )(VP56Context *s, uint8_t *dst, uint8_t *src, int offset1, int offset2, int stride, VP56mv mv, int mask, int select, int luma) |
| typedef void(* | VP56ParseCoeff )(VP56Context *s) |
| typedef void(* | VP56DefaultModelsInit )(VP56Context *s) |
| typedef void(* | VP56ParseVectorModels )(VP56Context *s) |
| typedef int(* | VP56ParseCoeffModels )(VP56Context *s) |
| typedef int(* | VP56ParseHeader )(VP56Context *s, const uint8_t *buf, int buf_size, int *golden_frame) |
Functions | |
| void | vp56_init (AVCodecContext *avctx, int flip, int has_alpha) |
| int | vp56_free (AVCodecContext *avctx) |
| void | vp56_init_dequant (VP56Context *s, int quantizer) |
| int | vp56_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
| static void | vp56_init_range_decoder (VP56RangeCoder *c, const uint8_t *buf, int buf_size) |
| vp56 specific range coder implementation | |
| static int | vp56_rac_get_prob (VP56RangeCoder *c, uint8_t prob) |
| static int | vp56_rac_get (VP56RangeCoder *c) |
| static int | vp56_rac_gets (VP56RangeCoder *c, int bits) |
| static int | vp56_rac_gets_nn (VP56RangeCoder *c, int bits) |
| static int | vp56_rac_get_tree (VP56RangeCoder *c, const VP56Tree *tree, const uint8_t *probs) |
Copyright (C) 2006 Aurelien Jacobs <aurel@gnuage.org>
This file is part of FFmpeg.
FFmpeg is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
FFmpeg is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with FFmpeg; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Definition in file vp56.h.
| typedef struct vp56_context VP56Context |
| typedef void(* VP56DefaultModelsInit)(VP56Context *s) |
| typedef void(* VP56Filter)(VP56Context *s, uint8_t *dst, uint8_t *src, int offset1, int offset2, int stride, VP56mv mv, int mask, int select, int luma) |
| typedef void(* VP56ParseCoeff)(VP56Context *s) |
| typedef int(* VP56ParseCoeffModels)(VP56Context *s) |
| typedef int(* VP56ParseHeader)(VP56Context *s, const uint8_t *buf, int buf_size, int *golden_frame) |
| typedef void(* VP56ParseVectorAdjustment)(VP56Context *s, VP56mv *vect) |
| typedef void(* VP56ParseVectorModels)(VP56Context *s) |
| int vp56_decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| AVPacket * | avpkt | |||
| ) |
| int vp56_free | ( | AVCodecContext * | avctx | ) |
| void vp56_init | ( | AVCodecContext * | avctx, | |
| int | flip, | |||
| int | has_alpha | |||
| ) |
| void vp56_init_dequant | ( | VP56Context * | s, | |
| int | quantizer | |||
| ) |
| static void vp56_init_range_decoder | ( | VP56RangeCoder * | c, | |
| const uint8_t * | buf, | |||
| int | buf_size | |||
| ) | [inline, static] |
vp56 specific range coder implementation
Definition at line 183 of file vp56.h.
Referenced by vp5_parse_header(), and vp6_parse_header().
| static int vp56_rac_get | ( | VP56RangeCoder * | c | ) | [inline, static] |
Definition at line 218 of file vp56.h.
Referenced by vp56_parse_mb_type_models(), vp56_rac_gets(), vp5_parse_coeff(), vp5_parse_header(), vp6_parse_coeff(), vp6_parse_coeff_models(), and vp6_parse_header().
| static int vp56_rac_get_prob | ( | VP56RangeCoder * | c, | |
| uint8_t | prob | |||
| ) | [inline, static] |
Definition at line 193 of file vp56.h.
Referenced by vp56_parse_mb_type(), vp56_parse_mb_type_models(), vp56_rac_get_tree(), vp5_parse_coeff(), vp5_parse_coeff_models(), vp5_parse_vector_adjustment(), vp5_parse_vector_models(), vp6_parse_coeff(), vp6_parse_coeff_models(), vp6_parse_vector_adjustment(), and vp6_parse_vector_models().
| static int vp56_rac_get_tree | ( | VP56RangeCoder * | c, | |
| const VP56Tree * | tree, | |||
| const uint8_t * | probs | |||
| ) | [inline, static] |
Definition at line 257 of file vp56.h.
Referenced by vp56_parse_mb_type(), vp56_parse_mb_type_models(), vp5_parse_coeff(), vp5_parse_vector_adjustment(), vp6_parse_coeff(), and vp6_parse_vector_adjustment().
| static int vp56_rac_gets | ( | VP56RangeCoder * | c, | |
| int | bits | |||
| ) | [inline, static] |
Definition at line 240 of file vp56.h.
Referenced by vp56_decode_4mv(), vp56_parse_mb_type_models(), vp56_rac_gets_nn(), vp5_parse_header(), vp6_parse_coeff_models(), and vp6_parse_header().
| static int vp56_rac_gets_nn | ( | VP56RangeCoder * | c, | |
| int | bits | |||
| ) | [inline, static] |
Definition at line 251 of file vp56.h.
Referenced by vp5_parse_coeff_models(), vp5_parse_vector_models(), vp6_parse_coeff_models(), and vp6_parse_vector_models().
1.5.8