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

Function ipvideo_format_06_firstpass

libavcodec/interplayvideo.c:918–932  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

916};
917
918static void ipvideo_format_06_firstpass(IpvideoContext *s, AVFrame *frame, int16_t opcode)
919{
920 int line;
921
922 if (!opcode) {
923 for (line = 0; line < 8; ++line) {
924 bytestream2_get_buffer(&s->stream_ptr, s->pixel_ptr, 8);
925 s->pixel_ptr += s->stride;
926 }
927 } else {
928 /* Don't try to copy second_last_frame data on the first frames */
929 if (s->avctx->frame_num > 2)
930 copy_from(s, s->second_last_frame, frame, 0, 0);
931 }
932}
933
934static void ipvideo_format_06_secondpass(IpvideoContext *s, AVFrame *frame, int16_t opcode)
935{

Callers

nothing calls this directly

Calls 2

bytestream2_get_bufferFunction · 0.85
copy_fromFunction · 0.85

Tested by

no test coverage detected