FFmpeg
Functions
ffv1.c File Reference
#include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "ffv1.h"
#include "refstruct.h"

Go to the source code of this file.

Functions

av_cold int ff_ffv1_common_init (AVCodecContext *avctx)
 
static void planes_free (FFRefStructOpaque opaque, void *obj)
 
PlaneContextff_ffv1_planes_alloc (void)
 
av_cold int ff_ffv1_init_slice_state (const FFV1Context *f, FFV1SliceContext *sc)
 
av_cold int ff_ffv1_init_slices_state (FFV1Context *f)
 
int ff_need_new_slices (int width, int num_h_slices, int chroma_shift)
 
av_cold int ff_ffv1_init_slice_contexts (FFV1Context *f)
 
int ff_ffv1_allocate_initial_states (FFV1Context *f)
 
void ff_ffv1_clear_slice_state (const FFV1Context *f, FFV1SliceContext *sc)
 
av_cold int ff_ffv1_close (AVCodecContext *avctx)
 

Detailed Description

FF Video Codec 1 (a lossless codec)

Definition in file ffv1.c.

Function Documentation

◆ ff_ffv1_common_init()

av_cold int ff_ffv1_common_init ( AVCodecContext avctx)

Definition at line 36 of file ffv1.c.

Referenced by decode_init(), and encode_init().

◆ planes_free()

static void planes_free ( FFRefStructOpaque  opaque,
void *  obj 
)
static

Definition at line 56 of file ffv1.c.

Referenced by ff_ffv1_planes_alloc().

◆ ff_ffv1_planes_alloc()

PlaneContext* ff_ffv1_planes_alloc ( void  )

Definition at line 68 of file ffv1.c.

Referenced by ff_ffv1_init_slice_contexts(), and read_header().

◆ ff_ffv1_init_slice_state()

av_cold int ff_ffv1_init_slice_state ( const FFV1Context f,
FFV1SliceContext sc 
)

Definition at line 74 of file ffv1.c.

Referenced by decode_slice(), and ff_ffv1_init_slices_state().

◆ ff_ffv1_init_slices_state()

av_cold int ff_ffv1_init_slices_state ( FFV1Context f)

Definition at line 112 of file ffv1.c.

Referenced by encode_init().

◆ ff_need_new_slices()

int ff_need_new_slices ( int  width,
int  num_h_slices,
int  chroma_shift 
)

Definition at line 122 of file ffv1.c.

Referenced by encode_init().

◆ ff_ffv1_init_slice_contexts()

av_cold int ff_ffv1_init_slice_contexts ( FFV1Context f)

Definition at line 129 of file ffv1.c.

Referenced by decode_init(), and encode_init().

◆ ff_ffv1_allocate_initial_states()

int ff_ffv1_allocate_initial_states ( FFV1Context f)

Definition at line 172 of file ffv1.c.

Referenced by encode_init(), and read_extra_header().

◆ ff_ffv1_clear_slice_state()

void ff_ffv1_clear_slice_state ( const FFV1Context f,
FFV1SliceContext sc 
)

Definition at line 187 of file ffv1.c.

Referenced by decode_slice(), encode_slice(), and encode_slice_header().

◆ ff_ffv1_close()

av_cold int ff_ffv1_close ( AVCodecContext avctx)

Definition at line 212 of file ffv1.c.

Referenced by ffv1_decode_close().