Lines Matching refs:FFV1Context
158 typedef struct FFV1Context{
188 struct FFV1Context *slice_context[MAX_SLICES];
196 }FFV1Context;
440 static av_always_inline int encode_line(FFV1Context *s, int w,
525 static void encode_plane(FFV1Context *s, uint8_t *src, int w, int h, int stride, int plane_index){
555 static void encode_rgb_frame(FFV1Context *s, uint32_t *src, int w, int h, int stride){
615 static void write_header(FFV1Context *f){
642 FFV1Context *fs= f->slice_context[i];
657 FFV1Context *s = avctx->priv_data;
676 static int init_slice_state(FFV1Context *f){
680 FFV1Context *fs= f->slice_context[i];
707 static av_cold int init_slice_contexts(FFV1Context *f){
713 FFV1Context *fs= av_mallocz(sizeof(*fs));
736 static int allocate_initial_states(FFV1Context *f){
749 static int write_extra_header(FFV1Context *f){
804 static int sort_stt(FFV1Context *s, uint8_t stt[256]){
849 FFV1Context *s = avctx->priv_data;
1013 FFV1Context *sf= s->slice_context[j];
1027 static void clear_state(FFV1Context *f){
1031 FFV1Context *fs= f->slice_context[si];
1057 FFV1Context *fs= *(void**)arg;
1058 FFV1Context *f= fs->avctx->priv_data;
1084 FFV1Context *f = avctx->priv_data;
1123 FFV1Context *fs= f->slice_context[i];
1137 FFV1Context *fs= f->slice_context[i];
1169 FFV1Context *fs= f->slice_context[j];
1208 FFV1Context *s = avctx->priv_data;
1215 FFV1Context *fs= s->slice_context[j];
1229 FFV1Context *sf= s->slice_context[i];
1242 static av_always_inline void decode_line(FFV1Context *s, int w,
1303 static void decode_plane(FFV1Context *s, uint8_t *src, int w, int h, int stride, int plane_index){
1338 static void decode_rgb_frame(FFV1Context *s, uint32_t *src, int w, int h, int stride){
1381 FFV1Context *fs= *(void**)arg;
1382 FFV1Context *f= fs->avctx->priv_data;
1449 static int read_extra_header(FFV1Context *f){
1509 static int read_header(FFV1Context *f){
1581 FFV1Context *fs= f->slice_context[j];
1630 FFV1Context *f = avctx->priv_data;
1646 FFV1Context *f = avctx->priv_data;
1703 FFV1Context *fs= f->slice_context[i];
1730 .priv_data_size = sizeof(FFV1Context),
1743 .priv_data_size = sizeof(FFV1Context),