Valkka  1.6.1
OpenSource Video Management
Public Member Functions | Public Attributes | List of all members
AVBitmapFrame Class Reference

Decoded YUV/RGB frame in FFMpeg format. More...

#include <frame.h>

Inheritance diagram for AVBitmapFrame:
Inheritance graph
[legend]
Collaboration diagram for AVBitmapFrame:
Collaboration graph
[legend]

Public Member Functions

 AVBitmapFrame ()
 Default ctor.
 
virtual ~AVBitmapFrame ()
 Default virtual dtor.
 
 frame_essentials (FrameClass::avbitmap, AVBitmapFrame)
 
 frame_clone (FrameClass::avbitmap, AVBitmapFrame)
 
virtual std::string dumpPayload ()
 Dumps internal payload data.
 
virtual void print (std::ostream &os) const
 How to print this frame to output stream.
 
virtual void reset ()
 Reset the internal data.
 
virtual void copyPayloadFrom (AVBitmapFrame *frame)
 
virtual void updateAux ()
 Uses AVBitmapFrame::av_frame width and height and AVBitmapFrame::av_pixel_format to calculate AVBitmapFrame::bmpars.
 
virtual void update ()
 Update helper points (call always)
 
virtual void reserve (int width, int height)
 Reserves space for underlying av_frame.
 
- Public Member Functions inherited from AVMediaFrame
 AVMediaFrame ()
 Default ctor.
 
virtual ~AVMediaFrame ()
 Default virtual dtor.
 
- Public Member Functions inherited from Frame
 Frame ()
 Default ctor.
 
virtual ~Frame ()
 Default virtual dtor.
 
 frame_essentials (FrameClass::none, Frame)
 
 frame_clone (FrameClass::none, Frame)
 
virtual void dumpPayloadToFile (std::ofstream &fout)
 Dumps internal payload data into a file.
 
virtual bool isSeekable ()
 Can we seek to this frame? (e.g. is it a key-frame .. for H264 sps packets are used as seek markers)
 
void copyMetaFrom (Frame *f)
 Copy metadata (slot, subsession index, timestamp) to this frame.
 

Public Attributes

AVPixelFormat av_pixel_format
 From AVCodecContext .. this class implies YUV420P so this is not really required ..
 
BitmapPars bmpars
 Calculated bitmap plane dimensions, data sizes, etc.
 
uint8_t * y_payload
 shortcut to AVMediaFrame::av_frame->data[0]
 
uint8_t * u_payload
 shortcut to AVMediaFrame::av_frame->data[1]
 
uint8_t * v_payload
 shortcut to AVMediaFrame::av_frame->data[2]
 
- Public Attributes inherited from AVMediaFrame
AVMediaType media_type
 helper object: media type
 
AVCodecID codec_id
 helper object: codec id
 
AVFrame * av_frame
 The decoded frame.
 
- Public Attributes inherited from Frame
SlotNumber n_slot
 Slot number identifying the media source.
 
int subsession_index
 Media subsession index.
 
long int mstimestamp
 Presentation time stamp (PTS) in milliseconds.
 

Additional Inherited Members

- Protected Attributes inherited from Frame
FrameClass frameclass
 Declares frametype for correct typecast. Used by Frame::getFrameClass()
 

Detailed Description

Decoded YUV/RGB frame in FFMpeg format.

This is an "intermediate frame". It is typically copied asap into a YUVFrame.

Copiable/Queable : no


The documentation for this class was generated from the following files: