Lines Matching refs:dst
42 int dstW = desc->dst->width;
48 uint8_t ** dst = desc->dst->plane[0].line;
50 int dst_pos = sliceY+i - desc->dst->plane[0].sliceY;
54 c->hyscale_fast(c, (int16_t*)dst[dst_pos], dstW, src[src_pos], srcW, xInc);
56 c->hyScale(c, (int16_t*)dst[dst_pos], dstW, (const uint8_t *)src[src_pos], instance->filter,
61 c->lumConvertRange((int16_t*)dst[dst_pos], dstW);
63 desc->dst->plane[0].sliceH += 1;
67 dst = desc->dst->plane[3].line;
70 dst_pos = sliceY+i - desc->dst->plane[3].sliceY;
72 desc->dst->plane[3].sliceH += 1;
75 c->hyscale_fast(c, (int16_t*)dst[dst_pos], dstW, src[src_pos], srcW, xInc);
77 c->hyScale(c, (int16_t*)dst[dst_pos], dstW, (const uint8_t *)src[src_pos], instance->filter,
93 desc->dst->plane[0].sliceY = sliceY;
94 desc->dst->plane[0].sliceH = sliceH;
95 desc->dst->plane[3].sliceY = sliceY;
96 desc->dst->plane[3].sliceH = sliceH;
105 uint8_t * dst = desc->dst->plane[0].line[i];
108 c->lumToYV12(dst, src[0], src[1], src[2], srcW, pal);
110 c->readLumPlanar(dst, src, srcW, c->input_rgb2yuv_table);
115 dst = desc->dst->plane[3].line[i];
117 c->alpToYV12(dst, src[3], src[1], src[2], srcW, pal);
119 c->readAlpPlanar(dst, src, srcW, NULL);
127 int ff_init_desc_fmt_convert(SwsFilterDescriptor *desc, SwsSlice * src, SwsSlice *dst, uint32_t *pal)
135 desc->alpha = isALPHA(src->fmt) && isALPHA(dst->fmt);
137 desc->dst = dst;
144 int ff_init_desc_hscale(SwsFilterDescriptor *desc, SwsSlice *src, SwsSlice *dst, uint16_t *filter, int * filter_pos, int filter_size, int xInc)
157 desc->alpha = isALPHA(src->fmt) && isALPHA(dst->fmt);
159 desc->dst = dst;
170 int dstW = AV_CEIL_RSHIFT(desc->dst->width, desc->dst->h_chr_sub_sample);
174 uint8_t ** dst1 = desc->dst->plane[1].line;
176 uint8_t ** dst2 = desc->dst->plane[2].line;
179 int dst_pos1 = sliceY - desc->dst->plane[1].sliceY;
182 int dst_pos2 = sliceY - desc->dst->plane[2].sliceY;
196 desc->dst->plane[1].sliceH += 1;
197 desc->dst->plane[2].sliceH += 1;
213 desc->dst->plane[1].sliceY = sliceY;
214 desc->dst->plane[1].sliceH = sliceH;
215 desc->dst->plane[2].sliceY = sliceY;
216 desc->dst->plane[2].sliceH = sliceH;
224 uint8_t * dst1 = desc->dst->plane[1].line[i];
225 uint8_t * dst2 = desc->dst->plane[2].line[i];
235 int ff_init_desc_cfmt_convert(SwsFilterDescriptor *desc, SwsSlice * src, SwsSlice *dst, uint32_t *pal)
244 desc->dst = dst;
250 int ff_init_desc_chscale(SwsFilterDescriptor *desc, SwsSlice *src, SwsSlice *dst, uint16_t *filter, int * filter_pos, int filter_size, int xInc)
263 desc->alpha = isALPHA(src->fmt) && isALPHA(dst->fmt);
265 desc->dst = dst;
274 desc->dst->plane[1].sliceY = sliceY + sliceH - desc->dst->plane[1].available_lines;
275 desc->dst->plane[1].sliceH = desc->dst->plane[1].available_lines;
276 desc->dst->plane[2].sliceY = sliceY + sliceH - desc->dst->plane[2].available_lines;
277 desc->dst->plane[2].sliceH = desc->dst->plane[2].available_lines;
281 int ff_init_desc_no_chr(SwsFilterDescriptor *desc, SwsSlice * src, SwsSlice *dst)
284 desc->dst = dst;