Commit 2be4ffd7 authored by michaelni's avatar michaelni

wmv1 slice_height != mb_height support

encoding of slice_height != mb_height
1bit shorter wmv1 headers if bit_rate<50 !? ROTFL M$ is even more stupid than i thought
using dc of non intra blocks for dc prediction of wmv1 if bitrate < 129 && res < 320x240


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@723 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e90a4b78
...@@ -392,6 +392,7 @@ typedef struct MpegEncContext { ...@@ -392,6 +392,7 @@ typedef struct MpegEncContext {
UINT8 *intra_h_scantable; UINT8 *intra_h_scantable;
/* [mb_intra][isChroma][level][run][last] */ /* [mb_intra][isChroma][level][run][last] */
int ac_stats[2][2][MAX_LEVEL+1][MAX_RUN+1][2]; int ac_stats[2][2][MAX_LEVEL+1][MAX_RUN+1][2];
int inter_intra_pred;
/* decompression specific */ /* decompression specific */
......
This diff is collapsed.
...@@ -1867,3 +1867,7 @@ static UINT8 *wmv1_scantable[WMV1_SCANTABLE_COUNT+1]={ ...@@ -1867,3 +1867,7 @@ static UINT8 *wmv1_scantable[WMV1_SCANTABLE_COUNT+1]={
wmv1_scantable03, wmv1_scantable03,
}; };
static UINT8 table_inter_intra[4][2]={
{0,1},{2,2},{6,3},{7,3}
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment