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

Function copy_processed_frame

libavcodec/hnm4video.c:136–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136static void copy_processed_frame(AVCodecContext *avctx, AVFrame *frame)
137{
138 Hnm4VideoContext *hnm = avctx->priv_data;
139 uint8_t *src = hnm->processed;
140 uint8_t *dst = frame->data[0];
141 int y;
142
143 for (y = 0; y < hnm->height; y++) {
144 memcpy(dst, src, hnm->width);
145 src += hnm->width;
146 dst += frame->linesize[0];
147 }
148}
149
150static int decode_interframe_v4(AVCodecContext *avctx, const uint8_t *src, uint32_t size)
151{

Callers 1

hnm_decode_frameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected