Searched refs:pixelstep (Results 1 – 5 of 5) sorted by relevance
/third_party/ffmpeg/libavfilter/ |
D | drawutils.c | 89 int pixelstep[MAX_PLANES] = { 0 }; in ff_draw_init() local 111 if (pixelstep[c->plane] != 0 && in ff_draw_init() 112 pixelstep[c->plane] != c->step) in ff_draw_init() 114 if (pixelstep[c->plane] == 6 && in ff_draw_init() 117 pixelstep[c->plane] = c->step; in ff_draw_init() 118 if (pixelstep[c->plane] >= 8) in ff_draw_init() 128 memcpy(draw->pixelstep, pixelstep, sizeof(draw->pixelstep)); in ff_draw_init() 199 (x >> draw->hsub[plane]) * draw->pixelstep[plane]; in pointer_at() 214 wp = AV_CEIL_RSHIFT(w, draw->hsub[plane]) * draw->pixelstep[plane]; in ff_copy_rectangle2() 241 for (x = 0; 2*x < draw->pixelstep[plane]; x++) in ff_fill_rectangle() [all …]
|
D | vf_rotate.c | 442 in->linesize[plane], 0, rot->draw.pixelstep[plane], outw); in filter_slice() 445 in->data[plane] + j * rot->draw.pixelstep[plane], in filter_slice() 446 in->linesize[plane], 1, rot->draw.pixelstep[plane], outw); in filter_slice() 450 in->linesize[plane], 2, rot->draw.pixelstep[plane], outw); in filter_slice() 453 in->data[plane] + (outh-j-1) * rot->draw.pixelstep[plane], in filter_slice() 454 in->linesize[plane], 3, rot->draw.pixelstep[plane], outw); in filter_slice() 467 pout = out->data[plane] + j * out->linesize[plane] + i * rot->draw.pixelstep[plane]; in filter_slice() 470 … in->data[plane], in->linesize[plane], rot->draw.pixelstep[plane], in filter_slice() 475 … pin = in->data[plane] + y2 * in->linesize[plane] + x2 * rot->draw.pixelstep[plane]; in filter_slice() 477 switch (rot->draw.pixelstep[plane]) { in filter_slice() [all …]
|
D | vf_pad.c | 250 frame->data[plane] += (s->x >> hsub) * s->draw.pixelstep[plane] + in get_video_buffer() 281 ptrdiff_t req_start = (s->x >> hsub) * s->draw.pixelstep[planes[i]] + in buffer_needs_copy() 284 s->draw.pixelstep[planes[i]] + in buffer_needs_copy() 287 if (frame->linesize[planes[i]] < (s->w >> hsub) * s->draw.pixelstep[planes[i]]) in buffer_needs_copy() 374 out->data[i] -= (s->x >> hsub) * s->draw.pixelstep[i] + in filter_frame()
|
D | drawutils.h | 39 int pixelstep[MAX_PLANES]; /*< offset between pixels */ member
|
D | vf_datascope.c | 117 value[i] = in->data[0][y * in->linesize[0] + x * draw->pixelstep[0] + i]; in pick_color8() 135 … value[i] = AV_RL16(in->data[0] + y * in->linesize[0] + x * draw->pixelstep[0] + i * 2); in pick_color16() 842 … out->data[0][y0 * out->linesize[0] + x0 * draw->pixelstep[0] + i] = color->comp[0].u8[i]; in draw_line() 850 …AV_WN16(out->data[0] + y0 * out->linesize[0] + (x0 * draw->pixelstep[0] + i), color->comp[0].u16[i… in draw_line() 1016 …out->data[0][out->linesize[0] * y0 + x0 * s->draw.pixelstep[0] + i] = 255 * ((s->nb_values + state… in draw_scope() 1025 …AV_WN16(out->data[0] + out->linesize[0] * y0 + x0 * s->draw.pixelstep[0] + i, (s->max - 1) * ((s->… in draw_scope()
|