MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / copy_frame_default

Function copy_frame_default

libavcodec/cscd.c:38–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36} CamStudioContext;
37
38static void copy_frame_default(AVFrame *f, const uint8_t *src,
39 int linelen, int height) {
40 int i;
41 uint8_t *dst = f->data[0];
42 dst += (height - 1) * f->linesize[0];
43 for (i = height; i; i--) {
44 memcpy(dst, src, linelen);
45 src += linelen;
46 dst -= f->linesize[0];
47 }
48}
49
50static void add_frame_default(AVFrame *f, const uint8_t *src,
51 int linelen, int height) {

Callers 1

decode_frameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected