[vlc-devel] commit: Used VLC_CODEC_* and vlc_fourcc_GetCodec when suitable. ( Laurent Aimar )

git version control git at videolan.org
Wed May 13 21:20:18 CEST 2009


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon May 11 20:49:09 2009 +0200| [724461bdf250e856eb32f6c0b7c51b065e482982] | committer: Laurent Aimar 

Used VLC_CODEC_* and vlc_fourcc_GetCodec when suitable.

 There will be some regressions, I used automatic sed replacement with manual
checks but there was a lot to change.
 It's only the first pass.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=724461bdf250e856eb32f6c0b7c51b065e482982
---

 include/vlc_codecs.h                               |   40 +++---
 include/vlc_es.h                                   |    9 +-
 include/vlc_fourcc.h                               |    2 +
 modules/access/dc1394.c                            |    8 +-
 modules/access/dshow/dshow.cpp                     |   39 +++---
 modules/access/dshow/filter.cpp                    |   48 ++++----
 modules/access/jack.c                              |    2 +-
 modules/access/oss.c                               |    2 +-
 modules/access/qtcapture.m                         |    4 +-
 modules/access/rtp/rtp.c                           |   16 +-
 modules/access/rtp/xiph.c                          |    2 +-
 modules/access/screen/beos.cpp                     |    4 +-
 modules/access/screen/mac.c                        |    2 +-
 modules/access/screen/screen.c                     |    4 +-
 modules/access/screen/win32.c                      |   14 +-
 modules/access/screen/x11.c                        |    8 +-
 modules/access/v4l.c                               |   37 +++---
 modules/access/v4l2.c                              |   42 +++---
 modules/audio_filter/channel_mixer/dolby.c         |    4 +-
 modules/audio_filter/channel_mixer/headphone.c     |   16 +-
 modules/audio_filter/channel_mixer/simple.c        |    2 +-
 modules/audio_filter/channel_mixer/trivial.c       |    4 +-
 modules/audio_filter/converter/a52tofloat32.c      |   12 +-
 modules/audio_filter/converter/a52tospdif.c        |    8 +-
 modules/audio_filter/converter/dtstofloat32.c      |    8 +-
 modules/audio_filter/converter/dtstospdif.c        |   12 +-
 modules/audio_filter/converter/fixed.c             |    8 +-
 modules/audio_filter/converter/float.c             |   50 ++++----
 modules/audio_filter/converter/mpgatofixed32.c     |   16 +-
 modules/audio_filter/equalizer.c                   |    8 +-
 modules/audio_filter/format.c                      |   80 ++++++------
 modules/audio_filter/normvol.c                     |    8 +-
 modules/audio_filter/param_eq.c                    |    8 +-
 modules/audio_filter/resampler/bandlimited.c       |    4 +-
 modules/audio_filter/resampler/linear.c            |    4 +-
 modules/audio_filter/resampler/trivial.c           |    4 +-
 modules/audio_filter/resampler/ugly.c              |    4 +-
 modules/audio_filter/scaletempo.c                  |    6 +-
 modules/audio_filter/spatializer/spatializer.cpp   |    8 +-
 modules/audio_mixer/float32.c                      |    2 +-
 modules/audio_mixer/trivial.c                      |    4 +-
 modules/audio_output/alsa.c                        |   10 +-
 modules/audio_output/auhal.c                       |    6 +-
 modules/audio_output/directx.c                     |   22 ++--
 modules/audio_output/file.c                        |   24 ++--
 modules/audio_output/jack.c                        |    2 +-
 modules/audio_output/oss.c                         |   18 ++--
 modules/audio_output/portaudio.c                   |    2 +-
 modules/audio_output/pulse.c                       |    2 +-
 modules/audio_output/sdl.c                         |   12 +-
 modules/audio_output/waveout.c                     |   22 ++--
 modules/codec/a52.c                                |    8 +-
 modules/codec/aes3.c                               |    2 +-
 modules/codec/araw.c                               |  128 +++++++++---------
 modules/codec/avcodec/audio.c                      |   10 +-
 modules/codec/avcodec/chroma.c                     |   42 +++---
 modules/codec/avcodec/encoder.c                    |   10 +-
 modules/codec/avcodec/video.c                      |    4 +-
 modules/codec/cc.c                                 |    4 +-
 modules/codec/cdg.c                                |    4 +-
 modules/codec/csri.c                               |    6 +-
 modules/codec/cvdsub.c                             |    4 +-
 modules/codec/dirac.c                              |   10 +-
 modules/codec/dmo/dmo.c                            |   32 +++---
 modules/codec/dts.c                                |    4 +-
 modules/codec/dvbsub.c                             |   38 +++---
 modules/codec/faad.c                               |    4 +-
 modules/codec/fake.c                               |   11 +-
 modules/codec/flac.c                               |   16 +-
 modules/codec/fluidsynth.c                         |    4 +-
 modules/codec/invmem.c                             |    4 +-
 modules/codec/kate.c                               |    6 +-
 modules/codec/libass.c                             |    6 +-
 modules/codec/libmpeg2.c                           |    6 +-
 modules/codec/lpcm.c                               |   14 +-
 modules/codec/mash.cpp                             |    6 +-
 modules/codec/mpeg_audio.c                         |    4 +-
 modules/codec/png.c                                |    8 +-
 modules/codec/quicktime.c                          |   30 ++--
 modules/codec/rawvideo.c                           |   28 ++--
 modules/codec/realaudio.c                          |    4 +-
 modules/codec/realvideo.c                          |   16 +-
 modules/codec/schroedinger.c                       |   10 +-
 modules/codec/sdl_image.c                          |   24 ++--
 modules/codec/speex.c                              |    8 +-
 modules/codec/spudec/parse.c                       |    2 +-
 modules/codec/spudec/spudec.c                      |    6 +-
 modules/codec/subtitles/subsdec.c                  |   10 +-
 modules/codec/subtitles/subsusf.c                  |   10 +-
 modules/codec/subtitles/t140.c                     |    4 +-
 modules/codec/svcdsub.c                            |    2 +-
 modules/codec/tarkin.c                             |   10 +-
 modules/codec/telx.c                               |    4 +-
 modules/codec/theora.c                             |   18 ++--
 modules/codec/twolame.c                            |    4 +-
 modules/codec/vorbis.c                             |   14 +-
 modules/codec/wmafixed/wma.c                       |   10 +-
 modules/codec/x264.c                               |    6 +-
 modules/codec/xvmc/xxmc.c                          |    4 +-
 modules/codec/zvbi.c                               |   14 +-
 modules/demux/asf/asf.c                            |    2 +-
 modules/demux/au.c                                 |    4 +-
 modules/demux/cdg.c                                |    2 +-
 modules/demux/dirac.c                              |    2 +-
 modules/demux/flac.c                               |    2 +-
 modules/demux/live555.cpp                          |   40 +++---
 modules/demux/mjpeg.c                              |    2 +-
 modules/demux/mkv/matroska_segment.cpp             |   54 ++++----
 modules/demux/mpc.c                                |    6 +-
 modules/demux/mpeg/es.c                            |   12 +-
 modules/demux/mpeg/h264.c                          |    2 +-
 modules/demux/mpeg/mpgv.c                          |    4 +-
 modules/demux/nuv.c                                |    2 +-
 modules/demux/ogg.c                                |  116 +++++++++---------
 modules/demux/ps.c                                 |    2 +-
 modules/demux/ps.h                                 |   30 ++--
 modules/demux/pva.c                                |    4 +-
 modules/demux/rawdv.c                              |   10 +-
 modules/demux/rawvid.c                             |   24 ++--
 modules/demux/smf.c                                |    2 +-
 modules/demux/subtitle.c                           |    4 +-
 modules/demux/subtitle_asa.c                       |    4 +-
 modules/demux/ts.c                                 |   72 +++++-----
 modules/demux/tta.c                                |    2 +-
 modules/demux/ty.c                                 |    6 +-
 modules/demux/vobsub.c                             |    2 +-
 modules/demux/voc.c                                |   14 +-
 modules/demux/wav.c                                |   10 +-
 modules/gui/beos/AudioOutput.cpp                   |    2 +-
 modules/gui/beos/VideoWindow.h                     |    8 +-
 modules/gui/fbosd.c                                |   22 ++--
 modules/gui/qnx/aout.c                             |    2 +-
 modules/gui/qnx/vout.c                             |   26 ++--
 modules/gui/skins2/src/file_bitmap.cpp             |    2 +-
 modules/misc/dummy/aout.c                          |    2 +-
 modules/misc/dummy/vout.c                          |    7 +-
 modules/misc/freetype.c                            |    4 +-
 modules/misc/osd/osd_menu.c                        |    2 +-
 modules/misc/quartztext.c                          |    2 +-
 modules/misc/rtsp.c                                |   22 ++--
 modules/misc/stats/vout.c                          |    2 +-
 modules/misc/svg.c                                 |    4 +-
 modules/misc/win32text.c                           |    2 +-
 modules/packetizer/copy.c                          |   46 ++++----
 modules/packetizer/dirac.c                         |    2 +-
 modules/packetizer/h264.c                          |    4 +-
 modules/packetizer/mlp.c                           |    4 +-
 modules/packetizer/mpeg4audio.c                    |    4 +-
 modules/packetizer/mpeg4video.c                    |    4 +-
 modules/packetizer/mpegvideo.c                     |    4 +-
 modules/packetizer/vc1.c                           |    2 +-
 modules/video_chroma/grey_yuv.c                    |    8 +-
 modules/video_chroma/i420_rgb.c                    |   43 +++---
 modules/video_chroma/i420_ymga.c                   |    7 +-
 modules/video_chroma/i420_yuy2.c                   |   18 +--
 modules/video_chroma/i422_i420.c                   |   13 +-
 modules/video_chroma/i422_yuy2.c                   |   16 +--
 modules/video_chroma/yuy2_i420.c                   |   13 +-
 modules/video_chroma/yuy2_i422.c                   |   13 +-
 modules/video_filter/alphamask.c                   |    4 +-
 modules/video_filter/atmo/atmo.cpp                 |    7 +-
 modules/video_filter/blend.c                       |   24 ++--
 modules/video_filter/bluescreen.c                  |    4 +-
 modules/video_filter/chain.c                       |    8 +-
 modules/video_filter/crop.c                        |   35 ++---
 modules/video_filter/deinterlace.c                 |   36 +++---
 .../video_filter/dynamicoverlay/dynamicoverlay.c   |    2 +-
 .../dynamicoverlay/dynamicoverlay_commands.c       |    4 +-
 modules/video_filter/erase.c                       |   17 +--
 modules/video_filter/extract.c                     |   22 ++--
 modules/video_filter/filter_picture.h              |   44 +++----
 modules/video_filter/gaussianblur.c                |   11 +-
 modules/video_filter/invert.c                      |    2 +-
 modules/video_filter/logo.c                        |    6 +-
 modules/video_filter/magnify.c                     |    2 +-
 modules/video_filter/marq.c                        |    2 +-
 modules/video_filter/mosaic.c                      |    8 +-
 modules/video_filter/motiondetect.c                |   11 +-
 modules/video_filter/opencv_example.cpp            |    2 +-
 modules/video_filter/opencv_wrapper.c              |    8 +-
 modules/video_filter/osdmenu.c                     |    8 +-
 modules/video_filter/panoramix.c                   |   88 +++++--------
 modules/video_filter/postproc.c                    |   19 ++--
 modules/video_filter/remoteosd.c                   |    6 +-
 modules/video_filter/rss.c                         |    8 +-
 modules/video_filter/rv32.c                        |    6 +-
 modules/video_filter/scale.c                       |   16 +-
 modules/video_filter/swscale.c                     |   22 ++--
 modules/video_filter/swscale_maemo.c               |    5 +-
 modules/video_filter/transform.c                   |    6 +-
 modules/video_filter/yuvp.c                        |   12 +-
 modules/video_output/aa.c                          |    2 +-
 modules/video_output/caca.c                        |    2 +-
 modules/video_output/directfb.c                    |    8 +-
 modules/video_output/fb.c                          |   19 ++--
 modules/video_output/ggi.c                         |   10 +-
 modules/video_output/hd1000v.cpp                   |   12 +-
 modules/video_output/mga.c                         |    2 +-
 modules/video_output/msw/direct3d.c                |   47 +++----
 modules/video_output/msw/directx.c                 |   74 +++++------
 modules/video_output/msw/wingdi.c                  |   10 +-
 modules/video_output/omapfb.c                      |    7 +-
 modules/video_output/opengl.c                      |   10 +-
 modules/video_output/opengllayer.m                 |    4 +-
 modules/video_output/qte/qte.cpp                   |    2 +-
 modules/video_output/sdl.c                         |   39 +++---
 modules/video_output/snapshot.c                    |   13 +-
 modules/video_output/svgalib.c                     |    2 +-
 modules/video_output/vmem.c                        |   13 +-
 modules/video_output/x11/xcommon.c                 |   50 ++++----
 modules/video_output/xcb/x11.c                     |   12 +-
 modules/video_output/xcb/xvideo.c                  |   26 ++--
 modules/video_output/yuv.c                         |   14 +-
 modules/visualization/galaktos/plugin.c            |    7 +-
 modules/visualization/goom.c                       |    8 +-
 modules/visualization/visual/visual.c              |    6 +-
 src/audio_output/common.c                          |   30 ++--
 src/audio_output/output.c                          |    3 +-
 src/input/decoder.c                                |    4 +-
 src/input/es_out.c                                 |   10 +-
 src/misc/es_format.c                               |    8 +-
 src/misc/image.c                                   |   54 ++++----
 src/osd/osd_text.c                                 |    2 +-
 src/osd/osd_widgets.c                              |    2 +-
 src/video_output/video_output.c                    |    8 +-
 src/video_output/video_text.c                      |    2 +-
 src/video_output/vout_intf.c                       |    4 +-
 src/video_output/vout_pictures.c                   |  135 +++++++++-----------
 src/video_output/vout_pictures.h                   |   84 ------------
 src/video_output/vout_subpictures.c                |   23 ++--
 230 files changed, 1551 insertions(+), 1734 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=724461bdf250e856eb32f6c0b7c51b065e482982



More information about the vlc-devel mailing list