Home
last modified time | relevance | path

Searched refs:x_offset (Results 1 - 25 of 108) sorted by relevance

12345

/third_party/ffmpeg/libavcodec/
H A Dh264_mc_template.c42 int x_offset, int y_offset, in mc_part()
55 x_offset, y_offset, qpix_put, chroma_put, in mc_part()
60 x_offset, y_offset, qpix_put, chroma_put, qpix_avg, in mc_part()
115 int x_offset = (i & 1) << 2; in hl_motion() local
120 x_offset, y_offset, in hl_motion()
126 x_offset, y_offset, in hl_motion()
131 dest_y, dest_cb, dest_cr, x_offset, y_offset + 2, in hl_motion()
137 dest_y, dest_cb, dest_cr, x_offset, y_offset, in hl_motion()
142 dest_y, dest_cb, dest_cr, x_offset + 2, y_offset, in hl_motion()
150 int sub_x_offset = x_offset in hl_motion()
37 mc_part(const H264Context *h, H264SliceContext *sl, int n, int square, int height, int delta, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int x_offset, int y_offset, const qpel_mc_func *qpix_put, h264_chroma_mc_func chroma_put, const qpel_mc_func *qpix_avg, h264_chroma_mc_func chroma_avg, const h264_weight_func *weight_op, const h264_biweight_func *weight_avg, int list0, int list1) mc_part() argument
[all...]
H A Dh264_mb.c326 int x_offset, int y_offset, in mc_part_std()
337 dest_y += (2 * x_offset << pixel_shift) + 2 * y_offset * sl->mb_linesize; in mc_part_std()
339 dest_cb += (2 * x_offset << pixel_shift) + 2 * y_offset * sl->mb_linesize; in mc_part_std()
340 dest_cr += (2 * x_offset << pixel_shift) + 2 * y_offset * sl->mb_linesize; in mc_part_std()
342 dest_cb += (x_offset << pixel_shift) + 2 * y_offset * sl->mb_uvlinesize; in mc_part_std()
343 dest_cr += (x_offset << pixel_shift) + 2 * y_offset * sl->mb_uvlinesize; in mc_part_std()
345 dest_cb += (x_offset << pixel_shift) + y_offset * sl->mb_uvlinesize; in mc_part_std()
346 dest_cr += (x_offset << pixel_shift) + y_offset * sl->mb_uvlinesize; in mc_part_std()
348 x_offset += 8 * sl->mb_x; in mc_part_std()
354 dest_y, dest_cb, dest_cr, x_offset, y_offse in mc_part_std()
321 mc_part_std(const H264Context *h, H264SliceContext *sl, int n, int square, int height, int delta, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int x_offset, int y_offset, const qpel_mc_func *qpix_put, h264_chroma_mc_func chroma_put, const qpel_mc_func *qpix_avg, h264_chroma_mc_func chroma_avg, int list0, int list1, int pixel_shift, int chroma_idc) mc_part_std() argument
369 mc_part_weighted(const H264Context *h, H264SliceContext *sl, int n, int square, int height, int delta, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, int x_offset, int y_offset, const qpel_mc_func *qpix_put, h264_chroma_mc_func chroma_put, h264_weight_func luma_weight_op, h264_weight_func chroma_weight_op, h264_biweight_func luma_weight_avg, h264_biweight_func chroma_weight_avg, int list0, int list1, int pixel_shift, int chroma_idc) mc_part_weighted() argument
[all...]
H A Dh274.c161 int y_offset, int x_offset) in generate()
203 &database->db[h][v][y_offset][x_offset]); in generate()
263 uint16_t x_offset = (seed & 0xFFFF) % 56; in ff_h274_apply_film_grain() local
266 x_offset &= 0xFFF8; in ff_h274_apply_film_grain()
274 y_offset + yy, x_offset + xx); in ff_h274_apply_film_grain()
156 generate(int8_t *out, int out_stride, const uint8_t *in, int in_stride, H274FilmGrainDatabase *database, const AVFilmGrainH274Params *h274, int c, int invert, int deblock, int y_offset, int x_offset) generate() argument
H A Dpngdec.c81 int x_offset, y_offset; member
351 ptr = dst + dst_stride * (s->y + s->y_offset) + s->x_offset * s->bpp; in png_handle_row()
385 ptr = dst + dst_stride * (s->y + s->y_offset) + s->x_offset * s->bpp; in png_handle_row()
991 int cur_w, cur_h, x_offset, y_offset, dispose_op, blend_op; in decode_fctl_chunk() local
1009 x_offset = bytestream2_get_be32(gb); in decode_fctl_chunk()
1018 x_offset != 0 || in decode_fctl_chunk()
1021 x_offset < 0 || y_offset < 0 || in decode_fctl_chunk()
1022 cur_w > s->width - x_offset|| cur_h > s->height - y_offset) in decode_fctl_chunk()
1050 s->x_offset = x_offset; in decode_fctl_chunk()
[all...]
/third_party/skia/third_party/externals/libwebp/src/demux/
H A Danim_decode.c162 static void ZeroFillFrameRect(uint8_t* buf, int buf_stride, int x_offset, in ZeroFillFrameRect() argument
166 buf += y_offset * buf_stride + x_offset * NUM_CHANNELS; in ZeroFillFrameRect()
290 const int src_max_x = src->x_offset + src->width; in FindBlendRangeAtRow()
291 const int dst_max_x = dst->x_offset + dst->width; in FindBlendRangeAtRow()
300 src->x_offset >= dst_max_x || src_max_x <= dst->x_offset) { in FindBlendRangeAtRow()
301 *left1 = src->x_offset; in FindBlendRangeAtRow()
306 if (src->x_offset < dst->x_offset) { in FindBlendRangeAtRow()
307 *left1 = src->x_offset; in FindBlendRangeAtRow()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/
H A DesextcGPUShader5TextureGatherOffset.cpp1070 float x_offset; in prepareVertexBufferInfoForCoordinates() local
1080 x_offset = m_min_coordinate_value; in prepareVertexBufferInfoForCoordinates()
1101 const glw::GLfloat coord_x = ((float)(rand() % x_modulus)) / coordinate_denominator + x_offset; in prepareVertexBufferInfoForCoordinates()
1120 const glw::GLfloat coord_x = ((float)(rand() % x_modulus)) / coordinate_denominator + x_offset; in prepareVertexBufferInfoForCoordinates()
1472 glw::GLint x_offset; in checkResult() local
1475 getOffsets(x_offset, y_offset, index); in checkResult()
1478 if (0 > x_offset) in checkResult()
1480 x_offset = x_offset % texture_size; in checkResult()
1481 x_offset in checkResult()
1628 glw::GLint x_offset; checkResult() local
1841 glw::GLint x_offset; checkResult() local
2371 glw::GLint x_offset; checkResult() local
2512 glw::GLint x_offset; checkResult() local
2695 glw::GLint x_offset; checkResult() local
2887 glw::GLint x_offset; checkResult() local
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-shape-fallback.cc200 buffer->pos[i].x_offset -= buffer->pos[i].x_advance; in zero_mark_advances()
223 pos.x_offset = pos.y_offset = 0; in position_mark()
234 pos.x_offset += base_extents.x_bearing + base_extents.width - mark_extents.width / 2 - mark_extents.x_bearing; in position_mark()
237 pos.x_offset += base_extents.x_bearing - mark_extents.width / 2 - mark_extents.x_bearing; in position_mark()
248 pos.x_offset += base_extents.x_bearing + (base_extents.width - mark_extents.width) / 2 - mark_extents.x_bearing; in position_mark()
255 pos.x_offset += base_extents.x_bearing - mark_extents.x_bearing; in position_mark()
262 pos.x_offset += base_extents.x_bearing + base_extents.width - mark_extents.width - mark_extents.x_bearing; in position_mark()
347 hb_position_t x_offset = 0, y_offset = 0; in position_around_base() local
349 x_offset -= buffer->pos[base].x_advance; in position_around_base()
397 buffer->pos[i].x_offset in position_around_base()
[all...]
H A Dsample.py60 x_offset = pos.x_offset variable
63 print ("gid%d=%d@%d,%d+%d" % (gid, cluster, x_advance, x_offset, y_offset))
H A Dhb-ot-color-sbix-table.hh96 int *x_offset, in get_glyph_blob()
135 if (x_offset) *x_offset = glyph->xOffset; in get_glyph_blob()
224 int *x_offset, in reference_png()
230 x_offset, y_offset, in reference_png()
295 int x_offset = 0, y_offset = 0; in get_png_extents() local
297 hb_blob_t *blob = reference_png (font, glyph, &x_offset, &y_offset, &strike_ppem); in get_png_extents()
301 extents->x_bearing = x_offset; in get_png_extents()
H A Dhb-kern.hh101 pos[j].x_offset += kern2; in kern()
110 pos[j].x_offset = kern; in kern()
H A Dhb-coretext.cc999 hb_position_t x_advance, y_advance, x_offset, y_offset; in _hb_coretext_shape() local
1001 hb_font_get_glyph_origin_for_direction (font, notdef, dir, &x_offset, &y_offset); in _hb_coretext_shape()
1003 x_offset = -x_offset; in _hb_coretext_shape()
1025 info->var1.i32 = x_offset; in _hb_coretext_shape()
1102 hb_position_t x_offset = round ((positions[0].x - advances_so_far) * x_mult); in _hb_coretext_shape() local
1111 info->var1.i32 = x_offset; in _hb_coretext_shape()
1167 pos->x_offset = info->var1.i32; in _hb_coretext_shape()
1176 pos->x_offset = info->var1.i32; in _hb_coretext_shape()
/third_party/backends/backend/genesys/
H A Dtables_model.cpp95 model.x_offset = 3.5; in genesys_init_usb_device_tables()
145 model.x_offset = 0.42; in genesys_init_usb_device_tables()
202 model.x_offset = 7.2; in genesys_init_usb_device_tables()
252 model.x_offset = 7.9; in genesys_init_usb_device_tables()
303 model.x_offset = 8.0; in genesys_init_usb_device_tables()
354 model.x_offset = 8.0; in genesys_init_usb_device_tables()
410 model.x_offset = 6.0; in genesys_init_usb_device_tables()
484 model.x_offset = 5.5; in genesys_init_usb_device_tables()
550 model.x_offset = 24.0; in genesys_init_usb_device_tables()
612 model.x_offset in genesys_init_usb_device_tables()
[all...]
/third_party/skia/third_party/externals/libwebp/src/mux/
H A Dmuxedit.c110 PutLE24(frame_bytes + 0, info->x_offset / 2); in CreateFrameData()
296 tmp.x_offset &= ~1; // Snap offsets to even. in WebPMuxPushFrame()
298 if (tmp.x_offset < 0 || tmp.x_offset >= MAX_POSITION_OFFSET || in WebPMuxPushFrame()
390 int* const x_offset, int* const y_offset, int* const duration) { in GetFrameInfo()
397 *x_offset = 2 * GetLE24(data->bytes + 0); in GetFrameInfo()
404 int* const x_offset, int* const y_offset, in GetImageInfo()
413 err = GetFrameInfo(frame_chunk, x_offset, y_offset, duration); in GetImageInfo()
439 int x_offset = 0, y_offset = 0, duration = 0, w = 0, h = 0; in GetAdjustedCanvasSize() local
440 const WebPMuxError err = GetImageInfo(wpi, &x_offset, in GetAdjustedCanvasSize()
388 GetFrameInfo( const WebPChunk* const frame_chunk, int* const x_offset, int* const y_offset, int* const duration) GetFrameInfo() argument
403 GetImageInfo(const WebPMuxImage* const wpi, int* const x_offset, int* const y_offset, int* const duration, int* const width, int* const height) GetImageInfo() argument
[all...]
H A Danimi.h30 // x_offset, y_offset, width, height - (in/out) rectangle between the two
36 int is_lossless, float quality, int* const x_offset, int* const y_offset,
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_setup_line.c359 float x_offset = 0, y_offset=0; in try_setup_line() local
442 x_offset = -x2diff - 0.5; in try_setup_line()
443 y_offset = x_offset * dydx; in try_setup_line()
450 x_offset = -x1diff + 0.5; in try_setup_line()
451 y_offset = x_offset * dydx; in try_setup_line()
460 x[0] = subpixel_snap(v1[0][0] + x_offset - pixel_offset); in try_setup_line()
463 x[3] = subpixel_snap(v1[0][0] + x_offset - pixel_offset); in try_setup_line()
543 x_offset = y_offset * dxdy; in try_setup_line()
550 x_offset = y_offset * dxdy; in try_setup_line()
559 x[0] = subpixel_snap(v1[0][0] + x_offset in try_setup_line()
[all...]
/third_party/skia/third_party/externals/libpng/contrib/examples/
H A Dsimpleover.c103 sprite_op(const struct sprite *sprite, int x_offset, int y_offset, in sprite_op() argument
116 (x_offset < 0 || (unsigned)/*SAFE*/x_offset < sprite->width)) in sprite_op()
127 if (x_offset < 0) in sprite_op()
128 x = -x_offset; in sprite_op()
142 ((y+y_offset) * sprite->width + (x+x_offset))*4; in sprite_op()
/third_party/backends/backend/
H A Dgt68xx_generic.c298 x0 = request->x0 - model->x_offset; in gt68xx_generic_setup_scan()
300 x0 = request->x0 + model->x_offset; in gt68xx_generic_setup_scan()
312 SANE_Fixed x_offset, y_offset; in gt68xx_generic_setup_scan() local
318 x_offset = model->x_offset_ta; in gt68xx_generic_setup_scan()
335 x_offset = model->x_offset; in gt68xx_generic_setup_scan()
351 x0 = request->x0 - x_offset; in gt68xx_generic_setup_scan()
353 x0 = request->x0 + x_offset; in gt68xx_generic_setup_scan()
492 SANE_UNFIX (model->x_offset)) / MM_PER_INCH / 8; in gt68xx_generic_setup_scan()
/third_party/skia/third_party/externals/libwebp/examples/
H A Dgifdec.c132 if (!WebPPictureView(picture, rect.x_offset, rect.y_offset, in GIFReadFrame()
135 rect.width, rect.height, rect.x_offset, rect.y_offset); in GIFReadFrame()
249 ClearRectangle(pic, rect->x_offset, rect->y_offset, in GIFClearPic()
268 const uint32_t* const src = prev_canvas->argb + rect->x_offset in GIFDisposeFrame()
271 uint32_t* const dst = curr_canvas->argb + rect->x_offset in GIFDisposeFrame()
287 for (i = rect->x_offset; i < rect->x_offset + rect->width; ++i) { in GIFBlendFrames()
H A Dvwebp.c98 prev->x_offset = prev->y_offset = 0; in ClearPreviousFrame()
365 xoff = (GLfloat)(2. * curr->x_offset / kParams.canvas_width); in HandleDisplay()
378 DrawBackgroundScissored(prev->x_offset, prev->y_offset, prev->width, in HandleDisplay()
384 DrawBackgroundScissored(curr->x_offset, curr->y_offset, curr->width, in HandleDisplay()
405 if (curr->x_offset != 0 || curr->y_offset != 0) { in HandleDisplay()
407 curr->x_offset, curr->y_offset); in HandleDisplay()
/third_party/pulseaudio/src/pulsecore/
H A Dtime-smoother.h34 pa_usec_t x_offset,
48 void pa_smoother_set_time_offset(pa_smoother *s, pa_usec_t x_offset);
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/
H A Dcomposite_bitmap_glyph.h32 int32_t x_offset() { return x_offset_; } in x_offset() function in sfntly::CompositeBitmapGlyph::Component
40 Component(int32_t glyph_code, int32_t x_offset, int32_t y_offset);
H A Dcomposite_bitmap_glyph.cc84 int32_t x_offset, in Component()
86 : glyph_code_(glyph_code), x_offset_(x_offset), y_offset_(y_offset) { in Component()
83 Component(int32_t glyph_code, int32_t x_offset, int32_t y_offset) Component() argument
/third_party/ffmpeg/libavformat/
H A Dapngdec.c241 uint32_t sequence_number, width, height, x_offset, y_offset; in decode_fctl_chunk() local
248 x_offset = avio_rb32(s->pb); in decode_fctl_chunk()
271 "x_offset: %"PRIu32", " in decode_fctl_chunk()
281 x_offset, in decode_fctl_chunk()
290 x_offset != 0 || in decode_fctl_chunk()
293 x_offset >= s->streams[0]->codecpar->width || in decode_fctl_chunk()
294 width > s->streams[0]->codecpar->width - x_offset || in decode_fctl_chunk()
/third_party/skia/third_party/externals/freetype/src/sdf/
H A Dftbsdf.c292 #define CHECK_NEIGHBOR( x_offset, y_offset ) \
295 if ( x + x_offset >= 0 && x + x_offset < w && \
300 to_check = dm + y_offset * w + x_offset; \
829 * x_offset ::
849 FT_Int x_offset, in compare_neighbor()
858 to_check = current + ( y_offset * width ) + x_offset; in compare_neighbor()
878 dist_vec.x += x_offset * ONE; in compare_neighbor()
848 compare_neighbor( ED* current, FT_Int x_offset, FT_Int y_offset, FT_Int width ) compare_neighbor() argument
/third_party/skia/third_party/externals/freetype/src/sfnt/
H A Dpngshim.c253 FT_Int x_offset, in FT_LOCAL_DEF()
279 if ( x_offset < 0 || in FT_LOCAL_DEF()
287 ( (FT_UInt)x_offset + metrics->width > map->width || in FT_LOCAL_DEF()
440 rows[i] = map->buffer + ( y_offset + i ) * map->pitch + x_offset * 4; in FT_LOCAL_DEF()

Completed in 22 milliseconds

12345