~ubuntu-branches/debian/sid/gstreamer0.10-ffmpeg/sid

« back to all changes in this revision

Viewing changes to gst-libs/ext/ffmpeg/libavcodec/roqvideoenc.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2009-02-22 12:24:07 UTC
  • mfrom: (1.1.24 jaunty)
  • Revision ID: james.westby@ubuntu.com-20090222122407-nubojphrd84klmee
Tags: 0.10.6-3
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
/**
26
26
 * @file roqvideoenc.c
27
 
 * Id RoQ encoder by Vitor. Based on the Switchblade3 library and the
 
27
 * id RoQ encoder by Vitor. Based on the Switchblade3 library and the
28
28
 * Switchblade3 FFmpeg glue by Eric Lasota.
29
29
 */
30
30
 
911
911
    reconstruct_and_encode_image(enc, &tempData, enc->width, enc->height,
912
912
                                 enc->width*enc->height/64);
913
913
 
 
914
    enc->avctx->coded_frame = enc->current_frame;
 
915
 
914
916
    /* Rotate frame history */
915
917
    FFSWAP(AVFrame *, enc->current_frame, enc->last_frame);
916
918
    FFSWAP(motion_vect *, enc->last_motion4, enc->this_motion4);
1065
1067
    roq_encode_frame,
1066
1068
    roq_encode_end,
1067
1069
    .supported_framerates = (AVRational[]){{30,1}, {0,0}},
1068
 
    .pix_fmts = (enum PixelFormat[]){PIX_FMT_YUV444P, -1},
1069
 
    .long_name = "Id RoQ video",
 
1070
    .pix_fmts = (enum PixelFormat[]){PIX_FMT_YUV444P, PIX_FMT_NONE},
 
1071
    .long_name = NULL_IF_CONFIG_SMALL("id RoQ video"),
1070
1072
};