FFmpeg
Data Fields
ThreadData Struct Reference

Used for passing data between threads. More...

#include <lut3d.h>

Data Fields

AVFrameframe
 
const AVPacketavpkt
 
const uint8_t * buf
 
int stride
 
AVFrameout
 
AVFramein
 
int nb_samples
 
int channels
 
int eof
 
void ** d
 
void ** p
 
const void ** s
 
float mult
 
int enabled
 
int * write
 
float ** ir
 
int * n_clippings
 
float ** ringbuffer
 
float ** temp_src
 
AVComplexFloat ** out_fft
 
AVComplexFloat ** in_fft
 
AVComplexFloat ** temp_afft
 
int ** delay
 
AVFrame ** in
 
int height
 
int width
 
const void * ptr
 
void * dptr
 
int linesize
 
int dlinesize
 
const AVFrametop
 
const AVFramebottom
 
AVFramedst
 
AVFilterLinkinlink
 
int plane
 
int w
 
int h
 
FilterParamsparam
 
const uint8_t * src
 
int src_linesize
 
const uint8_t * ref
 
int ref_linesize
 
int parity
 
int tff
 
int meta_data [MAX_META_DATA]
 
doubledata [MAX_DATA][NUM_PLANES]
 
const uint8_t * srcrow [4]
 
uint8_t * dstrow [4]
 
int dst_linesize
 
float coeff [4]
 
float fimin [4]
 
float fomin [4]
 
int imin [4]
 
int omin [4]
 
const AVFramesrc
 
int c2
 
int c3
 
int c4
 
int c5
 
int c6
 
int c7
 
ptrdiff_t in_linesize [3]
 
ptrdiff_t out_linesize [3]
 
int in_ss_h
 
int out_ss_h
 
AVComplexFloathdata_in
 
AVComplexFloatvdata_in
 
AVComplexFloathdata_out
 
AVComplexFloatvdata_out
 
int n
 
AVFramemaster
 
AVFrameref
 
int xoff
 
int yoff
 
int PP
 
floatsrc
 
floatdst
 
AVFramexin
 
AVFrameyin
 
AVFramecopy_src1
 
AVFramecopy_src2
 
uint16_t src1_factor
 
uint16_t src2_factor
 
float l_avg
 
float a_avg
 
float b_avg
 
int srcStride
 
int dstStride
 
int direct
 
const uint32_t * rgbtoyuv
 
const uint8_t * main_data [4]
 
const uint8_t * ref_data [4]
 
int main_linesize [4]
 
int planewidth [4]
 
int planeheight [4]
 
uint64_t ** score
 
int nb_components
 
AVFramefiltered
 
AVFramesource
 
AVFramereference
 
AVFramesrcx
 
AVFramesrcy
 
AVFrameb
 
AVFrameo
 
AVFramem
 
AVFramed
 
AVFramebase
 
AVFrameoverlay
 
AVFramemask
 
AVFramesrc
 
AVFramef1
 
AVFramef2
 
uint8_t * dst
 
uint8_t * src
 
int hsub
 
int vsub
 
AVFramea
 
PSNRDSPContextdsp
 
int nb_planes
 
int step
 
int inw
 
int inh
 
int outw
 
int outh
 
int xi
 
int yi
 
int xprime
 
int yprime
 
int c
 
int s
 
const AVFramein
 
double ** score
 
int ** temp
 
int max
 
SSIMDSPContextdsp
 
AVFrameileft
 
AVFrameiright
 
AVFramethreshold
 
AVFramemin
 
AVFramemax
 
const AVPixFmtDescriptordesc
 
double peak
 
AVFrameradius
 
const floatfilter
 
const floatsrc
 
int src_stride
 
int dst_stride
 
int filter_width
 
float ** temp
 
AVFramecur
 
AVFrameadj
 
int component
 
int offset_y
 
int offset_x
 
const AVFramexf [2]
 
float progress
 
const AVPixFmtDescriptorodesc
 

Detailed Description

Used for passing data between threads.

Definition at line 71 of file dsddec.c.

Field Documentation

◆ frame

AVFrame * ThreadData::frame

◆ avpkt

const AVPacket* ThreadData::avpkt

Definition at line 73 of file dsddec.c.

Referenced by decode_frame(), and dsd_channel().

◆ buf

const uint8_t * ThreadData::buf

Definition at line 37 of file v210dec.c.

Referenced by decode_frame(), v210_decode_slice(), v410_decode_frame(), and v410_decode_slice().

◆ stride

int ThreadData::stride

Definition at line 38 of file v210dec.c.

Referenced by decode_frame(), v210_decode_slice(), v410_decode_frame(), and v410_decode_slice().

◆ out

AVFrame * ThreadData::out

◆ in [1/3]

AVFrame * ThreadData::in

◆ nb_samples

int ThreadData::nb_samples

Definition at line 401 of file af_asoftclip.c.

Referenced by filter_channels(), and filter_frame().

◆ channels

int ThreadData::channels

Definition at line 402 of file af_asoftclip.c.

Referenced by filter_channels(), and filter_frame().

◆ eof

int ThreadData::eof

Definition at line 1200 of file af_biquads.c.

Referenced by filter_channel(), and filter_frame().

◆ d [1/2]

AVFrame * ThreadData::d

Definition at line 47 of file af_crystalizer.c.

Referenced by filter_frame(), maskedclamp_slice(), premultiply_slice(), and process_frame().

◆ p

void** ThreadData::p

Definition at line 48 of file af_crystalizer.c.

Referenced by filter_frame().

◆ s [1/2]

const void** ThreadData::s

Definition at line 49 of file af_crystalizer.c.

Referenced by filter_frame(), and filter_slice().

◆ mult

float ThreadData::mult

Definition at line 52 of file af_crystalizer.c.

Referenced by filter_frame().

◆ enabled

int ThreadData::enabled

Definition at line 123 of file af_dynaudnorm.c.

Referenced by amplify_channels(), and filter_frame().

◆ write

int * ThreadData::write

◆ ir

float ** ThreadData::ir

◆ n_clippings

int * ThreadData::n_clippings

◆ ringbuffer

float ** ThreadData::ringbuffer

◆ temp_src

float ** ThreadData::temp_src

◆ out_fft

AVComplexFloat ** ThreadData::out_fft

Definition at line 139 of file af_headphone.c.

Referenced by filter_frame(), and headphone_frame().

◆ in_fft

AVComplexFloat ** ThreadData::in_fft

Definition at line 140 of file af_headphone.c.

Referenced by filter_frame(), and headphone_frame().

◆ temp_afft

AVComplexFloat ** ThreadData::temp_afft

Definition at line 141 of file af_headphone.c.

Referenced by filter_frame(), and headphone_frame().

◆ delay

int** ThreadData::delay

Definition at line 323 of file af_sofalizer.c.

Referenced by filter_frame(), and sofalizer_convolute().

◆ in [2/3]

AVFrame** ThreadData::in

Definition at line 94 of file vf_amplify.c.

◆ height

int ThreadData::height

◆ width

int ThreadData::width

◆ ptr

const void* ThreadData::ptr

Definition at line 66 of file vf_avgblur.c.

Referenced by averageiir2d().

◆ dptr

void* ThreadData::dptr

Definition at line 67 of file vf_avgblur.c.

Referenced by averageiir2d().

◆ linesize

int ThreadData::linesize

Definition at line 68 of file vf_avgblur.c.

Referenced by averageiir2d(), geq_filter_frame(), and slice_geq_filter().

◆ dlinesize

int ThreadData::dlinesize

Definition at line 68 of file vf_avgblur.c.

Referenced by averageiir2d().

◆ top

const AVFrame* ThreadData::top

Definition at line 57 of file vf_blend.c.

Referenced by blend_frame(), and filter_slice().

◆ bottom

const AVFrame * ThreadData::bottom

Definition at line 57 of file vf_blend.c.

Referenced by filter_slice().

◆ dst [1/3]

uint8_t * ThreadData::dst

◆ inlink

AVFilterLink* ThreadData::inlink

Definition at line 59 of file vf_blend.c.

Referenced by filter_slice().

◆ plane

int ThreadData::plane

◆ w

int ThreadData::w

◆ h

int ThreadData::h

◆ param

FilterParams* ThreadData::param

Definition at line 62 of file vf_blend.c.

Referenced by filter_slice().

◆ src [1/6]

uint8_t * ThreadData::src

◆ src_linesize

int ThreadData::src_linesize

Definition at line 55 of file vf_bm3d.c.

Referenced by filter_frame(), filter_slice(), resample_cubic(), and resample_linear().

◆ ref [1/2]

AVFrame * ThreadData::ref

◆ ref_linesize

int ThreadData::ref_linesize

◆ parity

int ThreadData::parity

Definition at line 49 of file vf_bwdif.c.

Referenced by filter_slice().

◆ tff

int ThreadData::tff

Definition at line 50 of file vf_bwdif.c.

Referenced by filter_slice().

◆ meta_data

int ThreadData::meta_data[MAX_META_DATA]

Definition at line 67 of file vf_colorconstancy.c.

Referenced by get_deriv(), and slice_get_derivative().

◆ data

double* ThreadData::data[MAX_DATA][NUM_PLANES]

◆ srcrow

const uint8_t* ThreadData::srcrow[4]

Definition at line 89 of file vf_colorlevels.c.

Referenced by filter_frame().

◆ dstrow

uint8_t* ThreadData::dstrow[4]

Definition at line 90 of file vf_colorlevels.c.

Referenced by filter_frame().

◆ dst_linesize

int ThreadData::dst_linesize

Definition at line 91 of file vf_colorlevels.c.

Referenced by filter_frame(), resample_cubic(), and resample_linear().

◆ coeff

float ThreadData::coeff[4]

Definition at line 94 of file vf_colorlevels.c.

Referenced by filter_frame().

◆ fimin

float ThreadData::fimin[4]

Definition at line 98 of file vf_colorlevels.c.

Referenced by filter_frame().

◆ fomin

float ThreadData::fomin[4]

Definition at line 99 of file vf_colorlevels.c.

Referenced by filter_frame().

◆ imin

int ThreadData::imin[4]

Definition at line 100 of file vf_colorlevels.c.

Referenced by filter_frame().

◆ omin

int ThreadData::omin[4]

Definition at line 101 of file vf_colorlevels.c.

Referenced by filter_frame().

◆ src [2/6]

const AVFrame* ThreadData::src

Definition at line 70 of file vf_colormatrix.c.

◆ c2

int ThreadData::c2

◆ c3

int ThreadData::c3

◆ c4

int ThreadData::c4

◆ c5

int ThreadData::c5

◆ c6

int ThreadData::c6

◆ c7

int ThreadData::c7

◆ in_linesize

ptrdiff_t ThreadData::in_linesize[3]

Definition at line 294 of file vf_colorspace.c.

Referenced by convert(), and filter_frame().

◆ out_linesize

ptrdiff_t ThreadData::out_linesize[3]

Definition at line 294 of file vf_colorspace.c.

Referenced by convert(), and filter_frame().

◆ in_ss_h

int ThreadData::in_ss_h

Definition at line 295 of file vf_colorspace.c.

Referenced by convert(), and filter_frame().

◆ out_ss_h

int ThreadData::out_ss_h

Definition at line 295 of file vf_colorspace.c.

Referenced by convert(), and filter_frame().

◆ hdata_in

AVComplexFloat* ThreadData::hdata_in

◆ vdata_in

AVComplexFloat * ThreadData::vdata_in

◆ hdata_out

AVComplexFloat* ThreadData::hdata_out

◆ vdata_out

AVComplexFloat * ThreadData::vdata_out

◆ n

int ThreadData::n

◆ master

AVFrame* ThreadData::master

Definition at line 64 of file vf_corr.c.

Referenced by do_corr().

◆ ref [2/2]

AVFrame * ThreadData::ref

Definition at line 64 of file vf_corr.c.

◆ xoff

int ThreadData::xoff

Definition at line 176 of file vf_datascope.c.

Referenced by filter_color(), filter_color2(), filter_frame(), and filter_mono().

◆ yoff

int ThreadData::yoff

Definition at line 176 of file vf_datascope.c.

Referenced by filter_color(), filter_color2(), filter_frame(), and filter_mono().

◆ PP

int ThreadData::PP

Definition at line 176 of file vf_datascope.c.

Referenced by filter_color(), filter_color2(), filter_frame(), and filter_mono().

◆ src [3/6]

float* ThreadData::src

Definition at line 667 of file vf_dctdnoiz.c.

◆ dst [2/3]

float* ThreadData::dst

Definition at line 667 of file vf_dctdnoiz.c.

◆ xin

AVFrame * ThreadData::xin

Definition at line 77 of file vf_displace.c.

Referenced by displace_packed(), displace_planar(), and process_frame().

◆ yin

AVFrame * ThreadData::yin

Definition at line 77 of file vf_displace.c.

Referenced by displace_packed(), displace_planar(), and process_frame().

◆ copy_src1

AVFrame* ThreadData::copy_src1

Definition at line 88 of file vf_framerate.c.

Referenced by blend_frames(), and filter_slice().

◆ copy_src2

AVFrame * ThreadData::copy_src2

Definition at line 88 of file vf_framerate.c.

Referenced by blend_frames(), and filter_slice().

◆ src1_factor

uint16_t ThreadData::src1_factor

Definition at line 89 of file vf_framerate.c.

Referenced by blend_frames(), and filter_slice().

◆ src2_factor

uint16_t ThreadData::src2_factor

Definition at line 89 of file vf_framerate.c.

Referenced by blend_frames(), and filter_slice().

◆ l_avg

float ThreadData::l_avg

Definition at line 37 of file vf_grayworld.c.

◆ a_avg

float ThreadData::a_avg

Definition at line 38 of file vf_grayworld.c.

Referenced by compute_correction(), and correct_frame().

◆ b_avg

float ThreadData::b_avg

Definition at line 39 of file vf_grayworld.c.

Referenced by compute_correction(), and correct_frame().

◆ srcStride

int ThreadData::srcStride

Definition at line 103 of file vf_guided.c.

Referenced by box_slice().

◆ dstStride

int ThreadData::dstStride

Definition at line 104 of file vf_guided.c.

Referenced by box_slice().

◆ direct

int ThreadData::direct

Definition at line 291 of file vf_hqdn3d.c.

Referenced by do_denoise(), and filter_frame().

◆ rgbtoyuv

const uint32_t * ThreadData::rgbtoyuv

Definition at line 47 of file vf_hqx.c.

Referenced by filter_frame(), hqx_filter(), and xbr_filter().

◆ main_data

const uint8_t * ThreadData::main_data

◆ ref_data

const uint8_t * ThreadData::ref_data

◆ main_linesize

int ThreadData::main_linesize

◆ planewidth

int ThreadData::planewidth

◆ planeheight

int ThreadData::planeheight

◆ score [1/2]

uint64_t ** ThreadData::score

◆ nb_components

int ThreadData::nb_components

◆ filtered

AVFrame* ThreadData::filtered

Definition at line 30 of file vf_limitdiff.c.

Referenced by limitdiff_slice(), and process_frame().

◆ source

AVFrame * ThreadData::source

Definition at line 30 of file vf_limitdiff.c.

Referenced by limitdiff_slice(), and process_frame().

◆ reference

AVFrame * ThreadData::reference

Definition at line 30 of file vf_limitdiff.c.

Referenced by limitdiff_slice(), and process_frame().

◆ srcx

AVFrame * ThreadData::srcx

Definition at line 79 of file vf_lut2.c.

Referenced by process_frame().

◆ srcy

AVFrame * ThreadData::srcy

Definition at line 79 of file vf_lut2.c.

Referenced by process_frame().

◆ b

AVFrame* ThreadData::b

Definition at line 34 of file vf_maskedclamp.c.

Referenced by maskedclamp_slice(), and process_frame().

◆ o

AVFrame * ThreadData::o

Definition at line 34 of file vf_maskedclamp.c.

Referenced by maskedclamp_slice(), and process_frame().

◆ m

AVFrame * ThreadData::m

Definition at line 34 of file vf_maskedclamp.c.

Referenced by filter_frame(), maskedclamp_slice(), premultiply_slice(), and process_frame().

◆ d [2/2]

AVFrame * ThreadData::d

Definition at line 34 of file vf_maskedclamp.c.

◆ base

AVFrame* ThreadData::base

Definition at line 63 of file vf_maskedmerge.c.

Referenced by filter_slice(), and process_frame().

◆ overlay

AVFrame * ThreadData::overlay

Definition at line 63 of file vf_maskedmerge.c.

Referenced by filter_slice(), and process_frame().

◆ mask

AVFrame * ThreadData::mask

Definition at line 63 of file vf_maskedmerge.c.

Referenced by filter_slice(), and process_frame().

◆ src [4/6]

AVFrame * ThreadData::src

Definition at line 33 of file vf_maskedminmax.c.

◆ f1

AVFrame * ThreadData::f1

Definition at line 33 of file vf_maskedminmax.c.

Referenced by maskedminmax_slice(), and process_frame().

◆ f2

AVFrame * ThreadData::f2

Definition at line 33 of file vf_maskedminmax.c.

Referenced by maskedminmax_slice(), and process_frame().

◆ dst [3/3]

uint8_t* ThreadData::dst

Definition at line 268 of file vf_perspective.c.

◆ src [5/6]

uint8_t* ThreadData::src

Definition at line 270 of file vf_perspective.c.

◆ hsub

int ThreadData::hsub

Definition at line 273 of file vf_perspective.c.

Referenced by resample_cubic(), and resample_linear().

◆ vsub

int ThreadData::vsub

Definition at line 273 of file vf_perspective.c.

Referenced by resample_cubic(), and resample_linear().

◆ a

AVFrame * ThreadData::a

Definition at line 33 of file vf_premultiply.c.

Referenced by filter_frame(), and premultiply_slice().

◆ dsp [1/2]

PSNRDSPContext* ThreadData::dsp

Definition at line 94 of file vf_psnr.c.

Referenced by compute_images_mse(), do_psnr(), do_ssim(), and ssim_plane().

◆ nb_planes

int ThreadData::nb_planes

Definition at line 80 of file vf_remap.c.

Referenced by process_frame().

◆ step

int ThreadData::step

Definition at line 82 of file vf_remap.c.

Referenced by process_frame().

◆ inw

int ThreadData::inw

Definition at line 87 of file vf_rotate.c.

Referenced by filter_slice().

◆ inh

int ThreadData::inh

Definition at line 87 of file vf_rotate.c.

Referenced by filter_slice().

◆ outw

int ThreadData::outw

Definition at line 88 of file vf_rotate.c.

Referenced by filter_slice().

◆ outh

int ThreadData::outh

Definition at line 88 of file vf_rotate.c.

Referenced by filter_slice().

◆ xi

int ThreadData::xi

Definition at line 90 of file vf_rotate.c.

Referenced by filter_slice().

◆ yi

int ThreadData::yi

Definition at line 90 of file vf_rotate.c.

Referenced by filter_slice().

◆ xprime

int ThreadData::xprime

Definition at line 91 of file vf_rotate.c.

Referenced by filter_slice().

◆ yprime

int ThreadData::yprime

Definition at line 91 of file vf_rotate.c.

Referenced by filter_slice().

◆ c

int ThreadData::c

Definition at line 92 of file vf_rotate.c.

Referenced by filter_slice().

◆ s [2/2]

int ThreadData::s

Definition at line 92 of file vf_rotate.c.

◆ in [3/3]

const AVFrame* ThreadData::in

Definition at line 62 of file vf_signalstats.c.

◆ score [2/2]

double** ThreadData::score

Definition at line 228 of file vf_ssim.c.

◆ temp [1/2]

int** ThreadData::temp

Definition at line 229 of file vf_ssim.c.

Referenced by compute_vif2(), do_ssim(), ssim_plane(), ssim_plane_16bit(), and vif_filter1d().

◆ max [1/2]

int ThreadData::max

Definition at line 231 of file vf_ssim.c.

Referenced by do_ssim(), filter_slice(), process_frame(), and ssim_plane_16bit().

◆ dsp [2/2]

SSIMDSPContext* ThreadData::dsp

Definition at line 232 of file vf_ssim.c.

◆ ileft

AVFrame* ThreadData::ileft

Definition at line 606 of file vf_stereo3d.c.

Referenced by filter_frame(), and filter_slice().

◆ iright

AVFrame * ThreadData::iright

Definition at line 606 of file vf_stereo3d.c.

Referenced by filter_frame(), and filter_slice().

◆ threshold

AVFrame* ThreadData::threshold

Definition at line 71 of file vf_threshold.c.

Referenced by filter_slice(), and process_frame().

◆ min

AVFrame* ThreadData::min

Definition at line 72 of file vf_threshold.c.

Referenced by filter_slice(), and process_frame().

◆ max [2/2]

AVFrame* ThreadData::max

Definition at line 73 of file vf_threshold.c.

◆ desc

const AVPixFmtDescriptor * ThreadData::desc

Definition at line 175 of file vf_tonemap.c.

Referenced by filter_frame(), filter_slice(), and tonemap_slice().

◆ peak

double ThreadData::peak

Definition at line 176 of file vf_tonemap.c.

Referenced by filter_frame(), and tonemap_slice().

◆ radius

AVFrame * ThreadData::radius

Definition at line 130 of file vf_varblur.c.

Referenced by blur_frame(), and blur_planes().

◆ filter

const float* ThreadData::filter

Definition at line 88 of file vf_vif.c.

Referenced by compute_vif2(), and vif_filter1d().

◆ src [6/6]

const float* ThreadData::src

Definition at line 89 of file vf_vif.c.

◆ src_stride

int ThreadData::src_stride

Definition at line 92 of file vf_vif.c.

Referenced by apply_unsharp(), compute_vif2(), and vif_filter1d().

◆ dst_stride

int ThreadData::dst_stride

Definition at line 93 of file vf_vif.c.

Referenced by apply_unsharp(), compute_vif2(), and vif_filter1d().

◆ filter_width

int ThreadData::filter_width

Definition at line 94 of file vf_vif.c.

Referenced by compute_vif2(), and vif_filter1d().

◆ temp [2/2]

float** ThreadData::temp

Definition at line 95 of file vf_vif.c.

◆ cur

AVFrame * ThreadData::cur

Definition at line 358 of file vf_w3fdif.c.

Referenced by deinterlace_plane_slice(), and filter().

◆ adj

AVFrame * ThreadData::adj

Definition at line 358 of file vf_w3fdif.c.

Referenced by deinterlace_plane_slice(), and filter().

◆ component

int ThreadData::component

Definition at line 34 of file vf_waveform.c.

Referenced by filter_frame().

◆ offset_y

int ThreadData::offset_y

Definition at line 35 of file vf_waveform.c.

Referenced by filter_frame().

◆ offset_x

int ThreadData::offset_x

Definition at line 36 of file vf_waveform.c.

Referenced by filter_frame().

◆ xf

const AVFrame* ThreadData::xf[2]

Definition at line 136 of file vf_xfade.c.

Referenced by xfade_frame(), and xfade_slice().

◆ progress

float ThreadData::progress

Definition at line 138 of file vf_xfade.c.

Referenced by xfade_frame(), and xfade_slice().

◆ odesc

const AVPixFmtDescriptor * ThreadData::odesc

Definition at line 132 of file vf_zscale.c.

Referenced by filter_frame(), and filter_slice().


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