FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
VideoDSPContext Struct Reference

#include <videodsp.h>

Data Fields

void(* emulated_edge_mc )(uint8_t *dst, const uint8_t *src, ptrdiff_t dst_linesize, ptrdiff_t src_linesize, int block_w, int block_h, int src_x, int src_y, int w, int h)
 Copy a rectangular area of samples to a temporary buffer and replicate the border samples.
 
void(* prefetch )(uint8_t *buf, ptrdiff_t stride, int h)
 Prefetch memory into cache (if supported by hardware).
 

Detailed Description

Definition at line 41 of file videodsp.h.

Field Documentation

void(* VideoDSPContext::emulated_edge_mc)(uint8_t *dst, const uint8_t *src, ptrdiff_t dst_linesize, ptrdiff_t src_linesize, int block_w, int block_h, int src_x, int src_y, int w, int h)

Copy a rectangular area of samples to a temporary buffer and replicate the border samples.

Parameters
dstdestination buffer
dst_stridenumber of bytes between 2 vertically adjacent samples in destination buffer
srcsource buffer
dst_linesizenumber of bytes between 2 vertically adjacent samples in the destination buffer
src_linesizenumber of bytes between 2 vertically adjacent samples in both the source buffer
block_wwidth of block
block_hheight of block
src_xx coordinate of the top left sample of the block in the source buffer
src_yy coordinate of the top left sample of the block in the source buffer
wwidth of the source buffer
hheight of the source buffer

Definition at line 63 of file videodsp.h.

Referenced by apply_8x8(), chroma_4mv_motion(), chroma_4mv_motion_lowres(), chroma_mc(), encode_mb_internal(), ff_mspel_motion(), ff_snow_pred_block(), ff_videodsp_init(), ff_videodsp_init_x86(), gmc1_motion(), hpel_motion(), hpel_motion_lowres(), luma_mc(), mc_chroma_dir(), mc_dir_part(), mc_luma_dir(), mpeg_motion_internal(), mpeg_motion_lowres(), qpel_motion(), render_slice(), rv34_mc(), svq3_mc_dir_part(), vc1_interp_mc(), vc1_mc_1mv(), vc1_mc_4mv_chroma(), vc1_mc_4mv_chroma4(), vc1_mc_4mv_luma(), vp8_mc_chroma(), and vp8_mc_luma().

void(* VideoDSPContext::prefetch)(uint8_t *buf, ptrdiff_t stride, int h)

Prefetch memory into cache (if supported by hardware).

Parameters
bufpointer to buffer to prefetch memory from
stridedistance between two lines of buf (in bytes)
hnumber of lines to prefetch

Definition at line 76 of file videodsp.h.

Referenced by ff_videodsp_init(), ff_videodsp_init_armv5te(), ff_videodsp_init_ppc(), ff_videodsp_init_x86(), prefetch_motion(), and vp8_decode_mb_row_no_filter().


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