[FFmpeg-devel] [RFC] Rename files in libavdevice: FOO -> FOOIN/FOOOUT

Stefano Sabatini stefano.sabatini-lala
Fri Apr 23 01:21:03 CEST 2010


I started to work on a v4l2 virtual video output device for lavd, and
I see that I need some v4l2.[hc] files to share with the v4l2 input

While at it I propose to apply a consistent scheme based on that
adopted by lavf/lavc:

alsa-audio-common.c -> alsa.c
alsa-audio-dec.c    -> alsain.c
alsa-audio-enc.c    -> alsaout.c
alsa-audio.h        -> alsa.h
beosaudio.cpp       -> beosaudioout.cpp
bktr.c              -> bktr.c (contains both in and out device)
dv1394.c            -> dv1394in.c
jack_audio.c        -> jack_audioin.c (or simply jackin.c)
libdc1394.c         -> libdc1394in.c
oss_audio.c         -> oss.c
v4l2.c              -> v4l2in.c 
v4l.c               -> v4lin.c
vfwcap.c            -> vfwin.c
x11grab.c           -> x11in.c

Then I would add v4l2.h/v4l2.c/v4l2vdout.c.

Flames/comments are welcome.

FFmpeg = Freak and Fascinating Mind-dumbing Pitiful Enchanting Gospel

More information about the ffmpeg-devel mailing list