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
 
std::array< uint8_t *, 4 > priv
 random empty storage More...
 
int interlaced_frame
 1 if interlaced. 0 if not interlaced. -1 if unknown. More...
 
bool top_field_first
 true if top field is first. More...
 
bool interlaced_reversed
 
bool new_gop
 true for user override of scan More...
 
bool repeat_pict
 used to unlock the scan type More...
 
bool forcekey
 hardware encoded .nuv More...
 
bool dummy
 
bool pause_frame
 
FramePitches pitches
 Y, U, & V pitches. More...
 
FrameOffsets offsets
 Y, U, & V offsets. More...
 
int pix_fmt
 
int sw_pix_fmt
 
bool directrendering
 true if managed by FFmpeg More...
 
int colorspace
 
int colorrange
 
int colorprimaries
 
int colortransfer
 
int chromalocation
 
bool colorshifted
 false for software decoded 10/12/16bit frames. true for hardware decoders. More...
 
bool already_deinterlaced
 temporary? TODO move scan detection/tracking into decoder More...
 
int rotation
 
uint stereo3D
 
MythDeintType deinterlace_single
 
MythDeintType deinterlace_double
 
MythDeintType deinterlace_allowed
 
MythDeintType deinterlace_inuse
 
bool deinterlace_inuse2x
 

Detailed Description

Definition at line 134 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 142 of file mythframe.h.

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

◆ bpp

int VideoFrame::bpp

Definition at line 143 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 146 of file mythframe.h.

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

◆ timecode

long long VideoFrame::timecode

◆ disp_timecode

int64_t VideoFrame::disp_timecode

◆ priv

std::array<uint8_t*,4> VideoFrame::priv

random empty storage

Definition at line 149 of file mythframe.h.

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

◆ interlaced_frame

int VideoFrame::interlaced_frame

◆ top_field_first

bool VideoFrame::top_field_first

◆ interlaced_reversed

bool VideoFrame::interlaced_reversed

◆ new_gop

bool VideoFrame::new_gop

true for user override of scan

Definition at line 153 of file mythframe.h.

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

◆ repeat_pict

bool VideoFrame::repeat_pict

used to unlock the scan type

Definition at line 154 of file mythframe.h.

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

◆ forcekey

bool VideoFrame::forcekey

hardware encoded .nuv

Definition at line 155 of file mythframe.h.

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

◆ dummy

bool VideoFrame::dummy

◆ pause_frame

bool VideoFrame::pause_frame

◆ pitches

FramePitches VideoFrame::pitches

◆ offsets

FrameOffsets VideoFrame::offsets

◆ pix_fmt

int VideoFrame::pix_fmt

◆ sw_pix_fmt

int VideoFrame::sw_pix_fmt

Definition at line 161 of file mythframe.h.

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

◆ directrendering

bool VideoFrame::directrendering

true if managed by FFmpeg

Definition at line 162 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

bool VideoFrame::colorshifted

false for software decoded 10/12/16bit frames. true for hardware decoders.

Definition at line 168 of file mythframe.h.

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

◆ already_deinterlaced

bool VideoFrame::already_deinterlaced

temporary? TODO move scan detection/tracking into decoder

Definition at line 169 of file mythframe.h.

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

◆ rotation

int VideoFrame::rotation

◆ stereo3D

uint VideoFrame::stereo3D

◆ deinterlace_single

MythDeintType VideoFrame::deinterlace_single

Definition at line 172 of file mythframe.h.

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

◆ deinterlace_double

MythDeintType VideoFrame::deinterlace_double

Definition at line 173 of file mythframe.h.

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

◆ deinterlace_allowed

MythDeintType VideoFrame::deinterlace_allowed

Definition at line 174 of file mythframe.h.

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

◆ deinterlace_inuse

MythDeintType VideoFrame::deinterlace_inuse

◆ deinterlace_inuse2x

bool VideoFrame::deinterlace_inuse2x

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