You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avcodec/ituh263enc: Combine branches
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -826,6 +826,9 @@ av_cold void ff_h263_encode_init(MpegEncContext *s)
|
|||||||
if(s->h263_aic){
|
if(s->h263_aic){
|
||||||
s->intra_ac_vlc_length = uni_h263_intra_aic_rl_len;
|
s->intra_ac_vlc_length = uni_h263_intra_aic_rl_len;
|
||||||
s->intra_ac_vlc_last_length= uni_h263_intra_aic_rl_len + 128*64;
|
s->intra_ac_vlc_last_length= uni_h263_intra_aic_rl_len + 128*64;
|
||||||
|
|
||||||
|
s->y_dc_scale_table =
|
||||||
|
s->c_dc_scale_table = ff_aic_dc_scale_table;
|
||||||
}
|
}
|
||||||
s->ac_esc_length= 7+1+6+8;
|
s->ac_esc_length= 7+1+6+8;
|
||||||
|
|
||||||
@ -858,10 +861,6 @@ av_cold void ff_h263_encode_init(MpegEncContext *s)
|
|||||||
s->min_qcoeff= -127;
|
s->min_qcoeff= -127;
|
||||||
s->max_qcoeff= 127;
|
s->max_qcoeff= 127;
|
||||||
}
|
}
|
||||||
if(s->h263_aic){
|
|
||||||
s->y_dc_scale_table=
|
|
||||||
s->c_dc_scale_table= ff_aic_dc_scale_table;
|
|
||||||
}
|
|
||||||
|
|
||||||
#if CONFIG_H263_ENCODER // Snow and SVQ1 call this
|
#if CONFIG_H263_ENCODER // Snow and SVQ1 call this
|
||||||
ff_h263dsp_init(&s->h263dsp);
|
ff_h263dsp_init(&s->h263dsp);
|
||||||
|
Reference in New Issue
Block a user