Mercurial > mplayer.hg
annotate divx4_vbr.h @ 18150:710d4bc5f8c9
Using channel count, samplerate and input bps values from the container
instead of the decoder breaks some DTS samples where the container says
the audio has 6 channels but the decoder gives 2. In this case take the
number of channels from the decoder instead, the output will almost
certainly be badly garbled anyway if the number of channels is wrong.
patch by Uoti Urpala, uoti <<.>> urpala <<@>> pp1 <<.>> inet <<.>> fi
author | diego |
---|---|
date | Wed, 19 Apr 2006 20:12:01 +0000 |
parents | f580a7755ac5 |
children |
rev | line source |
---|---|
2642 | 1 |
2 // methods from class VbrControl | |
3 | |
4 void VbrControl_init_1pass_vbr(int quality, int crispness); | |
5 int VbrControl_init_2pass_vbr_encoding(const char* filename, int bitrate, double framerate, int crispness, int quality); | |
6 int VbrControl_init_2pass_vbr_analysis(const char* filename, int quality); | |
7 | |
17566
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
2642
diff
changeset
|
8 void VbrControl_update_1pass_vbr(void); |
2642 | 9 void VbrControl_update_2pass_vbr_encoding(int motion_bits, int texture_bits, int total_bits); |
10 void VbrControl_update_2pass_vbr_analysis(int is_key_frame, int motion_bits, int texture_bits, int total_bits, int quant); | |
11 | |
17566
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
2642
diff
changeset
|
12 int VbrControl_get_quant(void); |
2642 | 13 void VbrControl_set_quant(float q); |
17566
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
2642
diff
changeset
|
14 int VbrControl_get_intra(void); |
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
2642
diff
changeset
|
15 short VbrControl_get_drop(void); |
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
2642
diff
changeset
|
16 void VbrControl_close(void); |
2642 | 17 |