|
FFmpeg
|
FF Video Codec 1 (a lossless codec) decoder. More...
#include "libavutil/avassert.h"#include "libavutil/crc.h"#include "libavutil/mem.h"#include "libavutil/imgutils.h"#include "libavutil/pixdesc.h"#include "avcodec.h"#include "codec_internal.h"#include "get_bits.h"#include "rangecoder.h"#include "golomb.h"#include "mathops.h"#include "ffv1.h"#include "progressframe.h"#include "libavutil/refstruct.h"#include "thread.h"#include "decode.h"#include "hwconfig.h"#include "hwaccel_internal.h"#include "config_components.h"#include "ffv1dec_template.c"Go to the source code of this file.
Macros | |
| #define | TYPE int16_t |
| #define | RENAME(name) |
| #define | TYPE int32_t |
| #define | RENAME(name) |
Functions | |
| static int | get_vlc_symbol (GetBitContext *gb, VlcState *const state, int bits) |
| static int | is_input_end (RangeCoder *c, GetBitContext *gb, int ac) |
| static int | decode_plane (FFV1Context *f, FFV1SliceContext *sc, GetBitContext *gb, uint8_t *src, int w, int h, int stride, int plane_index, int remap_index, int pixel_stride, int ac) |
| static int | decode_slice_header (const FFV1Context *f, FFV1SliceContext *sc, AVFrame *frame) |
| static void | slice_set_damaged (FFV1Context *f, FFV1SliceContext *sc) |
| static int | decode_current_mul (RangeCoder *rc, uint8_t state[32], int *mul, int mul_count, int64_t i) |
| static int | decode_remap (FFV1Context *f, FFV1SliceContext *sc) |
| static int | decode_bayer_frame (FFV1Context *f, FFV1SliceContext *sc, GetBitContext *gb, uint8_t *src, int w, int h, int stride) |
| static int | decode_slice (AVCodecContext *c, void *arg) |
| static enum AVPixelFormat | get_pixel_format (FFV1Context *f) |
| static int | read_header (FFV1Context *f, RangeCoder *c) |
| static av_cold int | decode_init (AVCodecContext *avctx) |
| static int | find_next_slice (AVCodecContext *avctx, uint8_t *buf, uint8_t *buf_end, int idx, uint8_t **pos, uint32_t *len) |
| static int | decode_header (AVCodecContext *avctx, RangeCoder *c, uint8_t *buf, size_t buf_size) |
| static int | decode_slices (AVCodecContext *avctx, RangeCoder c, AVPacket *avpkt) |
| static int | decode_frame (AVCodecContext *avctx, AVFrame *rframe, int *got_frame, AVPacket *avpkt) |
| static av_cold int | ffv1_decode_close (AVCodecContext *avctx) |
Variables | |
| const FFCodec | ff_ffv1_decoder |
FF Video Codec 1 (a lossless codec) decoder.
Definition in file ffv1dec.c.
| #define TYPE int16_t |
Definition at line 90 of file ffv1dec.c.
Referenced by cuda_device_derive(), decode_bayer_frame(), decode_line_TMPL(), decode_rgb_frame_TMPL(), encode_bayer_frame(), encode_line_TMPL(), encode_rgb_frame_TMPL(), get_context_TMPL(), horizontal_compose_daub97i_TMPL(), horizontal_compose_dd137i_TMPL(), horizontal_compose_dd97i_TMPL(), horizontal_compose_dirac53i_TMPL(), horizontal_compose_fidelityi_TMPL(), horizontal_compose_haar0i_TMPL(), horizontal_compose_haar1i_TMPL(), horizontal_compose_haari_TMPL(), interleave_TMPL(), load_rgb_frame_TMPL(), predict_TMPL(), spatial_idwt_init_TMPL(), v210_enc_TMPL(), vertical_compose53iL0_TMPL(), vertical_compose_daub97iH0_TMPL(), vertical_compose_daub97iH1_TMPL(), vertical_compose_daub97iL0_TMPL(), vertical_compose_daub97iL1_TMPL(), vertical_compose_dd137iL0_TMPL(), vertical_compose_dd97iH0_TMPL(), vertical_compose_dirac53iH0_TMPL(), vertical_compose_fidelityiH0_TMPL(), vertical_compose_fidelityiL0_TMPL(), and vertical_compose_haar_TMPL().
| #define RENAME | ( | name | ) |
|
inlinestatic |
Definition at line 48 of file ffv1dec.c.
Referenced by decode_line_TMPL().
|
static |
Definition at line 78 of file ffv1dec.c.
Referenced by decode_line_TMPL().
|
static |
Definition at line 100 of file ffv1dec.c.
Referenced by decode_slice().
|
static |
Definition at line 176 of file ffv1dec.c.
Referenced by decode_slice().
|
static |
Definition at line 279 of file ffv1dec.c.
Referenced by decode_slice(), and decode_slices().
|
static |
Definition at line 289 of file ffv1dec.c.
Referenced by decode_remap().
|
static |
Definition at line 300 of file ffv1dec.c.
Referenced by decode_slice().
|
static |
Definition at line 379 of file ffv1dec.c.
Referenced by decode_slice().
|
static |
Definition at line 449 of file ffv1dec.c.
Referenced by av1_receive_frame_internal(), decode_nal_units(), decode_slice(), decode_slice(), decode_slice_data(), decode_slices(), dxtory_decode_v2(), ff_h264_execute_decode_slices(), ff_mjpeg_decode_sos(), mpeg_decode_slice(), and rv60_decode_frame().
|
static |
Definition at line 565 of file ffv1dec.c.
Referenced by read_header().
|
static |
Definition at line 578 of file ffv1dec.c.
Referenced by decode_header(), and mjpegb_decode_frame().
|
static |
|
static |
Definition at line 715 of file ffv1dec.c.
Referenced by decode_frame(), and decode_slices().
|
static |
Definition at line 747 of file ffv1dec.c.
Referenced by decode_frame().
|
static |
Definition at line 791 of file ffv1dec.c.
Referenced by decode_frame(), and decode_frame().
|
static |
|
static |
| const FFCodec ff_ffv1_decoder |