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

Detailed Description

Definition at line 41 of file videodsp.h.

Field 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
dst destination buffer
dst_stride number of bytes between 2 vertically adjacent samples in destination buffer
src source buffer
dst_linesize number of bytes between 2 vertically adjacent samples in the destination buffer
src_linesize number of bytes between 2 vertically adjacent samples in both the source buffer
block_w width of block
block_h height of block
src_x x coordinate of the top left sample of the block in the source buffer
src_y y coordinate of the top left sample of the block in the source buffer
w width of the source buffer
h height of the source buffer

Definition at line 63 of file videodsp.h.

Referenced by checkasm_check_videodsp(), and dnxhd_get_blocks().

prefetch

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

Prefetch memory into cache (if supported by hardware).

Parameters
buf pointer to buffer to prefetch memory from
stride distance between two lines of buf (in bytes)
h number of lines to prefetch

Definition at line 76 of file videodsp.h.


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

Generated on Wed Aug 24 2022 21:38:59 for FFmpeg by   doxygen 1.8.17

AltStyle によって変換されたページ (->オリジナル) /