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);
53 uint8_t *dst = f->
data[0];
54 dst += (height - 1) * f->
linesize[0];
55 for (i = height; i; i--) {
56 for (j = linelen; j; j--)
58 src += src_stride - linelen;
64 #define copy_frame_16(f, s, l, h) copy_frame_default(f, s, l, l, h)
65 #define copy_frame_32(f, s, l, h) copy_frame_default(f, s, l, l, h)
66 #define add_frame_16(f, s, l, h) add_frame_default(f, s, l, l, h)
67 #define add_frame_32(f, s, l, h) add_frame_default(f, s, l, l, h)
72 uint8_t *dst = f->
data[0];
73 dst += (height - 1) * f->
linesize[0];
74 for (i = height; i; i--) {
75 for (j = linelen / 2; j; j--) {
88 uint8_t *dst = f->
data[0];
89 dst += (height - 1) * f->
linesize[0];
90 for (i = height; i; i--) {
91 for (j = linelen / 4; j; j--) {
104 int linelen,
int height) {
106 uint8_t *dst = f->
data[0];
107 dst += (height - 1) * f->
linesize[0];
108 for (i = height; i; i--) {
109 for (j = linelen / 2; j; j--) {
120 int linelen,
int height) {
122 uint8_t *dst = f->
data[0];
123 dst += (height - 1) * f->
linesize[0];
124 for (i = height; i; i--) {
125 for (j = linelen / 4; j; j--) {
140 const uint8_t *buf = avpkt->
data;
141 int buf_size = avpkt->
size;
161 switch ((buf[0] >> 1) & 7) {
171 if (uncompress(c->
decomp_buf, &dlen, &buf[2], buf_size - 2) != Z_OK)
229 "CamStudio codec error: invalid depth %i bpp\n",