Home
last modified time | relevance | path

Searched refs:max_ref_frames (Results 1 – 5 of 5) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dsnow.c439 s->max_ref_frames=1; //just make sure it's not an invalid value in case of no initial keyframe in ff_snow_common_init()
649 if(s->last_picture[s->max_ref_frames-1]->data[0]){ in ff_snow_release_buffer()
650 av_frame_unref(s->last_picture[s->max_ref_frames-1]); in ff_snow_release_buffer()
652 if(s->halfpel_plane[s->max_ref_frames-1][1+i/3][i%3]) { in ff_snow_release_buffer()
653 …av_free(s->halfpel_plane[s->max_ref_frames-1][1+i/3][i%3] - EDGE_WIDTH*(1+s->current_picture->line… in ff_snow_release_buffer()
654 s->halfpel_plane[s->max_ref_frames-1][1+i/3][i%3] = NULL; in ff_snow_release_buffer()
665 tmp= s->last_picture[s->max_ref_frames-1]; in ff_snow_frame_start()
666 for(i=s->max_ref_frames-1; i>0; i--) in ff_snow_frame_start()
668 memmove(s->halfpel_plane+1, s->halfpel_plane, (s->max_ref_frames-1)*sizeof(void*)*4*4); in ff_snow_frame_start()
680 for(i=0; i<s->max_ref_frames && s->last_picture[i]->data[0]; i++) in ff_snow_frame_start()
Dsnowdec.c351 GET_S(s->max_ref_frames, tmp < (unsigned)MAX_REF_FRAMES) in decode_header()
352 s->max_ref_frames++; in decode_header()
Dsnow.h144 int max_ref_frames; member
Dsnowenc.c91 s->max_ref_frames = av_clip(avctx->refs, 1, MAX_REF_FRAMES); in encode_init()
144 for(i=0; i<s->max_ref_frames; i++){ in encode_init()
1416 put_symbol(&s->c, s->header_state, s->max_ref_frames-1, 0); in encode_header()
/third_party/ffmpeg/doc/
Dsnow.txt58 max_ref_frames-1 u header_state
193 max_ref_frames
227 minimum of the number of available reference frames and max_ref_frames