Home
last modified time | relevance | path

Searched refs:x_shift (Results 1 – 17 of 17) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dimgconvert.c114 int x_shift; in av_picture_crop() local
121 x_shift = desc->log2_chroma_w; in av_picture_crop()
126 … dst->data[1] = src->data[1] + ((top_band >> y_shift) * src->linesize[1]) + (left_band >> x_shift); in av_picture_crop()
127 … dst->data[2] = src->data[2] + ((top_band >> y_shift) * src->linesize[2]) + (left_band >> x_shift); in av_picture_crop()
129 if(top_band % (1<<y_shift) || left_band % (1<<x_shift)) in av_picture_crop()
147 int x_shift; in av_picture_pad() local
187 x_shift = i ? desc->log2_chroma_w : 0; in av_picture_pad()
192 dst->linesize[i] * (padtop >> y_shift) + (padleft >> x_shift)); in av_picture_pad()
197 (dst->linesize[i] - (padright >> x_shift)); in av_picture_pad()
200 memset(optr, color[i], (padleft + padright) >> x_shift); in av_picture_pad()
[all …]
/third_party/skia/third_party/externals/freetype/src/raster/
Dftrend1.c102 FT_Pos x_shift = 0; in ft_raster1_render() local
141 x_shift = -slot->bitmap_left * 64; in ft_raster1_render()
146 x_shift += origin->x; in ft_raster1_render()
151 if ( x_shift || y_shift ) in ft_raster1_render()
152 FT_Outline_Translate( outline, x_shift, y_shift ); in ft_raster1_render()
172 if ( x_shift || y_shift ) in ft_raster1_render()
173 FT_Outline_Translate( outline, -x_shift, -y_shift ); in ft_raster1_render()
/third_party/freetype/src/raster/
Dftrend1.c102 FT_Pos x_shift = 0; in ft_raster1_render() local
141 x_shift = -slot->bitmap_left * 64; in ft_raster1_render()
146 x_shift += origin->x; in ft_raster1_render()
151 if ( x_shift || y_shift ) in ft_raster1_render()
152 FT_Outline_Translate( outline, x_shift, y_shift ); in ft_raster1_render()
172 if ( x_shift || y_shift ) in ft_raster1_render()
173 FT_Outline_Translate( outline, -x_shift, -y_shift ); in ft_raster1_render()
/third_party/flutter/skia/third_party/externals/freetype/src/raster/
Dftrend1.c103 FT_Pos x_shift = 0; in ft_raster1_render() local
142 x_shift = -slot->bitmap_left * 64; in ft_raster1_render()
147 x_shift += origin->x; in ft_raster1_render()
152 if ( x_shift || y_shift ) in ft_raster1_render()
153 FT_Outline_Translate( outline, x_shift, y_shift ); in ft_raster1_render()
173 if ( x_shift || y_shift ) in ft_raster1_render()
174 FT_Outline_Translate( outline, -x_shift, -y_shift ); in ft_raster1_render()
/third_party/flutter/skia/third_party/externals/freetype/src/smooth/
Dftsmooth.c123 FT_Pos x_shift = 0; in ft_smooth_render_generic() local
164 x_shift = 64 * -slot->bitmap_left; in ft_smooth_render_generic()
173 x_shift += origin->x; in ft_smooth_render_generic()
178 if ( x_shift || y_shift ) in ft_smooth_render_generic()
179 FT_Outline_Translate( outline, x_shift, y_shift ); in ft_smooth_render_generic()
292 x_shift -= sub[2].x; in ft_smooth_render_generic()
353 x_shift -= sub[2].y; in ft_smooth_render_generic()
376 if ( x_shift || y_shift ) in ft_smooth_render_generic()
377 FT_Outline_Translate( outline, -x_shift, -y_shift ); in ft_smooth_render_generic()
/third_party/skia/third_party/externals/freetype/src/sdf/
Dftsdfrend.c258 FT_Pos x_shift = 0; in ft_sdf_render() local
333 x_shift = 64 * -slot->bitmap_left; in ft_sdf_render()
339 x_shift += origin->x; in ft_sdf_render()
344 if ( x_shift || y_shift ) in ft_sdf_render()
345 FT_Outline_Translate( outline, x_shift, y_shift ); in ft_sdf_render()
361 if ( x_shift || y_shift ) in ft_sdf_render()
362 FT_Outline_Translate( outline, -x_shift, -y_shift ); in ft_sdf_render()
/third_party/freetype/src/smooth/
Dftsmooth.c437 FT_Pos x_shift = 0; in ft_smooth_render() local
480 x_shift = 64 * -slot->bitmap_left; in ft_smooth_render()
489 x_shift += origin->x; in ft_smooth_render()
494 if ( x_shift || y_shift ) in ft_smooth_render()
495 FT_Outline_Translate( outline, x_shift, y_shift ); in ft_smooth_render()
561 if ( x_shift || y_shift ) in ft_smooth_render()
562 FT_Outline_Translate( outline, -x_shift, -y_shift ); in ft_smooth_render()
/third_party/skia/third_party/externals/freetype/src/smooth/
Dftsmooth.c437 FT_Pos x_shift = 0; in ft_smooth_render() local
480 x_shift = 64 * -slot->bitmap_left; in ft_smooth_render()
489 x_shift += origin->x; in ft_smooth_render()
494 if ( x_shift || y_shift ) in ft_smooth_render()
495 FT_Outline_Translate( outline, x_shift, y_shift ); in ft_smooth_render()
561 if ( x_shift || y_shift ) in ft_smooth_render()
562 FT_Outline_Translate( outline, -x_shift, -y_shift ); in ft_smooth_render()
/third_party/ffmpeg/libavfilter/
Dtransform.h78 float x_shift,
Dtransform.c107 float x_shift, in ff_get_matrix() argument
116 matrix[2] = x_shift; in ff_get_matrix()
Dvf_deshake_opencl.c968 float x_shift, in transform_center_scale() argument
994 x_shift + center_s_w, in transform_center_scale()
/third_party/freetype/src/base/
Dftobjs.c357 FT_Pos x_shift = 0; in ft_glyphslot_preset_bitmap() local
368 x_shift = origin->x; in ft_glyphslot_preset_bitmap()
377 pbox.xMin = ( cbox.xMin >> 6 ) + ( x_shift >> 6 ); in ft_glyphslot_preset_bitmap()
379 pbox.xMax = ( cbox.xMax >> 6 ) + ( x_shift >> 6 ); in ft_glyphslot_preset_bitmap()
383 cbox.xMin = ( cbox.xMin & 63 ) + ( x_shift & 63 ); in ft_glyphslot_preset_bitmap()
385 cbox.xMax = ( cbox.xMax & 63 ) + ( x_shift & 63 ); in ft_glyphslot_preset_bitmap()
/third_party/flutter/skia/third_party/externals/freetype/src/base/
Dftobjs.c358 FT_Pos x_shift = 0; in ft_glyphslot_preset_bitmap() local
369 x_shift = origin->x; in ft_glyphslot_preset_bitmap()
378 pbox.xMin = ( cbox.xMin >> 6 ) + ( x_shift >> 6 ); in ft_glyphslot_preset_bitmap()
380 pbox.xMax = ( cbox.xMax >> 6 ) + ( x_shift >> 6 ); in ft_glyphslot_preset_bitmap()
384 cbox.xMin = ( cbox.xMin & 63 ) + ( x_shift & 63 ); in ft_glyphslot_preset_bitmap()
386 cbox.xMax = ( cbox.xMax & 63 ) + ( x_shift & 63 ); in ft_glyphslot_preset_bitmap()
/third_party/skia/third_party/externals/freetype/src/base/
Dftobjs.c369 FT_Pos x_shift = 0; in ft_glyphslot_preset_bitmap() local
380 x_shift = origin->x; in ft_glyphslot_preset_bitmap()
389 pbox.xMin = ( cbox.xMin >> 6 ) + ( x_shift >> 6 ); in ft_glyphslot_preset_bitmap()
391 pbox.xMax = ( cbox.xMax >> 6 ) + ( x_shift >> 6 ); in ft_glyphslot_preset_bitmap()
395 cbox.xMin = ( cbox.xMin & 63 ) + ( x_shift & 63 ); in ft_glyphslot_preset_bitmap()
397 cbox.xMax = ( cbox.xMax & 63 ) + ( x_shift & 63 ); in ft_glyphslot_preset_bitmap()
/third_party/mesa3d/src/imgui/
Dimstb_truetype.h392 float x_shift = xpos - (float) floor(xpos);
394 stbtt_GetCodepointBitmapBoxSubpixel(&font, text[ch], scale,scale,x_shift,0, &x0,&y0,&x1,&y1);
395 …(&font, &screen[baseline + y0][(int) xpos + x0], x1-x0,y1-y0, 79, scale,scale,x_shift,0, text[ch]);
/third_party/skia/third_party/externals/imgui/
Dimstb_truetype.h392 float x_shift = xpos - (float) floor(xpos);
394 stbtt_GetCodepointBitmapBoxSubpixel(&font, text[ch], scale,scale,x_shift,0, &x0,&y0,&x1,&y1);
395 …(&font, &screen[baseline + y0][(int) xpos + x0], x1-x0,y1-y0, 79, scale,scale,x_shift,0, text[ch]);
/third_party/flutter/skia/third_party/externals/imgui/
Dimstb_truetype.h386 float x_shift = xpos - (float) floor(xpos);
388 stbtt_GetCodepointBitmapBoxSubpixel(&font, text[ch], scale,scale,x_shift,0, &x0,&y0,&x1,&y1);
389 …(&font, &screen[baseline + y0][(int) xpos + x0], x1-x0,y1-y0, 79, scale,scale,x_shift,0, text[ch]);