FFmpeg
Public Attributes | List of all members
VideoDSPContext Struct Reference

Public Attributes

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. More...
 
void(* prefetch )(uint8_t *buf, ptrdiff_t stride, int h)
 Prefetch memory into cache (if supported by hardware). More...
 

Member Data Documentation

§ emulated_edge_mc

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

§ prefetch

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

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