Log of /xvidcore/src/bitstream/mbcoding.c
Parent Directory
Revision
1.52 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Sep 13 12:12:15 2005 UTC (18 years, 9 months ago) by
suxen_drol
Branch:
MAIN
CVS Tags:
release-1_1_0,
release-1_1_0_final,
release-1_1_1-final,
release-1_1_2
Branch point for:
release-1_1-branch
Changes since
1.51: +22 -0 lines
Diff to
previous 1.51
,
to
selected 1.44.2.10
Field interlaced decoding, contributed by Christoph Kuehnel
decoder.c
=========
- Some new defines for DIV
- <decoder_mb_decode> modified: had wrong address offsets for interlaced
- <decoder_mbinter_field> = new function for interlaced
- <get_motion_vector_interlaced> = new function for interlaced motion vector prediction
- <decoder_pframe> modified so that it differs between frame and field prediction
global.h
========
- For field motion prediction MACORBLOCK has new member that is the average of
field1 and field2 motion vector = <mvs_avg>
xvid.c
======
- For field predicted macroblocks we need new field oriented transfer functions.
For colour calculations they may only process 4 lines (one field from the colour
macroblock that is 8x8). So I introduced 4 new function pointers:
<transfer8x4_copy, interpolate8x4_ ...)
mbcoding.c
==========
- _DEBUG code; index is checked against 64
interpolate8x8.[c,h,asm]
===========================
- New 8x4 functions
mbpredicition.[c,h]
===============
- New function <get_pmv2_interlaced> for interlaced prediciton according to spec
mem_transfer.[c,h,asm]
==============
- New 8x4 function
Revision
1.44.2.10 -
(
view)
(
download)
(
annotate)
-
[selected]
Thu May 22 16:35:38 2003 UTC (21 years ago) by
edgomez
Branch:
dev-api-4
Changes since
1.44.2.9: +9 -9 lines
Diff to
previous 1.44.2.9
, to
branch point 1.44
Removed this annoying \n from DPRINTF output. DPRINTF behaves
now like usual printf.
Just for fun, i decided to exercice my regexp skills:
for i in `find . -name "*.c"` ; do
sed s/'\(DPRINTF(XVID_DEBUG.*\)"\([^"]\+[^\\][^n]\)"\(.*\)$'/'\1"\2\\n"\3'/g $i > $i.tmp;
mv $i.tmp $i
done
Nice isn't it ? It just adds a \n to every DPRINTF call that
was relying on old behavior (automatic trailing \n).
Revision
1.44.2.9 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat May 17 13:33:01 2003 UTC (21 years, 1 month ago) by
suxen_drol
Branch:
dev-api-4
Changes since
1.44.2.8: +11 -11 lines
Diff to
previous 1.44.2.8
, to
branch point 1.44
,
to
selected 1.44.2.10
* dynamic bvop decision stats bug fixed
* added runtime debug level option. this only only activated when _DEBUG is defined.
level is specified globaly, via "xvid_glb_init_t.debug" and XVID_DEBUG_xxx defines.
references to previous DPRINTF_LEVEL_xxx's have been replaced throughout libxvidcore
* futher bitrate zone fixes for plugin_2pass2.c
* removed old ratecontrol.c from msvc project
* xvid_encraw.c specifc:
* added "-max_key_interval integer" option
* renamed -debug to -vop_debug
* added "-debug integer" option, which sets xvid_gbl_init_t.debug field
* s/length/len/ status line
* vfw specific:
* zone/bitrate typos fixed ("you eediot")
* renamed "debug" regkey to "vop_debug"
* added "debug" regeky and textbox which sets xvid_gbl_init_t.debug field
Revision
1.44.2.5 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Apr 10 13:05:54 2003 UTC (21 years, 2 months ago) by
edgomez
Branch:
dev-api-4
Changes since
1.44.2.4: +5 -5 lines
Diff to
previous 1.44.2.4
, to
branch point 1.44
,
to
selected 1.44.2.10
2003-04-10 GMT Edouard Gomez <ed.gomez@free.fr> patch-14
Summary:
Removed all ABS() macros.
Revision:
xvidcore--devapi4--1.0--patch-14
All ABS macros have been replace with their stdlib.h/math.h
equivalent. This gives a 33% overall speedup for the plain C encoder,
while the ia32 one seems to suffer a small speed loss. However this
speed loss is very small and it seems it depends on the CPU type as
the abs/fabs usage is impacting badly on sad functions but impacting
well on interpolate functions ... weird inst'it ?
modified files:
src/bitstream/mbcoding.c src/global.h src/image/image.c
src/motion/motion_comp.c src/motion/motion_est.c
src/motion/sad.c src/prediction/mbprediction.c
src/utils/mbtransquant.c src/xvid.c
Revision
1.24 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Jul 28 13:06:46 2002 UTC (21 years, 10 months ago) by
chl
Branch:
MAIN
Changes since
1.23: +9 -12 lines
Diff to
previous 1.23
,
to
selected 1.44.2.10
Modified SKIP mb behaviour for Pframes when Bframes are active: Check if
intermediate B-block can be skipped, too. Check for SKIP is now done
in encode_pframe(), not in MBCoding().
Revision
1.22 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jul 24 19:34:14 2002 UTC (21 years, 10 months ago) by
chl
Branch:
MAIN
Changes since
1.21: +8 -3 lines
Diff to
previous 1.21
,
to
selected 1.44.2.10
Added #ifdef _DISABLE_SKIP in MBCoding(). If this is defined, there
will be __no skipped macroblocks__ in P-frames!
This is of course bad (bigger files), but it's needed for clean B-frame
encoding until we have a workaround for the SKIP-flaw in the standard. :-(
Revision
1.7 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Mar 28 20:57:24 2002 UTC (22 years, 2 months ago) by
edgomez
Branch:
MAIN
Changes since
1.6: +95 -38 lines
Diff to
previous 1.6
,
to
selected 1.44.2.10
Big patch, use it with care (tests done with GNU/Linux) :
- Trivial warnings in encoder.c line 282 ret1 = ret 2 = 0;
- Lot of "New line at end of file missing" warnings fixed (gcc3)
- All 2d arrays have been turned into 1d arrays
To force alignment of matrices on stack, use DECLARE_ALIGNED_MATRIX
(read portab.h)
Win32 users should give feedback.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.