[FFmpeg-devel] [PATCH] VP8 de/encode via libvpx

Michael Niedermayer michaelni
Mon May 24 21:12:36 CEST 2010


On Fri, May 21, 2010 at 05:50:41PM -0400, James Zern wrote:
> On Fri, May 21, 2010 at 17:39, James Zern <jzern at google.com> wrote:
> > On Fri, May 21, 2010 at 11:25, Jean-Baptiste Kempf <jb at videolan.org> wrote:
> >> On Fri, May 21, 2010 at 11:19:42AM -0400, James Zern wrote :
> >>> Index: libavcodec/avcodec.h
> >>> ===================================================================
> >>> ?#define LIBAVCODEC_VERSION_MAJOR 52
> >>> -#define LIBAVCODEC_VERSION_MINOR 68
> >>> +#define LIBAVCODEC_VERSION_MINOR 69
> >>> ?#define LIBAVCODEC_VERSION_MICRO ?3
> >>
> >> Sorry to ask, but what is the aim of bumping MINOR without resetting
> >> MICRO? Just for my personnal curiosity?
> >>
> > In the past actually I had been resetting it, but I think through this
> > there were check-ins that didn't. In any case it does seem to make
> > more sense to reset so I can post another roll-up that does.
> >
> Done.

>  Changelog              |    1 
>  configure              |    5 +
>  doc/general.texi       |    2 
>  libavcodec/Makefile    |    1 
>  libavcodec/allcodecs.c |    1 
>  libavcodec/avcodec.h   |    4 -
>  libavcodec/libvpxdec.c |  128 +++++++++++++++++++++++++++++++++++++++++++++++++
>  7 files changed, 140 insertions(+), 2 deletions(-)
> f6c776a8159b5e60dff65ef0c5caf6dcdeee63f7  add_libvpxdec.diff
[...]
> +static int vp8_decode(AVCodecContext *avctx,
> +                      void *data, int *data_size, AVPacket *avpkt)
> +{
> +    VP8Context *ctx = avctx->priv_data;
> +    AVFrame *picture = data;
> +    const void *iter = NULL;
> +    struct vpx_image *img;
> +


> +    /* end of stream, vp8 does no buffering */
> +    if (!avpkt->size)
> +        return 0;

without CODEC_CAP_DELAY this condition should be impossible to be true

except this iam ok with the patch

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 1
"Used only once"    - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100524/bf5ce70d/attachment.pgp>



More information about the ffmpeg-devel mailing list