MythTV  master
Public Attributes | List of all members
VideoFrame Struct Reference

#include <mythframe.h>

Collaboration diagram for VideoFrame:
Collaboration graph
[legend]

Public Attributes

VideoFrameType codec
 
unsigned char * buf
 
int width
 
int height
 
float aspect
 
double frame_rate
 
int bpp
 
int size
 
long long frameNumber
 
long long frameCounter
 raw frame counter/ticker for discontinuity checks More...
 
long long timecode
 
int64_t disp_timecode
 
unsigned char * priv [4]
 random empty storage More...
 
int interlaced_frame
 1 if interlaced. More...
 
int top_field_first
 1 if top field is first. More...
 
int interlaced_reversed
 
int new_gop
 1 for user override of scan More...
 
int repeat_pict
 used to unlock the scan type More...
 
int forcekey
 hardware encoded .nuv More...
 
int dummy
 
int pause_frame
 
int pitches [3]
 Y, U, & V pitches. More...
 
int offsets [3]
 Y, U, & V offsets. More...
 
int pix_fmt
 
int sw_pix_fmt
 
int directrendering
 1 if managed by FFmpeg More...
 
int colorspace
 
int colorrange
 
int colorprimaries
 
int colortransfer
 
int chromalocation
 
int colorshifted
 0 for software decoded 10/12/16bit frames. 1 for hardware decoders. More...
 
int already_deinterlaced
 temporary? TODO move scan detection/tracking into decoder More...
 
int rotation
 
MythDeintType deinterlace_single
 
MythDeintType deinterlace_double
 
MythDeintType deinterlace_allowed
 
MythDeintType deinterlace_inuse
 
int deinterlace_inuse2x
 

Detailed Description

Definition at line 136 of file mythframe.h.

Member Data Documentation

◆ codec

VideoFrameType VideoFrame::codec

◆ buf

unsigned char* VideoFrame::buf

◆ width

int VideoFrame::width

◆ height

int VideoFrame::height

◆ aspect

float VideoFrame::aspect

◆ frame_rate

double VideoFrame::frame_rate

Definition at line 144 of file mythframe.h.

Referenced by init(), and MythCCExtractorPlayer::OnGotNewFrame().

◆ bpp

int VideoFrame::bpp

Definition at line 145 of file mythframe.h.

Referenced by init().

◆ size

int VideoFrame::size

◆ frameNumber

long long VideoFrame::frameNumber

◆ frameCounter

long long VideoFrame::frameCounter

raw frame counter/ticker for discontinuity checks

Definition at line 148 of file mythframe.h.

Referenced by MythVideoOutput::CopyFrame(), AvFormatDecoder::GenerateDummyVideoFrames(), NuppelDecoder::GetFrame(), init(), and AvFormatDecoder::ProcessVideoFrame().

◆ timecode

long long VideoFrame::timecode

◆ disp_timecode

int64_t VideoFrame::disp_timecode

◆ priv

unsigned char* VideoFrame::priv[4]

random empty storage

Definition at line 151 of file mythframe.h.

Referenced by MythCodecContext::GetBuffer(), init(), and MythDeinterlacer::SetUpCache().

◆ interlaced_frame

int VideoFrame::interlaced_frame

◆ top_field_first

int VideoFrame::top_field_first

◆ interlaced_reversed

int VideoFrame::interlaced_reversed

◆ new_gop

int VideoFrame::new_gop

1 for user override of scan

Definition at line 155 of file mythframe.h.

Referenced by MythPlayer::AutoDeint(), AvFormatDecoder::GenerateDummyVideoFrames(), init(), and AvFormatDecoder::ProcessVideoFrame().

◆ repeat_pict

int VideoFrame::repeat_pict

used to unlock the scan type

Definition at line 156 of file mythframe.h.

Referenced by MythUSWCCopy::copy(), framecopy(), AvFormatDecoder::GenerateDummyVideoFrames(), init(), and MythCCExtractorPlayer::OnGotNewFrame().

◆ forcekey

int VideoFrame::forcekey

hardware encoded .nuv

Definition at line 157 of file mythframe.h.

Referenced by init(), and NuppelVideoRecorder::WriteVideo().

◆ dummy

int VideoFrame::dummy

◆ pause_frame

int VideoFrame::pause_frame

◆ pitches

int VideoFrame::pitches[3]

◆ offsets

int VideoFrame::offsets[3]

◆ pix_fmt

int VideoFrame::pix_fmt

◆ sw_pix_fmt

int VideoFrame::sw_pix_fmt

Definition at line 163 of file mythframe.h.

Referenced by MythCodecContext::GetBuffer(), and init().

◆ directrendering

int VideoFrame::directrendering

1 if managed by FFmpeg

Definition at line 164 of file mythframe.h.

Referenced by init(), and AvFormatDecoder::ProcessVideoFrame().

◆ colorspace

int VideoFrame::colorspace

◆ colorrange

int VideoFrame::colorrange

◆ colorprimaries

int VideoFrame::colorprimaries

◆ colortransfer

int VideoFrame::colortransfer

◆ chromalocation

int VideoFrame::chromalocation

◆ colorshifted

int VideoFrame::colorshifted

0 for software decoded 10/12/16bit frames. 1 for hardware decoders.

Definition at line 170 of file mythframe.h.

Referenced by get_avf_buffer(), MythCodecContext::GetBuffer(), and init().

◆ already_deinterlaced

int VideoFrame::already_deinterlaced

temporary? TODO move scan detection/tracking into decoder

Definition at line 171 of file mythframe.h.

Referenced by MythPlayer::AVSync(), AvFormatDecoder::GenerateDummyVideoFrames(), init(), AvFormatDecoder::ProcessVideoFrame(), and MythVideoOutputOpenGL::UpdatePauseFrame().

◆ rotation

int VideoFrame::rotation

◆ deinterlace_single

MythDeintType VideoFrame::deinterlace_single

Definition at line 173 of file mythframe.h.

Referenced by MythPlayer::GetScreenGrabAtFrame(), and init().

◆ deinterlace_double

MythDeintType VideoFrame::deinterlace_double

Definition at line 174 of file mythframe.h.

Referenced by MythPlayer::GetScreenGrabAtFrame(), and init().

◆ deinterlace_allowed

MythDeintType VideoFrame::deinterlace_allowed

Definition at line 175 of file mythframe.h.

Referenced by MythPlayer::GetScreenGrabAtFrame(), and init().

◆ deinterlace_inuse

MythDeintType VideoFrame::deinterlace_inuse

◆ deinterlace_inuse2x

int VideoFrame::deinterlace_inuse2x

The documentation for this struct was generated from the following file: