MythTV  0.26-pre
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends
NuppelVideoRecorder Class Reference

#include <NuppelVideoRecorder.h>

Inheritance diagram for NuppelVideoRecorder:
V4LRecorder CC608Input DTVRecorder RecorderBase MPEGStreamListener MPEGSingleProgramStreamListener DVBMainStreamListener ATSCMainStreamListener TSPacketListener TSPacketListenerAV

List of all members.

Public Member Functions

 NuppelVideoRecorder (TVRec *rec, ChannelBase *channel)
 ~NuppelVideoRecorder ()
void SetOption (const QString &name, int value)
 handles the "wait_for_seqstart" option.
void SetOption (const QString &name, const QString &value)
 Set an specific option.
void SetOptionsFromProfile (RecordingProfile *profile, const QString &videodev, const QString &audiodev, const QString &vbidev)
 Sets basic recorder options.
void Initialize (void)
 This is called between SetOptionsFromProfile() and run() to initialize any devices, etc.
void run (void)
 run() starts the recording process, and does not exit until the recording is complete.
virtual void Pause (bool clear=true)
 Pause tells recorder to pause, it should not block.
virtual bool IsPaused (bool holding_lock=false) const
 Returns true iff recorder is paused.
bool IsRecording (void)
 Tells whether the StartRecorder() loop is running.
long long GetFramesWritten (void)
 Returns number of frames written to disk.
bool Open (void)
int GetVideoFd (void)
 Returns file descriptor of recorder device.
void Reset (void)
 Reset the recorder to the startup state.
void SetVideoFilters (QString &filters)
 Tells recorder which filters to use.
void SetTranscoding (bool value)
void SetNextRecording (const ProgramInfo *, RingBuffer *)
 Sets next recording info, to be applied as soon as practical.
void ResetForNewFile (void)
void FinishRecording (void)
 Flushes the ringbuffer, and if this is not a live LiveTV recording saves the position map and filesize.
void StartNewFile (void)
void StreamAllocate (void)
void WriteHeader (void)
void WriteSeekTable (void)
void WriteKeyFrameAdjustTable (const vector< struct kfatable_entry > &kfa_table)
void UpdateSeekTable (int frame_num, long offset=0)
bool SetupAVCodecVideo (void)
void SetupRTjpeg (void)
int AudioInit (bool skipdevice=false)
void SetVideoAspect (float newAspect)
void WriteVideo (VideoFrame *frame, bool skipsync=false, bool forcekey=false)
void WriteAudio (unsigned char *buf, int fnum, int timecode)
void WriteText (unsigned char *buf, int len, int timecode, int pagenr)
void SetNewVideoParams (double newaspect)

Protected Member Functions

void doWriteThread (void)
void doAudioThread (void)

Private Member Functions

void WriteFrameheader (rtframeheader *fh)
void WriteFileHeader (void)
void InitBuffers (void)
void InitFilters (void)
void ResizeVideoBuffers (void)
bool MJPEGInit (void)
 Determines MJPEG capture resolution.
void KillChildren (void)
void BufferIt (unsigned char *buf, int len=-1, bool forcekey=false)
int CreateNuppelFile (void)
void ProbeV4L2 (void)
bool SetFormatV4L2 (void)
void DoV4L1 (void)
void DoV4L2 (void)
void DoMJPEG (void)
virtual void FormatTT (struct VBIData *)
virtual void FormatCC (uint code1, uint code2)
virtual void AddTextData (unsigned char *, int, int64_t, char)
void UpdateResolutions (void)
 HEAP_ALLOC (wrkmem, LZO1X_1_MEM_COMPRESS)

Private Attributes

int fd
signed char * strm
unsigned int lf
unsigned int tf
int M1
int M2
int Q
int width
int height
int pip_mode
int pid
int pid2
int inputchannel
int compression
int compressaudio
AudioInputaudio_device
unsigned long long audiobytes
int audio_channels
int audio_bits
int audio_bytes_per_sample
int audio_samplerate
int effectivedsp
int usebttv
float video_aspect
bool transcoding
int mp3quality
char * mp3buf
int mp3buf_size
lame_global_flags * gf
RTjpegrtjc
lzo_byte out [OUT_LEN]
vector< struct vidbuffertype * > videobuffer
vector< struct audbuffertype * > audiobuffer
vector< struct txtbuffertype * > textbuffer
int act_video_encode
int act_video_buffer
int act_audio_encode
int act_audio_buffer
long long act_audio_sample
int act_text_encode
int act_text_buffer
int video_buffer_count
int audio_buffer_count
int text_buffer_count
long video_buffer_size
long audio_buffer_size
long text_buffer_size
struct timeval stm
struct timezone tzone
NVRWriteThreadwrite_thread
NVRAudioThreadaudio_thread
bool recording
 True while recording is actually being performed.
int keyframedist
vector< struct seektable_entry > * seektable
long long lastPositionMapPos
long long extendeddataOffset
long long framesWritten
bool livetv
bool writepaused
bool audiopaused
bool mainpaused
double framerate_multiplier
double height_multiplier
int last_block
int firsttc
long int oldtc
int startnum
int frameofgop
int lasttimecode
int audio_behind
bool useavcodec
AVCodec * mpa_vidcodec
AVCodecContext * mpa_vidctx
AVFrame mpa_picture
int targetbitrate
int scalebitrate
int maxquality
int minquality
int qualdiff
int mp4opts
int mb_decision
int encoding_thread_count
 Number of threads to use for MPEG-2 and MPEG-4 encoding.
QString videoFilterList
FilterChainvideoFilters
FilterManagerFiltMan
VideoFrameType inpixfmt
PixelFormat picture_format
uint32_t v4l2_pixelformat
int w_out
int h_out
bool hardware_encode
int hmjpg_quality
int hmjpg_hdecimation
int hmjpg_vdecimation
int hmjpg_maxw
bool cleartimeonpause
bool usingv4l2
int channelfd
long long prev_bframe_save_pos
ChannelBasechannelObj
bool skip_btaudio
bool correct_bttv
int volume
CC608Decoderccd
bool go7007
bool resetcapture

Friends

class NVRWriteThread
class NVRAudioThread

Detailed Description

Definition at line 71 of file NuppelVideoRecorder.h.


Constructor & Destructor Documentation

Definition at line 84 of file NuppelVideoRecorder.cpp.

Definition at line 198 of file NuppelVideoRecorder.cpp.


Member Function Documentation

void NuppelVideoRecorder::SetOption ( const QString &  name,
int  value 
) [virtual]

handles the "wait_for_seqstart" option.

Reimplemented from V4LRecorder.

Definition at line 266 of file NuppelVideoRecorder.cpp.

Referenced by SetOption(), SetOptionsFromProfile(), and Transcode::TranscodeFile().

void NuppelVideoRecorder::SetOption ( const QString &  opt,
const QString &  value 
) [virtual]

Set an specific option.

Base options include: codec, videodevice, tvformat (ntsc,ntsc-jp,pal-m), vbiformat ("none","pal teletext","ntsc").

Reimplemented from V4LRecorder.

Definition at line 349 of file NuppelVideoRecorder.cpp.

void NuppelVideoRecorder::SetOptionsFromProfile ( RecordingProfile profile,
const QString &  videodev,
const QString &  audiodev,
const QString &  vbidev 
) [virtual]

Sets basic recorder options.

SetOptionsFromProfile is used to tell the recorder about the recording profile as well as the devices to use.

Reimplemented from DTVRecorder.

Definition at line 354 of file NuppelVideoRecorder.cpp.

This is called between SetOptionsFromProfile() and run() to initialize any devices, etc.

Reimplemented from DTVRecorder.

Definition at line 694 of file NuppelVideoRecorder.cpp.

run() starts the recording process, and does not exit until the recording is complete.

See also:
StopRecording()

Implements RecorderBase.

Definition at line 1049 of file NuppelVideoRecorder.cpp.

void NuppelVideoRecorder::Pause ( bool  clear = true) [virtual]

Pause tells recorder to pause, it should not block.

Once paused the recorder calls tvrec->RecorderPaused().

Parameters:
clearif true any generated timecodes should be reset.
See also:
Unpause(), WaitForPause()

Reimplemented from RecorderBase.

Definition at line 455 of file NuppelVideoRecorder.cpp.

bool NuppelVideoRecorder::IsPaused ( bool  holding_lock = false) const [virtual]

Returns true iff recorder is paused.

Reimplemented from RecorderBase.

Definition at line 467 of file NuppelVideoRecorder.cpp.

Referenced by doAudioThread(), DoMJPEG(), DoV4L1(), DoV4L2(), and doWriteThread().

Tells whether the StartRecorder() loop is running.

Reimplemented from RecorderBase.

Definition at line 483 of file NuppelVideoRecorder.cpp.

long long NuppelVideoRecorder::GetFramesWritten ( void  ) [virtual]

Returns number of frames written to disk.

It is not always safe to seek up to this frame in a player because frames may not be written in display order.

Reimplemented from DTVRecorder.

Definition at line 488 of file NuppelVideoRecorder.cpp.

Definition at line 987 of file NuppelVideoRecorder.cpp.

Referenced by run().

Returns file descriptor of recorder device.

This is used by channel when only one open file descriptor is allowed on a device node. This is the case with video4linux devices and similar devices in BSD. It is not needed by newer drivers, such as those used for DVB.

Reimplemented from DTVRecorder.

Definition at line 493 of file NuppelVideoRecorder.cpp.

Reset the recorder to the startup state.

This is used after Pause(bool), WaitForPause() and after the RingBuffer's StopReads() method has been called.

Reimplemented from DTVRecorder.

Definition at line 2318 of file NuppelVideoRecorder.cpp.

void NuppelVideoRecorder::SetVideoFilters ( QString &  filters) [virtual]

Tells recorder which filters to use.

These filters are used by frame grabber encoders to lower the bitrate while keeping quality good. They must execute quickly so that frames are not lost by the recorder.

Reimplemented from DTVRecorder.

Definition at line 477 of file NuppelVideoRecorder.cpp.

Definition at line 102 of file NuppelVideoRecorder.h.

Referenced by Transcode::TranscodeFile().

Sets next recording info, to be applied as soon as practical.

This should not lose any frames on the switchover, and should initialize the RingBuffer stream with headers as appropriate.

The switch does not have to happen immediately, but should happen soon. (i.e. it can wait for a key frame..)

This calls TVRec::RingBufferChanged() when the switch happens.

Reimplemented from DTVRecorder.

Definition at line 2809 of file NuppelVideoRecorder.cpp.

Reimplemented from DTVRecorder.

Definition at line 2826 of file NuppelVideoRecorder.cpp.

Referenced by Reset().

Flushes the ringbuffer, and if this is not a live LiveTV recording saves the position map and filesize.

Reimplemented from DTVRecorder.

Definition at line 2850 of file NuppelVideoRecorder.cpp.

Referenced by DoMJPEG(), DoV4L1(), and DoV4L2().

Reimplemented from RecorderBase.

Definition at line 2845 of file NuppelVideoRecorder.cpp.

Definition at line 982 of file NuppelVideoRecorder.cpp.

Referenced by run(), and Transcode::TranscodeFile().

Definition at line 2082 of file NuppelVideoRecorder.cpp.

Referenced by CreateNuppelFile(), and Transcode::TranscodeFile().

Definition at line 2202 of file NuppelVideoRecorder.cpp.

Referenced by FinishRecording(), and Transcode::TranscodeFile().

void NuppelVideoRecorder::WriteKeyFrameAdjustTable ( const vector< struct kfatable_entry > &  kfa_table)

Definition at line 2239 of file NuppelVideoRecorder.cpp.

Referenced by Transcode::TranscodeFile().

void NuppelVideoRecorder::UpdateSeekTable ( int  frame_num,
long  offset = 0 
)

Definition at line 2278 of file NuppelVideoRecorder.cpp.

Referenced by Transcode::TranscodeFile(), and WriteVideo().

Definition at line 498 of file NuppelVideoRecorder.cpp.

Referenced by Reset(), run(), and Transcode::TranscodeFile().

Definition at line 616 of file NuppelVideoRecorder.cpp.

Referenced by run(), and Transcode::TranscodeFile().

Definition at line 752 of file NuppelVideoRecorder.cpp.

Referenced by Initialize(), and Transcode::TranscodeFile().

void NuppelVideoRecorder::SetVideoAspect ( float  newAspect) [inline]

Definition at line 120 of file NuppelVideoRecorder.h.

Referenced by Transcode::TranscodeFile().

void NuppelVideoRecorder::WriteVideo ( VideoFrame frame,
bool  skipsync = false,
bool  forcekey = false 
)

Definition at line 2867 of file NuppelVideoRecorder.cpp.

Referenced by doWriteThread(), and Transcode::TranscodeFile().

void NuppelVideoRecorder::WriteAudio ( unsigned char *  buf,
int  fnum,
int  timecode 
)

Definition at line 3100 of file NuppelVideoRecorder.cpp.

Referenced by doWriteThread(), and Transcode::TranscodeFile().

void NuppelVideoRecorder::WriteText ( unsigned char *  buf,
int  len,
int  timecode,
int  pagenr 
)

Definition at line 3235 of file NuppelVideoRecorder.cpp.

Referenced by doWriteThread(), and TranscodeWriteText().

Definition at line 2026 of file NuppelVideoRecorder.cpp.

Referenced by Transcode::TranscodeFile().

Definition at line 2682 of file NuppelVideoRecorder.cpp.

Definition at line 2366 of file NuppelVideoRecorder.cpp.

Definition at line 2045 of file NuppelVideoRecorder.cpp.

Referenced by SetNewVideoParams(), and WriteHeader().

Definition at line 910 of file NuppelVideoRecorder.cpp.

Referenced by Initialize().

Definition at line 879 of file NuppelVideoRecorder.cpp.

Referenced by DoV4L1(), Initialize(), run(), SetVideoFilters(), and WriteHeader().

Definition at line 973 of file NuppelVideoRecorder.cpp.

Referenced by InitFilters().

Determines MJPEG capture resolution.

This function requires an file descriptor for the device, which means Channel cannot be open when NVR::Initialize() is called. It is safe for the recorder to be open.

Returns:
true on success

Definition at line 829 of file NuppelVideoRecorder.cpp.

Referenced by Initialize().

Definition at line 1919 of file NuppelVideoRecorder.cpp.

Referenced by DoMJPEG(), DoV4L1(), DoV4L2(), and Open().

void NuppelVideoRecorder::BufferIt ( unsigned char *  buf,
int  len = -1,
bool  forcekey = false 
) [private]

Definition at line 1950 of file NuppelVideoRecorder.cpp.

Referenced by DoMJPEG(), DoV4L1(), and DoV4L2().

Definition at line 2296 of file NuppelVideoRecorder.cpp.

Referenced by run(), and StartNewFile().

Definition at line 1012 of file NuppelVideoRecorder.cpp.

Referenced by run().

Definition at line 1349 of file NuppelVideoRecorder.cpp.

Referenced by run().

Definition at line 1152 of file NuppelVideoRecorder.cpp.

Referenced by run().

Definition at line 1442 of file NuppelVideoRecorder.cpp.

Referenced by run().

Definition at line 1772 of file NuppelVideoRecorder.cpp.

Referenced by DoV4L1().

void NuppelVideoRecorder::FormatTT ( struct VBIData vbidata) [private, virtual]

Reimplemented from V4LRecorder.

Definition at line 2476 of file NuppelVideoRecorder.cpp.

void NuppelVideoRecorder::FormatCC ( uint  code1,
uint  code2 
) [private, virtual]

Reimplemented from V4LRecorder.

Definition at line 2647 of file NuppelVideoRecorder.cpp.

void NuppelVideoRecorder::AddTextData ( unsigned char *  buf,
int  len,
int64_t  timecode,
char   
) [private, virtual]

Implements CC608Input.

Definition at line 2660 of file NuppelVideoRecorder.cpp.

Definition at line 632 of file NuppelVideoRecorder.cpp.

Referenced by run().

NuppelVideoRecorder::HEAP_ALLOC ( wrkmem  ,
LZO1X_1_MEM_COMPRESS   
) [private]

Friends And Related Function Documentation

friend class NVRWriteThread [friend]

Definition at line 73 of file NuppelVideoRecorder.h.

Referenced by run().

friend class NVRAudioThread [friend]

Definition at line 74 of file NuppelVideoRecorder.h.

Referenced by run().


Member Data Documentation

signed char* NuppelVideoRecorder::strm [private]
unsigned int NuppelVideoRecorder::lf [private]
unsigned int NuppelVideoRecorder::tf [private]

Definition at line 163 of file NuppelVideoRecorder.h.

Referenced by BufferIt(), and NuppelVideoRecorder().

Definition at line 164 of file NuppelVideoRecorder.h.

Referenced by NuppelVideoRecorder(), SetOption(), SetupRTjpeg(), and WriteHeader().

Definition at line 164 of file NuppelVideoRecorder.h.

Referenced by NuppelVideoRecorder(), SetOption(), SetupRTjpeg(), and WriteHeader().

Definition at line 164 of file NuppelVideoRecorder.h.

Referenced by NuppelVideoRecorder(), SetOption(), SetupRTjpeg(), and WriteHeader().

Definition at line 165 of file NuppelVideoRecorder.h.

Referenced by DoV4L1(), InitFilters(), and SetFormatV4L2().

Definition at line 166 of file NuppelVideoRecorder.h.

Referenced by NuppelVideoRecorder(), and SetOption().

Definition at line 167 of file NuppelVideoRecorder.h.

Referenced by NuppelVideoRecorder().

Definition at line 167 of file NuppelVideoRecorder.h.

Referenced by NuppelVideoRecorder().

Definition at line 168 of file NuppelVideoRecorder.h.

Referenced by NuppelVideoRecorder().

Definition at line 169 of file NuppelVideoRecorder.h.

Referenced by NuppelVideoRecorder(), and WriteVideo().

Definition at line 171 of file NuppelVideoRecorder.h.

Referenced by AudioInit(), doAudioThread(), and ~NuppelVideoRecorder().

unsigned long long NuppelVideoRecorder::audiobytes [private]

Definition at line 172 of file NuppelVideoRecorder.h.

Referenced by Initialize(), NuppelVideoRecorder(), Reset(), and WriteAudio().

Definition at line 174 of file NuppelVideoRecorder.h.

Referenced by AudioInit(), doAudioThread(), NuppelVideoRecorder(), and WriteHeader().

Definition at line 175 of file NuppelVideoRecorder.h.

Referenced by AudioInit(), doAudioThread(), NuppelVideoRecorder(), and WriteAudio().

Definition at line 177 of file NuppelVideoRecorder.h.

Referenced by Reset(), WriteAudio(), and WriteVideo().

Definition at line 179 of file NuppelVideoRecorder.h.

Referenced by BufferIt(), and NuppelVideoRecorder().

Definition at line 182 of file NuppelVideoRecorder.h.

Referenced by NuppelVideoRecorder(), and WriteVideo().

Definition at line 184 of file NuppelVideoRecorder.h.

Referenced by AudioInit(), NuppelVideoRecorder(), SetOption(), and WriteHeader().

char* NuppelVideoRecorder::mp3buf [private]

Definition at line 186 of file NuppelVideoRecorder.h.

Referenced by AudioInit(), and WriteAudio().

lame_global_flags* NuppelVideoRecorder::gf [private]
lzo_byte NuppelVideoRecorder::out[OUT_LEN] [private]

Definition at line 192 of file NuppelVideoRecorder.h.

Referenced by giantbomb.giantbomb_api.OutStreamEncoder::__getattr__(), nv_python_libs.tedtalks.tedtalks_api.OutStreamEncoder::__getattr__(), nv_python_libs.thewb.thewb_api.OutStreamEncoder::__getattr__(), nv_python_libs.pbs.pbs_api.OutStreamEncoder::__getattr__(), nv_python_libs.mashups.mashups_api.OutStreamEncoder::__getattr__(), nv_python_libs.xsltfunctions.chrisPirillo_api.OutStreamEncoder::__getattr__(), nv_python_libs.hulu.hulu_api.OutStreamEncoder::__getattr__(), nv_python_libs.xsltfunctions.revision3XSL_api.OutStreamEncoder::__getattr__(), nv_python_libs.xsltfunctions.skyAtNight_api.OutStreamEncoder::__getattr__(), nv_python_libs.xsltfunctions.linuxAction_api.OutStreamEncoder::__getattr__(), nv_python_libs.xsltfunctions.spitzer_api.OutStreamEncoder::__getattr__(), nv_python_libs.xsltfunctions.comedycentral_api.OutStreamEncoder::__getattr__(), nv_python_libs.mnvsearch.mnvsearch_api.OutStreamEncoder::__getattr__(), nv_python_libs.xsltfunctions.traileraddicts_api.OutStreamEncoder::__getattr__(), nv_python_libs.xsltfunctions.nasa_api.OutStreamEncoder::__getattr__(), nv_python_libs.xsltfunctions.youtubeXSL_api.OutStreamEncoder::__getattr__(), nv_python_libs.xsltfunctions.cinemarv_api.OutStreamEncoder::__getattr__(), nv_python_libs.xsltfunctions.hubbleCast_api.OutStreamEncoder::__getattr__(), nv_python_libs.xsltfunctions.pbsXSL_api.OutStreamEncoder::__getattr__(), nv_python_libs.xsltfunctions.tedtalksXSL_api.OutStreamEncoder::__getattr__(), nv_python_libs.xsltfunctions.tributeca_api.OutStreamEncoder::__getattr__(), nv_python_libs.rev3.rev3_api.OutStreamEncoder::__getattr__(), nv_python_libs.xsltfunctions.bliptvXSL_api.OutStreamEncoder::__getattr__(), nv_python_libs.xsltfunctions.mevio_api.OutStreamEncoder::__getattr__(), nv_python_libs.bbciplayer.bbciplayer_api.OutStreamEncoder::__getattr__(), nv_python_libs.mainProcess.OutStreamEncoder::__getattr__(), nv_python_libs.dailymotion.dailymotion_api.OutStreamEncoder::__getattr__(), nv_python_libs.mtv.mtv_api.OutStreamEncoder::__getattr__(), nv_python_libs.youtube.youtube_api.OutStreamEncoder::__getattr__(), nv_python_libs.bliptv.bliptv_api.OutStreamEncoder::__getattr__(), nv_python_libs.common.common_api.OutStreamEncoder::__getattr__(), comedycentral.OutStreamEncoder::__getattr__(), space.OutStreamEncoder::__getattr__(), trailers.OutStreamEncoder::__getattr__(), tedtalks.OutStreamEncoder::__getattr__(), pbs.OutStreamEncoder::__getattr__(), technology.OutStreamEncoder::__getattr__(), thewb.OutStreamEncoder::__getattr__(), nature.OutStreamEncoder::__getattr__(), mnvsearch.OutStreamEncoder::__getattr__(), giantbomb.OutStreamEncoder::__getattr__(), vimeo.OutStreamEncoder::__getattr__(), bliptv.OutStreamEncoder::__getattr__(), youtube.OutStreamEncoder::__getattr__(), mtv.OutStreamEncoder::__getattr__(), dailymotion.OutStreamEncoder::__getattr__(), hulu.OutStreamEncoder::__getattr__(), bbciplayer.OutStreamEncoder::__getattr__(), rev3.OutStreamEncoder::__getattr__(), tmdb.OutStreamEncoder::__getattr__(), nv_python_libs.vimeo.vimeo_api.OutStreamEncoder::__getattr__(), and WriteVideo().

vector<struct vidbuffertype *> NuppelVideoRecorder::videobuffer [private]
vector<struct audbuffertype *> NuppelVideoRecorder::audiobuffer [private]
vector<struct txtbuffertype *> NuppelVideoRecorder::textbuffer [private]

Reimplemented from V4LRecorder.

Definition at line 199 of file NuppelVideoRecorder.h.

Referenced by AddTextData(), doWriteThread(), FormatTT(), InitBuffers(), Reset(), and ~NuppelVideoRecorder().

Definition at line 201 of file NuppelVideoRecorder.h.

Referenced by doWriteThread(), NuppelVideoRecorder(), Reset(), and WriteVideo().

Definition at line 202 of file NuppelVideoRecorder.h.

Referenced by BufferIt(), NuppelVideoRecorder(), Reset(), and WriteVideo().

Definition at line 204 of file NuppelVideoRecorder.h.

Referenced by doWriteThread(), NuppelVideoRecorder(), and Reset().

Definition at line 205 of file NuppelVideoRecorder.h.

Referenced by doAudioThread(), NuppelVideoRecorder(), and Reset().

Definition at line 206 of file NuppelVideoRecorder.h.

Referenced by doAudioThread(), and Reset().

Definition at line 208 of file NuppelVideoRecorder.h.

Referenced by doWriteThread(), NuppelVideoRecorder(), and Reset().

Definition at line 209 of file NuppelVideoRecorder.h.

Referenced by AddTextData(), FormatTT(), NuppelVideoRecorder(), and Reset().

Definition at line 217 of file NuppelVideoRecorder.h.

Referenced by InitBuffers(), and NuppelVideoRecorder().

struct timeval NuppelVideoRecorder::stm [private]
struct timezone NuppelVideoRecorder::tzone [private]

Definition at line 222 of file NuppelVideoRecorder.h.

Referenced by KillChildren(), and run().

Definition at line 223 of file NuppelVideoRecorder.h.

Referenced by KillChildren(), and run().

True while recording is actually being performed.

Reimplemented from RecorderBase.

Definition at line 225 of file NuppelVideoRecorder.h.

Referenced by IsRecording(), and run().

Definition at line 227 of file NuppelVideoRecorder.h.

Referenced by DoV4L2(), NuppelVideoRecorder(), and WriteVideo().

Definition at line 229 of file NuppelVideoRecorder.h.

Referenced by UpdateSeekTable().

Definition at line 235 of file NuppelVideoRecorder.h.

Referenced by Initialize().

Definition at line 236 of file NuppelVideoRecorder.h.

Referenced by doWriteThread(), IsPaused(), NuppelVideoRecorder(), and Pause().

Definition at line 237 of file NuppelVideoRecorder.h.

Referenced by doAudioThread(), IsPaused(), NuppelVideoRecorder(), and Pause().

Definition at line 238 of file NuppelVideoRecorder.h.

Referenced by DoMJPEG(), DoV4L1(), DoV4L2(), IsPaused(), NuppelVideoRecorder(), and Pause().

Definition at line 243 of file NuppelVideoRecorder.h.

Referenced by ResetForNewFile(), WriteAudio(), and WriteHeader().

Definition at line 244 of file NuppelVideoRecorder.h.

Referenced by WriteAudio().

Definition at line 245 of file NuppelVideoRecorder.h.

Referenced by BufferIt(), and NuppelVideoRecorder().

Definition at line 246 of file NuppelVideoRecorder.h.

Referenced by NuppelVideoRecorder(), and WriteVideo().

Definition at line 247 of file NuppelVideoRecorder.h.

Referenced by NuppelVideoRecorder(), and WriteVideo().

Definition at line 248 of file NuppelVideoRecorder.h.

Referenced by NuppelVideoRecorder(), and WriteVideo().

Definition at line 249 of file NuppelVideoRecorder.h.

Referenced by NuppelVideoRecorder(), and WriteAudio().

AVCodecContext* NuppelVideoRecorder::mpa_vidctx [private]

Definition at line 255 of file NuppelVideoRecorder.h.

Referenced by SetupAVCodecVideo(), and WriteVideo().

Definition at line 257 of file NuppelVideoRecorder.h.

Referenced by DoV4L2(), NuppelVideoRecorder(), SetOption(), and SetupAVCodecVideo().

Definition at line 258 of file NuppelVideoRecorder.h.

Referenced by DoV4L2(), NuppelVideoRecorder(), SetOption(), and SetupAVCodecVideo().

Definition at line 259 of file NuppelVideoRecorder.h.

Referenced by NuppelVideoRecorder(), SetOption(), and SetupAVCodecVideo().

Definition at line 260 of file NuppelVideoRecorder.h.

Referenced by NuppelVideoRecorder(), SetOption(), and SetupAVCodecVideo().

Definition at line 261 of file NuppelVideoRecorder.h.

Referenced by NuppelVideoRecorder(), SetOption(), and SetupAVCodecVideo().

Definition at line 262 of file NuppelVideoRecorder.h.

Referenced by NuppelVideoRecorder(), SetOption(), and SetupAVCodecVideo().

Definition at line 263 of file NuppelVideoRecorder.h.

Referenced by NuppelVideoRecorder(), SetOption(), and SetupAVCodecVideo().

Number of threads to use for MPEG-2 and MPEG-4 encoding.

Definition at line 265 of file NuppelVideoRecorder.h.

Referenced by NuppelVideoRecorder(), SetOption(), and SetupAVCodecVideo().

Definition at line 267 of file NuppelVideoRecorder.h.

Referenced by InitFilters(), NuppelVideoRecorder(), and SetVideoFilters().

Definition at line 269 of file NuppelVideoRecorder.h.

Referenced by InitFilters(), NuppelVideoRecorder(), and ~NuppelVideoRecorder().

PixelFormat NuppelVideoRecorder::picture_format [private]

Definition at line 273 of file NuppelVideoRecorder.h.

Referenced by DoV4L2(), NuppelVideoRecorder(), and SetFormatV4L2().

Definition at line 277 of file NuppelVideoRecorder.h.

Referenced by DoV4L1(), DoV4L2(), Initialize(), NuppelVideoRecorder(), and WriteVideo().

Definition at line 278 of file NuppelVideoRecorder.h.

Referenced by DoMJPEG(), NuppelVideoRecorder(), and SetOption().

Definition at line 279 of file NuppelVideoRecorder.h.

Referenced by DoMJPEG(), Initialize(), NuppelVideoRecorder(), and SetOption().

Definition at line 280 of file NuppelVideoRecorder.h.

Referenced by DoMJPEG(), Initialize(), NuppelVideoRecorder(), and SetOption().

Definition at line 281 of file NuppelVideoRecorder.h.

Referenced by DoMJPEG(), Initialize(), MJPEGInit(), and NuppelVideoRecorder().

Definition at line 283 of file NuppelVideoRecorder.h.

Referenced by DoMJPEG(), DoV4L1(), DoV4L2(), and Pause().

Definition at line 285 of file NuppelVideoRecorder.h.

Referenced by NuppelVideoRecorder(), ProbeV4L2(), and run().

Definition at line 286 of file NuppelVideoRecorder.h.

Referenced by DoV4L2(), GetVideoFd(), NuppelVideoRecorder(), Open(), and ProbeV4L2().

Definition at line 288 of file NuppelVideoRecorder.h.

Referenced by NuppelVideoRecorder().

Definition at line 290 of file NuppelVideoRecorder.h.

Referenced by DoV4L1(), DoV4L2(), and NuppelVideoRecorder().

Definition at line 292 of file NuppelVideoRecorder.h.

Referenced by DoV4L1(), NuppelVideoRecorder(), and SetOption().

Definition at line 294 of file NuppelVideoRecorder.h.

Referenced by InitFilters(), NuppelVideoRecorder(), and ProbeV4L2().

Definition at line 296 of file NuppelVideoRecorder.h.

Referenced by DoV4L1(), NuppelVideoRecorder(), and SetOption().

Definition at line 298 of file NuppelVideoRecorder.h.

Referenced by FormatCC(), NuppelVideoRecorder(), and ~NuppelVideoRecorder().

Definition at line 301 of file NuppelVideoRecorder.h.

Referenced by DoV4L2(), NuppelVideoRecorder(), and ResetForNewFile().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends