/third_party/weston/libweston/ |
D | pixel-formats.c | 283 .hsub = 2, 290 .hsub = 2, 297 .hsub = 2, 305 .hsub = 2, 311 .hsub = 2, 319 .hsub = 2, 326 .hsub = 2, 334 .hsub = 2, 352 .hsub = 4, 360 .hsub = 4, [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | drawutils.c | 87 int hsub; in ff_fill_line_with_color() local 91 hsub = pix_desc->log2_chroma_w; in ff_fill_line_with_color() 117 int hsub1 = (plane == 1 || plane == 2) ? hsub : 0; in ff_fill_line_with_color() 136 int hsub, int vsub, int x, int y, int w, int h) in ff_draw_rectangle() argument 142 int hsub1 = plane == 1 || plane == 2 ? hsub : 0; in ff_draw_rectangle() 158 int hsub, int vsub, int x, int y, int y2, int w, int h) in ff_copy_rectangle() argument 164 int hsub1 = plane == 1 || plane == 2 ? hsub : 0; in ff_copy_rectangle() 223 draw->hsub[1] = draw->hsub[2] = draw->hsub_max = desc->log2_chroma_w; in ff_draw_init() 293 (x >> draw->hsub[plane]) * draw->pixelstep[plane]; in pointer_at() 308 wp = AV_CEIL_RSHIFT(w, draw->hsub[plane]) * draw->pixelstep[plane]; in ff_copy_rectangle2() [all …]
|
D | vf_drawbox.c | 78 int vsub, hsub; ///< chroma subsampling member 134 s->hsub = desc->log2_chroma_w; in config_input() 142 var_values[VAR_HSUB] = s->hsub; in config_input() 240 row[1][x >> s->hsub] = s->yuv_color[U]; in filter_frame() 241 row[2][x >> s->hsub] = s->yuv_color[V]; in filter_frame() 265 … row[1][x >> s->hsub] = (1 - alpha) * row[1][x >> s->hsub] + alpha * s->yuv_color[U]; in filter_frame() 266 … row[2][x >> s->hsub] = (1 - alpha) * row[2][x >> s->hsub] + alpha * s->yuv_color[V]; in filter_frame() 412 row[1][x >> drawgrid->hsub] = drawgrid->yuv_color[U]; in drawgrid_filter_frame() 413 row[2][x >> drawgrid->hsub] = drawgrid->yuv_color[V]; in drawgrid_filter_frame() 437 …row[1][x >> drawgrid->hsub] = (1 - alpha) * row[1][x >> drawgrid->hsub] + alpha * drawgrid->yuv_co… in drawgrid_filter_frame() [all …]
|
D | vf_perspective.c | 48 int hsub, vsub; member 236 s->hsub = desc->log2_chroma_w; in config_input() 279 int hsub, vsub; member 293 int hsub = td->hsub; in resample_cubic() local 305 sx = x << hsub; in resample_cubic() 306 u = s->pv[sx + sy * linesize][0] >> hsub; in resample_cubic() 372 int hsub = td->hsub; in resample_linear() local 384 sx = x << hsub; in resample_linear() 385 u = s->pv[sx + sy * linesize][0] >> hsub; in resample_linear() 472 int hsub = plane == 1 || plane == 2 ? s->hsub : 0; in filter_frame() local [all …]
|
D | vf_pad.c | 248 int hsub = s->draw.hsub[plane]; in get_video_buffer() local 250 frame->data[plane] += (s->x >> hsub) * s->draw.pixelstep[plane] + in get_video_buffer() 272 int hsub = s->draw.hsub[planes[i]]; in buffer_needs_copy() local 281 ptrdiff_t req_start = (s->x >> hsub) * s->draw.pixelstep[planes[i]] + in buffer_needs_copy() 283 ptrdiff_t req_end = ((s->w - s->x - frame->width) >> hsub) * in buffer_needs_copy() 287 if (frame->linesize[planes[i]] < (s->w >> hsub) * s->draw.pixelstep[planes[i]]) in buffer_needs_copy() 372 int hsub = s->draw.hsub[i]; in filter_frame() local 374 out->data[i] -= (s->x >> hsub) * s->draw.pixelstep[i] + in filter_frame()
|
D | vf_mpdecimate.c | 49 int hsub, vsub; ///< chroma subsampling values member 129 int hsub = plane == 1 || plane == 2 ? decimate->hsub : 0; in decimate_frame() local 133 AV_CEIL_RSHIFT(ref->width, hsub), in decimate_frame() 192 decimate->hsub = pix_desc->log2_chroma_w; in config_input()
|
D | vf_overlay.c | 105 s->x = normalize_xy(s->var_values[VAR_X], s->hsub); in eval_expr() 448 int i, int hsub, int vsub, in blend_plane() argument 460 int src_wp = AV_CEIL_RSHIFT(src_w, hsub); in blend_plane() 462 int dst_wp = AV_CEIL_RSHIFT(dst_w, hsub); in blend_plane() 465 int xp = x>>hsub; in blend_plane() 487 a = ap + (k<<hsub); in blend_plane() 488 da = dap + ((xp+k) << hsub); in blend_plane() 496 da += (1 << hsub) * c; in blend_plane() 497 a += (1 << hsub) * c; in blend_plane() 504 if (hsub && vsub && j+1 < src_hp && k+1 < src_wp) { in blend_plane() [all …]
|
D | drawutils.h | 40 int hsub, int vsub, int x, int y, int w, int h); 44 int hsub, int vsub, int x, int y, int y2, int w, int h); 54 uint8_t hsub[MAX_PLANES]; /*< horizontal subsampling */ member
|
D | vf_uspp.c | 43 int hsub, vsub; member 193 int w = AV_CEIL_RSHIFT(width, is_chroma ? p->hsub : 0); in filter() 196 int block = BLOCK >> (is_chroma ? p->hsub : 0); in filter() 237 const int x1c = x1 >> p->hsub; in filter() 239 const int BLOCKc = BLOCK >> p->hsub; in filter() 273 for (x = 0; x < AV_CEIL_RSHIFT(width, p->hsub); x++) { in filter() 285 AV_CEIL_RSHIFT(width, is_chroma ? p->hsub : 0), in filter() 325 uspp->hsub = desc->log2_chroma_w; in config_input() 334 w = AV_CEIL_RSHIFT(w, uspp->hsub); in config_input()
|
D | vf_lenscorrection.c | 41 int hsub, vsub; member 132 rect->hsub = pixdesc->log2_chroma_w; in config_props() 156 int hsub = plane == 1 || plane == 2 ? rect->hsub : 0; in filter_frame() local 158 int w = AV_CEIL_RSHIFT(rect->width, hsub); in filter_frame()
|
D | vf_crop.c | 88 int hsub, vsub; ///< chroma subsampling member 157 s->hsub = 1; in config_input() 160 s->hsub = pix_desc->log2_chroma_w; in config_input() 190 s->w &= ~((1 << s->hsub) - 1); in config_input() 227 s->x &= ~((1 << s->hsub) - 1); in config_input() 283 s->x &= ~((1 << s->hsub) - 1); in filter_frame() 307 frame->data[i] += (s->x * s->max_step[i]) >> s->hsub; in filter_frame()
|
D | vf_midequalizer.c | 250 int vsub, hsub; in config_input0() local 254 hsub = desc->log2_chroma_w; in config_input0() 260 s->width[0][1] = s->width[0][2] = AV_CEIL_RSHIFT(inlink->w, hsub); in config_input0() 284 int vsub, hsub; in config_input1() local 288 hsub = desc->log2_chroma_w; in config_input1() 294 s->width[1][1] = s->width[1][2] = AV_CEIL_RSHIFT(inlink->w, hsub); in config_input1()
|
D | vf_delogo.c | 362 int hsub = plane == 1 || plane == 2 ? hsub0 : 0; in filter_frame() local 367 AV_CEIL_RSHIFT(inlink->w, hsub), in filter_frame() 369 sar, s->x>>hsub, s->y>>vsub, in filter_frame() 372 AV_CEIL_RSHIFT(s->w + (s->x & ((1<<hsub)-1)), hsub), in filter_frame() 374 s->band>>FFMIN(hsub, vsub), in filter_frame()
|
D | vf_smartblur.c | 57 int hsub; member 165 s->hsub = desc->log2_chroma_w; in config_props() 170 AV_CEIL_RSHIFT(inlink->w, s->hsub), in config_props() 246 int cw = AV_CEIL_RSHIFT(inlink->w, s->hsub); in filter_frame()
|
D | vf_transpose.c | 45 int hsub, vsub; member 202 s->hsub = desc_in->log2_chroma_w; in config_props_output() 277 int hsub = plane == 1 || plane == 2 ? s->hsub : 0; in filter_slice() local 281 int outw = AV_CEIL_RSHIFT(out->width, hsub); in filter_slice()
|
D | vf_pp7.h | 34 int hsub; member
|
D | vf_sab.c | 53 int hsub; member 207 s->hsub = desc->log2_chroma_w; in config_props() 217 AV_CEIL_RSHIFT(inlink->w, s->hsub), in config_props() 298 int cw = AV_CEIL_RSHIFT(inlink->w, s->hsub); in filter_frame()
|
D | vf_rotate.c | 73 int hsub, vsub; member 302 rot->hsub = pixdesc->log2_chroma_w; in config_props() 312 rot->var_values[VAR_HSUB] = 1<<rot->hsub; in config_props() 543 int hsub = plane == 1 || plane == 2 ? rot->hsub : 0; in filter_frame() local 545 const int outw = AV_CEIL_RSHIFT(outlink->w, hsub); in filter_frame() 548 .inw = AV_CEIL_RSHIFT(inlink->w, hsub), in filter_frame()
|
D | vf_limiter.c | 141 int depth, vsub, hsub, ret; in config_props() local 149 hsub = desc->log2_chroma_w; in config_props() 153 s->width[1] = s->width[2] = AV_CEIL_RSHIFT(inlink->w, hsub); in config_props()
|
D | vf_hqdn3d.h | 37 int hsub, vsub; member
|
D | unsharp.h | 50 int hsub, vsub; member
|
D | vf_gradfun.c | 168 int hsub = desc->log2_chroma_w; in config_input() local 176 s->chroma_w = AV_CEIL_RSHIFT(inlink->w, hsub); in config_input() 178 s->chroma_r = av_clip(((((s->radius >> hsub) + (s->radius >> vsub)) / 2 ) + 1) & ~1, 4, 32); in config_input()
|
D | vf_maskfun.c | 190 int vsub, hsub, ret; in config_input() local 197 hsub = desc->log2_chroma_w; in config_input() 201 s->width[1] = s->width[2] = AV_CEIL_RSHIFT(inlink->w, hsub); in config_input()
|
D | vf_spp.h | 44 int hsub, vsub; member
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | CalcSpillWeights.cpp | 54 unsigned sub, hsub; in copyHint() local 59 hsub = mi->getOperand(1).getSubReg(); in copyHint() 63 hsub = mi->getOperand(0).getSubReg(); in copyHint() 70 return sub == hsub ? hreg : Register(); in copyHint() 73 Register CopiedPReg = (hsub ? tri.getSubReg(hreg, hsub) : hreg); in copyHint()
|