libavcodec/vp56.c File Reference

VP5 and VP6 compatible video decoder (common features). More...

#include "avcodec.h"
#include "bytestream.h"
#include "vp56.h"
#include "vp56data.h"

Go to the source code of this file.

Functions

void vp56_init_dequant (vp56_context_t *s, int quantizer)
static int vp56_get_vectors_predictors (vp56_context_t *s, int row, int col, vp56_frame_t ref_frame)
static void vp56_parse_mb_type_models (vp56_context_t *s)
static vp56_mb_t vp56_parse_mb_type (vp56_context_t *s, vp56_mb_t prev_type, int ctx)
static void vp56_decode_4mv (vp56_context_t *s, int row, int col)
static vp56_mb_t vp56_decode_mv (vp56_context_t *s, int row, int col)
static void vp56_add_predictors_dc (vp56_context_t *s, vp56_frame_t ref_frame)
static void vp56_edge_filter (vp56_context_t *s, uint8_t *yuv, int pix_inc, int line_inc, int t)
static void vp56_deblock_filter (vp56_context_t *s, uint8_t *yuv, int stride, int dx, int dy)
static void vp56_mc (vp56_context_t *s, int b, int plane, uint8_t *src, int stride, int x, int y)
static void vp56_decode_mb (vp56_context_t *s, int row, int col, int is_alpha)
static int vp56_size_changed (AVCodecContext *avctx)
int vp56_decode_frame (AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size)
void vp56_init (AVCodecContext *avctx, int flip, int has_alpha)
int vp56_free (AVCodecContext *avctx)


Detailed Description

VP5 and VP6 compatible video decoder (common features).

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.c.


Function Documentation

static void vp56_add_predictors_dc ( vp56_context_t s,
vp56_frame_t  ref_frame 
) [static]

Definition at line 261 of file vp56.c.

Referenced by vp56_decode_mb().

static void vp56_deblock_filter ( vp56_context_t s,
uint8_t yuv,
int  stride,
int  dx,
int  dy 
) [static]

Definition at line 317 of file vp56.c.

Referenced by vp56_mc().

static void vp56_decode_4mv ( vp56_context_t s,
int  row,
int  col 
) [static]

Definition at line 159 of file vp56.c.

Referenced by vp56_decode_mv().

int vp56_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
const uint8_t buf,
int  buf_size 
)

Definition at line 497 of file vp56.c.

static void vp56_decode_mb ( vp56_context_t s,
int  row,
int  col,
int  is_alpha 
) [static]

Definition at line 395 of file vp56.c.

Referenced by vp56_decode_frame().

static vp56_mb_t vp56_decode_mv ( vp56_context_t s,
int  row,
int  col 
) [static]

Definition at line 204 of file vp56.c.

Referenced by vp56_decode_mb().

static void vp56_edge_filter ( vp56_context_t s,
uint8_t yuv,
int  pix_inc,
int  line_inc,
int  t 
) [static]

Definition at line 302 of file vp56.c.

Referenced by vp56_deblock_filter().

int vp56_free ( AVCodecContext avctx  ) 

Definition at line 686 of file vp56.c.

static int vp56_get_vectors_predictors ( vp56_context_t s,
int  row,
int  col,
vp56_frame_t  ref_frame 
) [static]

Definition at line 38 of file vp56.c.

Referenced by vp56_decode_mv().

void vp56_init ( AVCodecContext avctx,
int  flip,
int  has_alpha 
)

Definition at line 646 of file vp56.c.

Referenced by vp5_decode_init(), and vp6_decode_init().

void vp56_init_dequant ( vp56_context_t s,
int  quantizer 
)

Definition at line 31 of file vp56.c.

Referenced by vp5_parse_header(), and vp6_parse_header().

static void vp56_mc ( vp56_context_t s,
int  b,
int  plane,
uint8_t src,
int  stride,
int  x,
int  y 
) [static]

Definition at line 325 of file vp56.c.

Referenced by vp56_decode_mb().

static vp56_mb_t vp56_parse_mb_type ( vp56_context_t s,
vp56_mb_t  prev_type,
int  ctx 
) [static]

Definition at line 147 of file vp56.c.

Referenced by vp56_decode_mv().

static void vp56_parse_mb_type_models ( vp56_context_t s  )  [static]

Definition at line 76 of file vp56.c.

Referenced by vp56_decode_frame().

static int vp56_size_changed ( AVCodecContext avctx  )  [static]

Definition at line 462 of file vp56.c.

Referenced by vp56_decode_frame().


Generated on Fri Oct 3 22:46:59 2008 for ffmpeg by  doxygen 1.5.6