lorenm | 1 Apr 2007 01:58
Picon

r8580 - in trunk/libavcodec: motion_est.c motion_est_template.c

Author: lorenm
Date: Sun Apr  1 01:58:33 2007
New Revision: 8580

Modified:
   trunk/libavcodec/motion_est.c
   trunk/libavcodec/motion_est_template.c

Log:
doxy comment tweaks

Modified: trunk/libavcodec/motion_est.c
==============================================================================
--- trunk/libavcodec/motion_est.c	(original)
+++ trunk/libavcodec/motion_est.c	Sun Apr  1 01:58:33 2007
 <at>  <at>  -103,8 +103,8  <at>  <at>  static int get_flags(MotionEstContext *c
            + (chroma ? FLAG_CHROMA : 0);
 }

-/*! \brief compares two blocks, which may be full macroblocks or may be
-    partitions thereof.
+/*! \brief compares a block (either a full macroblock or a partition thereof)
+    against a proposed motion-compensated prediction of that block
  */
 static av_always_inline int cmp(MpegEncContext *s, const int x, const int y, const int subx, const int suby,
                       const int size, const int h, int ref_index, int src_index,

Modified: trunk/libavcodec/motion_est_template.c
==============================================================================
--- trunk/libavcodec/motion_est_template.c	(original)
(Continue reading)

michael | 1 Apr 2007 03:09
Picon

r8581 - trunk/libavformat/riff.c

Author: michael
Date: Sun Apr  1 03:09:56 2007
New Revision: 8581

Modified:
   trunk/libavformat/riff.c

Log:
WMVA

Modified: trunk/libavformat/riff.c
==============================================================================
--- trunk/libavformat/riff.c	(original)
+++ trunk/libavformat/riff.c	Sun Apr  1 03:09:56 2007
 <at>  <at>  -156,6 +156,7  <at>  <at>  const AVCodecTag codec_bmp_tags[] = {
     { CODEC_ID_QPEG, MKTAG('Q', '1', '.', '1') },
     { CODEC_ID_WMV3, MKTAG('W', 'M', 'V', '3') },
     { CODEC_ID_VC1, MKTAG('W', 'V', 'C', '1') },
+    { CODEC_ID_VC1, MKTAG('W', 'M', 'V', 'A') },
     { CODEC_ID_LOCO, MKTAG('L', 'O', 'C', 'O') },
     { CODEC_ID_WNV1, MKTAG('W', 'N', 'V', '1') },
     { CODEC_ID_AASC, MKTAG('A', 'A', 'S', 'C') },
diego | 1 Apr 2007 13:07
Picon

r8582 - trunk/libavcodec/Makefile

Author: diego
Date: Sun Apr  1 13:07:28 2007
New Revision: 8582

Modified:
   trunk/libavcodec/Makefile

Log:
Merge redundant comments.

Modified: trunk/libavcodec/Makefile
==============================================================================
--- trunk/libavcodec/Makefile	(original)
+++ trunk/libavcodec/Makefile	Sun Apr  1 13:07:28 2007
 <at>  <at>  -317,7 +317,7  <at>  <at>  ifneq ($(CONFIG_SWSCALER),yes)
 OBJS += imgresample.o
 endif

-# i386 mmx specific stuff
+# processor-specific code
 ifeq ($(TARGET_MMX),yes)
 OBJS += i386/fdct_mmx.o \
         i386/cputest.o \
 <at>  <at>  -337,7 +337,6  <at>  <at>  OBJS-$(CONFIG_CAVS_DECODER)            +
 OBJS-$(CONFIG_SNOW_DECODER)            += i386/snowdsp_mmx.o
 endif

-# armv4l specific stuff
 ASM_OBJS-$(TARGET_ARCH_ARMV4L)         += armv4l/jrevdct_arm.o     \
                                           armv4l/simple_idct_arm.o \
(Continue reading)

mru | 1 Apr 2007 13:32
Picon

r8583 - trunk/configure

Author: mru
Date: Sun Apr  1 13:32:08 2007
New Revision: 8583

Modified:
   trunk/configure

Log:
run ebp register check in subshell so we can redirect crash message

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Sun Apr  1 13:32:08 2007
 <at>  <at>  -1411,7 +1411,7  <at>  <at>  EOF
     # As 'i' is stored on the stack, this program will crash
     # if the base pointer is used to access it because the
     # base pointer is cleared in the inline assembly code.
-    check_exec <<EOF && enable ebp_available
+    (check_exec) <<EOF >>$logfile 2>&1 && enable ebp_available
 int main(){
     volatile int i=0;
     asm volatile (
diego | 1 Apr 2007 13:40
Picon

r8584 - in trunk/libavcodec: fft-test.c motion_test.c

Author: diego
Date: Sun Apr  1 13:40:36 2007
New Revision: 8584

Modified:
   trunk/libavcodec/fft-test.c
   trunk/libavcodec/motion_test.c

Log:
Add '#undef exit', the function is now forbidden.

Modified: trunk/libavcodec/fft-test.c
==============================================================================
--- trunk/libavcodec/fft-test.c	(original)
+++ trunk/libavcodec/fft-test.c	Sun Apr  1 13:40:36 2007
 <at>  <at>  -28,6 +28,8  <at>  <at> 
 #include <unistd.h>
 #include <sys/time.h>

+#undef exit
+
 int mm_flags;

 /* reference fft */

Modified: trunk/libavcodec/motion_test.c
==============================================================================
--- trunk/libavcodec/motion_test.c	(original)
+++ trunk/libavcodec/motion_test.c	Sun Apr  1 13:40:36 2007
 <at>  <at>  -33,6 +33,7  <at>  <at> 
(Continue reading)

diego | 1 Apr 2007 14:51
Picon

r8585 - trunk/configure

Author: diego
Date: Sun Apr  1 14:51:41 2007
New Revision: 8585

Modified:
   trunk/configure

Log:
Always lowercase targetos.

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Sun Apr  1 14:51:41 2007
 <at>  <at>  -750,7 +750,7  <at>  <at>  mmi="default"
 bigendian="no"

 # OS
-targetos=`uname -s`
+targetos=`tolower \` uname -s\` `
 beos_netserver="no"
 os2="no"
 wince="no"
 <at>  <at>  -1021,7 +1021,7  <at>  <at>  esac

 # OS specific
 osextralibs="-lm"
-case `tolower $targetos` in
+case $targetos in
   beos|haiku|zeta)
(Continue reading)

diego | 1 Apr 2007 15:06
Picon

r8586 - trunk/configure

Author: diego
Date: Sun Apr  1 15:06:41 2007
New Revision: 8586

Modified:
   trunk/configure

Log:
Use $(command) instead of `command`, it's POSIX, clearer and already used.

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Sun Apr  1 15:06:41 2007
 <at>  <at>  -750,7 +750,7  <at>  <at>  mmi="default"
 bigendian="no"

 # OS
-targetos=`tolower \` uname -s\` `
+targetos=$(tolower $(uname -s))
 beos_netserver="no"
 os2="no"
 wince="no"
diego | 1 Apr 2007 16:28
Picon

r8587 - in trunk: Changelog doc/ffmpeg-doc.texi libavcodec/allcodecs.c libavcodec/avcodec.h libavcodec/mjpeg.c libavformat/Makefile libavformat/allformats.c libavformat/allformats.h libavformat/thp.c

Author: diego
Date: Sun Apr  1 16:28:48 2007
New Revision: 8587

Added:
   trunk/libavformat/thp.c
Modified:
   trunk/Changelog
   trunk/doc/ffmpeg-doc.texi
   trunk/libavcodec/allcodecs.c
   trunk/libavcodec/avcodec.h
   trunk/libavcodec/mjpeg.c
   trunk/libavformat/Makefile
   trunk/libavformat/allformats.c
   trunk/libavformat/allformats.h

Log:
support for the THP game format by Marco Gerards, mgerards xs4all nl

Modified: trunk/Changelog
==============================================================================
--- trunk/Changelog	(original)
+++ trunk/Changelog	Sun Apr  1 16:28:48 2007
 <at>  <at>  -75,6 +75,7  <at>  <at>  version <next>
 - DCA decoder
 - DXA demuxer and decoder
 - DNxHD decoder
+- Gamecube movie (.THP) playback system

 version 0.4.9-pre1:
(Continue reading)

Alex Beregszaszi | 1 Apr 2007 16:44
Picon

Re: r8587 - in trunk: Changelog doc/ffmpeg-doc.texi libavcodec/allcodecs.c libavcodec/avcodec.h libavcodec/mjpeg.c libavformat/Makefile libavformat/allformats.c libavformat/allformats.h libavformat/thp.c

Hi,

> +    url_fseek(pb, thp->next_frame, SEEK_SET);
> +
> +    /* Locate the next frame and read out its size.  */
> +    thp->next_frame += thp->next_framesz;
> +    thp->next_framesz = get_be32(pb);
> +
> +                        get_be32(pb); /* Previous total size.  */
> +    size              = get_be32(pb); /* Total size of this frame.  */
> +
> +    if (thp->has_audio)
> +                        get_be32(pb); /* Audio size.  */

No need to skip audio here? Or totalsize includes the audio size too? In
this case you pass even unneeded data to the JPEG decoder.

> +
> +    ret = av_get_packet(pb, pkt, size);
> +    if (ret != size) {
> +       av_free_packet(pkt);
> +       return AVERROR_IO;
> +    }
> +
> +    pkt->stream_index = thp->video_stream_index;
> +    thp->frame++;
> +
> +    return 0;
> +}

(Continue reading)

diego | 1 Apr 2007 17:46
Picon

r8588 - trunk/libavformat/allformats.c

Author: diego
Date: Sun Apr  1 17:46:43 2007
New Revision: 8588

Modified:
   trunk/libavformat/allformats.c

Log:
Fix copy and paste error in comment.

Modified: trunk/libavformat/allformats.c
==============================================================================
--- trunk/libavformat/allformats.c	(original)
+++ trunk/libavformat/allformats.c	Sun Apr  1 17:46:43 2007
 <at>  <at>  -31,7 +31,7  <at>  <at> 
    formats you want to support */

 /**
- * Initialize libavcodec and register all the codecs and formats.
+ * Initialize libavformat and register all the (de)muxers and protocols.
  */
 void av_register_all(void)
 {

Gmane