Lines Matching defs:scratch_pict
620 static int encode_mode(CinepakEncContext *s, int h, AVPicture *scratch_pict, AVPicture *last_pict, strip_info *info, unsigned char *buf)
643 get_sub_picture(s, x, y, scratch_pict, &sub_scratch);
938 static int rd_strip(CinepakEncContext *s, int y, int h, int keyframe, AVPicture *last_pict, AVPicture *pict, AVPicture *scratch_pict, unsigned char *buf, int64_t *best_score
1061 best_size = encode_mode(s, h, scratch_pict, last_pict, &info, s->strip_buf + STRIP_HEADER_SIZE);
1124 AVPicture last_pict, pict, scratch_pict;
1140 get_sub_picture(s, x, y, (AVPicture*)s->input_frame, &scratch_pict);
1155 scratch_pict.data[0][i1 + i2*scratch_pict.linesize[0]] = rr;
1164 scratch_pict.data[1][0] = rr + 128; // quantize needs unsigned
1170 scratch_pict.data[2][0] = rr + 128; // quantize needs unsigned
1203 get_sub_picture(s, 0, y, (AVPicture*)s->scratch_frame, &scratch_pict);
1205 if((temp_size = rd_strip(s, y, strip_height, isakeyframe, &last_pict, &pict, &scratch_pict, s->frame_buf + size + CVID_HEADER_SIZE, &score_temp