#include <stdlib.h>
#include "avcodec.h"
#include "dsputil.h"
#include "get_bits.h"
#include "huffman.h"
#include "vp56.h"
#include "vp56data.h"
#include "vp6data.h"
Go to the source code of this file.
The VP6F decoder accepts an optional 1 byte extradata. It is composed of:
Definition in file vp6.c.
| #define VP6_MAX_HUFF_SIZE 12 |
| static int vp6_build_huff_tree | ( | VP56Context * | s, | |
| uint8_t | coeff_model[], | |||
| const uint8_t * | map, | |||
| unsigned | size, | |||
| VLC * | vlc | |||
| ) | [static] |
| static void vp6_coeff_order_table_init | ( | VP56Context * | s | ) | [static] |
Definition at line 165 of file vp6.c.
Referenced by vp6_default_models_init(), and vp6_parse_coeff_models().
| static av_cold int vp6_decode_free | ( | AVCodecContext * | avctx | ) | [static] |
| static av_cold void vp6_decode_free_context | ( | VP56Context * | s | ) | [static] |
| static av_cold int vp6_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
| static av_cold void vp6_decode_init_context | ( | VP56Context * | s | ) | [static] |
| static void vp6_default_models_init | ( | VP56Context * | s | ) | [static] |
| static unsigned vp6_get_nb_null | ( | VP56Context * | s | ) | [static] |
Read number of consecutive blocks with null DC or AC.
This value is < 74.
Definition at line 357 of file vp6.c.
Referenced by vp6_parse_coeff_huffman().
| static int vp6_huff_cmp | ( | const void * | va, | |
| const void * | vb | |||
| ) | [static] |
| static void vp6_parse_coeff | ( | VP56Context * | s | ) | [static] |
| static void vp6_parse_coeff_huffman | ( | VP56Context * | s | ) | [static] |
| static int vp6_parse_coeff_models | ( | VP56Context * | s | ) | [static] |
| static int vp6_parse_header | ( | VP56Context * | s, | |
| const uint8_t * | buf, | |||
| int | buf_size | |||
| ) | [static] |
| static void vp6_parse_vector_adjustment | ( | VP56Context * | s, | |
| VP56mv * | vect | |||
| ) | [static] |
| static void vp6_parse_vector_models | ( | VP56Context * | s | ) | [static] |
Initial value:
{
.name = "vp6",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_VP6,
.priv_data_size = sizeof(VP56Context),
.init = vp6_decode_init,
.close = vp6_decode_free,
.decode = ff_vp56_decode_frame,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("On2 VP6"),
}
Initial value:
{
.name = "vp6a",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_VP6A,
.priv_data_size = sizeof(VP56Context),
.init = vp6_decode_init,
.close = vp6_decode_free,
.decode = ff_vp56_decode_frame,
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_SLICE_THREADS,
.long_name = NULL_IF_CONFIG_SMALL("On2 VP6 (Flash version, with alpha channel)"),
}
Initial value:
{
.name = "vp6f",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_VP6F,
.priv_data_size = sizeof(VP56Context),
.init = vp6_decode_init,
.close = vp6_decode_free,
.decode = ff_vp56_decode_frame,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("On2 VP6 (Flash version)"),
}
1.5.8