• 大小: 302KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-12-03
  • 语言: C/C++
  • 标签: h.264    c  语言  

资源简介

不用描述了吧,要下的肯定很清楚!!!!!!!!!!!!!!!!!!!!

资源截图

代码片段和文件信息

/*
 * Provides registration of all codecs parsers and bitstream filters for libavcodec.
 * Copyright (c) 2002 Fabrice Bellard.
 *
 * This file is part of FFmpeg.
 *
 * FFmpeg is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License or (at your option) any later version.
 *
 * FFmpeg is distributed in the hope that it will be useful
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with FFmpeg; if not write to the Free Software
 * Foundation Inc. 51 Franklin Street Fifth Floor Boston MA 02110-1301 USA
 */

/**
 * @file allcodecs.c
 * Provides registration of all codecs parsers and bitstream filters for libavcodec.
 */

#include “avcodec.h“


//@@@Start Easy Review 
#define REGISTER_ENCODER(Xx) { \
          extern AVCodec x##_encoder; \
          if(0)  register_avcodec(&x##_encoder); }
#define REGISTER_DECODER(Xx) { \
          extern AVCodec x##_decoder; \
          if(0)  register_avcodec(&x##_decoder); }
#define REGISTER_ENCDEC(Xx)  REGISTER_ENCODER(Xx); REGISTER_DECODER(Xx)

#define REGISTER_PARSER(Xx) { \
          extern AVCodecParser x##_parser; \
          if(0)  av_register_codec_parser(&x##_parser); }
#define REGISTER_BSF(Xx) { \
          extern AVBitStreamFilter x##_bsf; \
          if(0)     av_register_bitstream_filter(&x##_bsf); }

//@@@End Easy Review  


/**
 * Register all the codecs parsers and bitstream filters which were enabled at
 * configuration time. If you do not call this function you can select exactly
 * which formats you want to support by using the individual registration
 * functions.
 *
 * @see register_avcodec
 * @see av_register_codec_parser
 * @see av_register_bitstream_filter
 */
void avcodec_register_all(void)
{
    static int initialized;

//    if (initialized)
//        return;
//    initialized = 1;
//
//    /* video codecs */
//    REGISTER_DECODER (AASC aasc);
//    REGISTER_DECODER (AMV amv);
//    REGISTER_ENCDEC  (ASV1 asv1);
//    REGISTER_ENCDEC  (ASV2 asv2);
//    REGISTER_DECODER (AVS avs);
//    REGISTER_DECODER (BETHSOFTVID bethsoftvid);
//    REGISTER_DECODER (BFI bfi);
//    REGISTER_ENCDEC  (BMP bmp);
//    REGISTER_DECODER (C93 c93);
//    REGISTER_DECODER (CAVS cavs);
//    REGISTER_DECODER (CINEPAK cinepak);
//    REGISTER_DECODER (CLJR cljr);
//    REGISTER_DECODER (CSCD cscd);
//    REGISTER_DECODER (CYUV cyuv);
//    REGISTER_ENCDEC  (DNXHD dnxhd);
//    REGISTER_DECODER (DSICINVIDEO dsicinvideo);
//    REGISTER_ENCDEC  (DVVIDEO dvvideo);
//    REGISTER_DECODER (DXA dxa);
//    REGISTER_DECODE

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      13293  2008-07-27 10:39  ff_264_dec_vc\H264\allcodecs.c

     文件      12702  2008-07-27 10:39  ff_264_dec_vc\H264\apiexample.c

     文件      98311  2008-07-27 10:39  ff_264_dec_vc\H264\avcodec.h

     文件       6877  2008-07-27 10:39  ff_264_dec_vc\H264\avutil.h

     文件      10583  2008-07-27 10:39  ff_264_dec_vc\H264\bitstream.c

     文件      28604  2008-07-27 10:39  ff_264_dec_vc\H264\bitstream.h

     文件       3360  2008-07-27 10:39  ff_264_dec_vc\H264\bswap.h

     文件       8304  2008-07-27 10:39  ff_264_dec_vc\H264\cabac.c

     文件      25329  2008-07-27 10:39  ff_264_dec_vc\H264\cabac.h

     文件       3796  2008-07-27 10:39  ff_264_dec_vc\H264\colorspace.h

     文件      11642  2008-07-27 10:39  ff_264_dec_vc\H264\common.h

     文件       1490  2008-07-27 10:39  ff_264_dec_vc\H264\crc.h

     文件        415  2008-07-27 10:39  ff_264_dec_vc\H264\define.h

     文件     161473  2008-07-27 10:39  ff_264_dec_vc\H264\dsputil.c

     文件      30176  2008-07-27 10:39  ff_264_dec_vc\H264\dsputil.h

     文件      40520  2008-07-27 10:39  ff_264_dec_vc\H264\error_resilience.c

     文件       4117  2008-07-27 10:39  ff_264_dec_vc\H264\eval.h

     文件       1208  2008-07-27 10:39  ff_264_dec_vc\H264\faandct.h

     文件      10122  2008-07-27 10:39  ff_264_dec_vc\H264\golomb.c

     文件      12706  2008-07-27 10:39  ff_264_dec_vc\H264\golomb.h

     文件     328748  2008-07-27 10:39  ff_264_dec_vc\H264\h264.c

     文件       4747  2008-07-27 10:39  ff_264_dec_vc\H264\h264.dsp

     文件        533  2008-07-27 10:39  ff_264_dec_vc\H264\h264.dsw

     文件      13342  2008-07-27 10:39  ff_264_dec_vc\H264\h264.h

     文件      58163  2008-07-27 10:39  ff_264_dec_vc\H264\h264data.h

     文件       2305  2008-07-27 10:39  ff_264_dec_vc\H264\h264dspenc.c

     文件       3068  2008-07-27 10:39  ff_264_dec_vc\H264\h264enc.c

     文件       6223  2008-07-27 10:39  ff_264_dec_vc\H264\h264idct.c

     文件      37603  2008-07-27 10:39  ff_264_dec_vc\H264\h264pred.c

     文件       2426  2008-07-27 10:39  ff_264_dec_vc\H264\h264pred.h

............此处省略43个文件信息

评论

共有 条评论