|
FFmpeg
|
FF Video Codec 1 (a lossless codec) More...
#include "libavutil/attributes.h"#include "avcodec.h"#include "get_bits.h"#include "mathops.h"#include "progressframe.h"#include "put_bits.h"#include "rangecoder.h"Go to the source code of this file.
Data Structures | |
| struct | VlcState |
| struct | PlaneContext |
| struct | FFV1SliceContext |
| struct | FFV1SliceContext::Unit |
| struct | FFV1Context |
Macros | |
| #define | MAX_PLANES 4 |
| #define | CONTEXT_SIZE 32 |
| #define | MAX_QUANT_TABLES 8 |
| #define | MAX_QUANT_TABLE_SIZE 256 |
| #define | MAX_QUANT_TABLE_MASK (MAX_QUANT_TABLE_SIZE - 1) |
| #define | MAX_CONTEXT_INPUTS 5 |
| #define | AC_GOLOMB_RICE 0 |
| #define | AC_RANGE_DEFAULT_TAB 1 |
| #define | AC_RANGE_CUSTOM_TAB 2 |
| #define | AC_RANGE_DEFAULT_TAB_FORCE -2 |
| #define | MAX_SLICES 1024 |
FF Video Codec 1 (a lossless codec)
Definition in file ffv1.h.
| #define MAX_PLANES 4 |
Definition at line 44 of file ffv1.h.
Referenced by encode_bayer_frame(), encode_float32_rgb_frame(), encode_rgb_frame_TMPL(), ff_draw_init2(), ff_ffv1_init_slice_contexts(), ff_ffv1_planes_alloc(), ff_snow_common_end(), find_slice_quant(), planes_free(), and uninit().
| #define CONTEXT_SIZE 32 |
Definition at line 45 of file ffv1.h.
Referenced by contains_non_128(), decode_slice_header(), encode_slice_header(), ff_ffv1_clear_slice_state(), ff_ffv1_init_slice_state(), ff_ffv1_read_extra_header(), ff_ffv1_write_extradata(), init_decode_shader(), init_encode_shader(), parse(), read_header(), read_quant_table(), vk_ffv1_start_frame(), vulkan_encode_ffv1_submit_frame(), write_header(), and write_quant_table().
| #define MAX_QUANT_TABLES 8 |
Definition at line 47 of file ffv1.h.
Referenced by ff_ffv1_read_extra_header(), and ff_ffv1_vk_init_consts().
| #define MAX_QUANT_TABLE_SIZE 256 |
Definition at line 48 of file ffv1.h.
Referenced by ff_ffv1_vk_init_consts(), get_context_TMPL(), write_quant_table(), and write_quant_tables().
| #define MAX_QUANT_TABLE_MASK (MAX_QUANT_TABLE_SIZE - 1) |
Definition at line 49 of file ffv1.h.
Referenced by get_context_TMPL().
| #define MAX_CONTEXT_INPUTS 5 |
Definition at line 50 of file ffv1.h.
Referenced by ff_ffv1_read_quant_tables(), ff_ffv1_vk_init_consts(), get_context_TMPL(), and write_quant_tables().
| #define AC_GOLOMB_RICE 0 |
Definition at line 52 of file ffv1.h.
Referenced by decode_header(), decode_line_TMPL(), decode_slice(), decode_slice_header(), encode_init_internal(), encode_line_TMPL(), encode_slice(), ff_ffv1_clear_slice_state(), ff_ffv1_encode_init(), ff_ffv1_init_slice_state(), init_decode_shader(), init_encode_shader(), init_reset_shader(), init_reset_shader(), is_input_end(), vk_ffv1_start_frame(), vulkan_encode_ffv1_init(), and vulkan_encode_ffv1_submit_frame().
| #define AC_RANGE_DEFAULT_TAB 1 |
Definition at line 53 of file ffv1.h.
Referenced by encode_init_internal().
| #define AC_RANGE_CUSTOM_TAB 2 |
Definition at line 54 of file ffv1.h.
Referenced by encode_frame(), encode_init_internal(), ff_ffv1_encode_init(), ff_ffv1_init_slice_state(), ff_ffv1_parse_header(), ff_ffv1_read_extra_header(), ff_ffv1_write_extradata(), vulkan_encode_ffv1_init(), and write_header().
| #define AC_RANGE_DEFAULT_TAB_FORCE -2 |
Definition at line 55 of file ffv1.h.
Referenced by encode_init_internal().
| int ff_ffv1_common_init | ( | AVCodecContext * | avctx, |
| FFV1Context * | s ) |
Definition at line 36 of file ffv1.c.
Referenced by decode_init(), encode_init_internal(), parse(), and vulkan_encode_ffv1_init().
| int ff_ffv1_init_slice_state | ( | const FFV1Context * | f, |
| FFV1SliceContext * | sc ) |
Definition at line 72 of file ffv1.c.
Referenced by decode_slice(), and ff_ffv1_init_slices_state().
| int ff_ffv1_init_slices_state | ( | FFV1Context * | f | ) |
Definition at line 110 of file ffv1.c.
Referenced by encode_init_internal().
| int ff_ffv1_init_slice_contexts | ( | FFV1Context * | f | ) |
Definition at line 142 of file ffv1.c.
Referenced by decode_init(), and encode_init_internal().
| PlaneContext * ff_ffv1_planes_alloc | ( | void | ) |
Definition at line 66 of file ffv1.c.
Referenced by ff_ffv1_init_slice_contexts(), and read_header().
| int ff_ffv1_allocate_initial_states | ( | FFV1Context * | f | ) |
Definition at line 185 of file ffv1.c.
Referenced by ff_ffv1_encode_init(), and ff_ffv1_read_extra_header().
| void ff_ffv1_clear_slice_state | ( | const FFV1Context * | f, |
| FFV1SliceContext * | sc ) |
Definition at line 200 of file ffv1.c.
Referenced by decode_slice(), encode_slice(), and encode_slice_header().
| void ff_ffv1_close | ( | FFV1Context * | s | ) |
Definition at line 268 of file ffv1.c.
Referenced by encode_close(), ffv1_close(), and ffv1_decode_close().
| int ff_need_new_slices | ( | int | width, |
| int | num_h_slices, | ||
| int | chroma_shift ) |
Definition at line 120 of file ffv1.c.
Referenced by ff_ffv1_encode_determine_slices().
| int ff_ffv1_parse_header | ( | FFV1Context * | f, |
| RangeCoder * | c, | ||
| uint8_t * | state ) |
Definition at line 216 of file ffv1_parse.c.
Referenced by parse(), and read_header().
| int ff_ffv1_read_extra_header | ( | FFV1Context * | f | ) |
Definition at line 70 of file ffv1_parse.c.
Referenced by decode_init(), and parse().
| int ff_ffv1_read_quant_tables | ( | RangeCoder * | c, |
| int16_t | quant_table[MAX_CONTEXT_INPUTS][256] ) |
Definition at line 52 of file ffv1_parse.c.
Referenced by ff_ffv1_read_extra_header(), and read_header().
| void ff_ffv1_compute_bits_per_plane | ( | const FFV1Context * | f, |
| FFV1SliceContext * | sc, | ||
| int | bits[4], | ||
| int * | offset, | ||
| int | mask[4], | ||
| int | bits_per_raw_sample ) |
Definition at line 224 of file ffv1.c.
Referenced by decode_bayer_frame(), decode_rgb_frame_TMPL(), encode_bayer_frame(), encode_float32_rgb_frame(), and encode_rgb_frame_TMPL().
| int ff_ffv1_get_symbol | ( | RangeCoder * | c, |
| uint8_t * | state, | ||
| int | is_signed ) |
Definition at line 263 of file ffv1.c.
Referenced by decode_current_mul(), decode_remap(), decode_slice_header(), ff_ffv1_parse_header(), ff_ffv1_read_extra_header(), read_header(), and read_quant_table().
| int ff_slice_coord | ( | const FFV1Context * | f, |
| int | width, | ||
| int | sx, | ||
| int | num_h_slices, | ||
| int | chroma_shift ) |
This is intended for both width and height.
Definition at line 127 of file ffv1.c.
Referenced by decode_slice_header(), and ff_ffv1_init_slice_contexts().
|
static |
Definition at line 216 of file ffv1.h.
Referenced by encode_line_TMPL(), get_vlc_symbol(), and put_vlc_symbol().
|
inlinestatic |
Definition at line 227 of file ffv1.h.
Referenced by get_vlc_symbol(), and put_vlc_symbol().
|
inlinestatic |
Definition at line 256 of file ffv1.h.
Referenced by decode_line_TMPL(), decode_remap(), and ff_ffv1_get_symbol().