/third_party/ffmpeg/libavcodec/ |
H A D | h264_mc_template.c | 42 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() 116 int y_offset = (i & 2) << 1; 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() 151 int sub_y_offset = y_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 D | h264_mb.c | 40 int n, int height, int y_offset, int list) in get_lowest_part_list_y() 44 int full_my = (raw_my >> 2) + y_offset; in get_lowest_part_list_y() 54 int height, int y_offset, int list0, in get_lowest_part_y() 59 y_offset += 16 * (sl->mb_y >> MB_FIELD(sl)); in get_lowest_part_y() 70 my = get_lowest_part_list_y(sl, n, height, y_offset, 0); in get_lowest_part_y() 83 my = get_lowest_part_list_y(sl, n, height, y_offset, 1); in get_lowest_part_y() 127 int y_offset = (i & 2) << 2; in await_references() local 130 get_lowest_part_y(h, sl, refs, n, 8, y_offset, in await_references() 135 get_lowest_part_y(h, sl, refs, n, 4, y_offset, in await_references() 139 get_lowest_part_y(h, sl, refs, n + 2, 4, y_offset in await_references() 39 get_lowest_part_list_y(H264SliceContext *sl, int n, int height, int y_offset, int list) get_lowest_part_list_y() argument 52 get_lowest_part_y(const H264Context *h, H264SliceContext *sl, int16_t refs[2][48], int n, int height, int y_offset, int list0, int list1, int *nrefs) get_lowest_part_y() argument 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 D | h274.c | 161 int y_offset, int x_offset) in generate() 203 &database->db[h][v][y_offset][x_offset]); in generate() 262 uint16_t y_offset = (seed >> 16) % 52; in ff_h274_apply_film_grain() local 265 y_offset &= 0xFFFC; 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 D | huffyuvdec.c | 872 int buf_size, int y_offset, int table_size) in decode_slice() 972 p->data[2][0 + y_offset * p->linesize[2]] = get_bits(&s->gb, 8); in decode_slice() 974 p->data[0][1 + y_offset * p->linesize[0]] = get_bits(&s->gb, 8); in decode_slice() 976 p->data[1][0 + y_offset * p->linesize[1]] = get_bits(&s->gb, 8); in decode_slice() 977 p->data[0][0 + y_offset * p->linesize[0]] = get_bits(&s->gb, 8); in decode_slice() 983 lefty = s->llviddsp.add_left_pred(p->data[0] + p->linesize[0] * y_offset + 2, s->temp[0], in decode_slice() 986 leftu = s->llviddsp.add_left_pred(p->data[1] + p->linesize[1] * y_offset + 1, s->temp[1], width2 - 1, leftu); in decode_slice() 987 leftv = s->llviddsp.add_left_pred(p->data[2] + p->linesize[2] * y_offset + 1, s->temp[2], width2 - 1, leftv); in decode_slice() 996 ydst = p->data[0] + p->linesize[0] * (y + y_offset); in decode_slice() 1011 ydst = p->data[0] + p->linesize[0] * (y + y_offset); in decode_slice() 871 decode_slice(AVCodecContext *avctx, AVFrame *p, int height, int buf_size, int y_offset, int table_size) decode_slice() argument 1235 int y_offset, slice_offset, slice_size; decode_frame() local [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-shape-fallback.cc | 201 buffer->pos[i].y_offset -= buffer->pos[i].y_advance; in zero_mark_advances() 223 pos.x_offset = pos.y_offset = 0; in position_mark() 279 pos.y_offset = base_extents.y_bearing + base_extents.height - mark_extents.y_bearing; in position_mark() 281 if ((y_gap > 0) == (pos.y_offset > 0)) in position_mark() 283 base_extents.height -= pos.y_offset; in position_mark() 284 pos.y_offset = 0; in position_mark() 300 pos.y_offset = base_extents.y_bearing - (mark_extents.y_bearing + mark_extents.height); in position_mark() 302 if ((y_gap > 0) != (pos.y_offset > 0)) in position_mark() 304 int correction = -pos.y_offset / 2; in position_mark() 307 pos.y_offset in position_mark() 347 hb_position_t x_offset = 0, y_offset = 0; position_around_base() local [all...] |
H A D | sample.py | 61 y_offset = pos.y_offset variable 63 print ("gid%d=%d@%d,%d+%d" % (gid, cluster, x_advance, x_offset, y_offset))
|
H A D | hb-ot-color-sbix-table.hh | 97 int *y_offset, in get_glyph_blob() 136 if (y_offset) *y_offset = glyph->yOffset; in get_glyph_blob() 225 int *y_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() 302 extents->y_bearing = png.IHDR.height + y_offset; in get_png_extents()
|
H A D | hb-kern.hh | 92 pos[j].y_offset = kern; in kern() 119 pos[j].y_offset += kern2; in kern()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/gpu_shader5/ |
H A D | esextcGPUShader5TextureGatherOffset.cpp | 1073 float y_offset; in prepareVertexBufferInfoForCoordinates() local 1081 y_offset = m_min_coordinate_value; in prepareVertexBufferInfoForCoordinates() 1102 const glw::GLfloat coord_y = ((float)(rand() % y_modulus)) / coordinate_denominator + y_offset; in prepareVertexBufferInfoForCoordinates() 1121 const glw::GLfloat coord_y = ((float)(rand() % y_modulus)) / coordinate_denominator + y_offset; in prepareVertexBufferInfoForCoordinates() 1473 glw::GLint y_offset; in checkResult() local 1475 getOffsets(x_offset, y_offset, index); in checkResult() 1485 if (0 > y_offset) in checkResult() 1487 y_offset = y_offset % texture_size; in checkResult() 1488 y_offset in checkResult() 1629 glw::GLint y_offset; checkResult() local 1842 glw::GLint y_offset; checkResult() local 2372 glw::GLint y_offset; checkResult() local 2513 glw::GLint y_offset; checkResult() local 2696 glw::GLint y_offset; checkResult() local 2888 glw::GLint y_offset; checkResult() local [all...] |
/third_party/backends/backend/genesys/ |
H A D | tables_model.cpp | 96 model.y_offset = 7.5; in genesys_init_usb_device_tables() 146 model.y_offset = 7.9; in genesys_init_usb_device_tables() 203 model.y_offset = 14.7; in genesys_init_usb_device_tables() 253 model.y_offset = 10.0; in genesys_init_usb_device_tables() 304 model.y_offset = 13.00; in genesys_init_usb_device_tables() 355 model.y_offset = 10.00; in genesys_init_usb_device_tables() 411 model.y_offset = 10.00; in genesys_init_usb_device_tables() 485 model.y_offset = 17.00; in genesys_init_usb_device_tables() 551 model.y_offset = 10.0; in genesys_init_usb_device_tables() 613 model.y_offset in genesys_init_usb_device_tables() [all...] |
/third_party/ffmpeg/tests/checkasm/ |
H A D | v210enc.c | 70 int y_offset = rnd() & 15; \ 71 int uv_offset = y_offset / 2; \ 73 call_ref(y0 + y_offset, u0 + uv_offset, v0 + uv_offset, dst0, width); \ 74 call_new(y1 + y_offset, u1 + uv_offset, v1 + uv_offset, dst1, width); \ 78 bench_new(y1 + y_offset, u1 + uv_offset, v1 + uv_offset, dst1, width); \
|
/third_party/backends/backend/ |
H A D | gt68xx_generic.c | 312 SANE_Fixed x_offset, y_offset; in gt68xx_generic_setup_scan() local 320 y_offset = model->y_offset_ta; in gt68xx_generic_setup_scan() 323 y_offset = model->y_offset_ta - model->y_offset_calib_ta in gt68xx_generic_setup_scan() 325 if ((request->y0 + y_offset) < 0) in gt68xx_generic_setup_scan() 327 y_offset = model->y_offset_ta; in gt68xx_generic_setup_scan() 337 y_offset = model->y_offset; in gt68xx_generic_setup_scan() 340 y_offset = model->y_offset - model->y_offset_calib in gt68xx_generic_setup_scan() 342 if ((request->y0 + y_offset) < in gt68xx_generic_setup_scan() [all...] |
/third_party/skia/third_party/externals/libwebp/src/demux/ |
H A D | anim_decode.c | 163 int y_offset, int width, int height) { in ZeroFillFrameRect() 166 buf += y_offset * buf_stride + x_offset * NUM_CHANNELS; in ZeroFillFrameRect() 292 const int dst_max_y = dst->y_offset + dst->height; in FindBlendRangeAtRow() 293 assert(canvas_y >= src->y_offset && canvas_y < (src->y_offset + src->height)); in FindBlendRangeAtRow() 299 if (canvas_y < dst->y_offset || canvas_y >= dst_max_y || in FindBlendRangeAtRow() 358 const uint64_t out_offset = (uint64_t)iter.y_offset * stride + in WebPAnimDecoderGetNext() 384 (iter.y_offset + y) * width + iter.x_offset; in WebPAnimDecoderGetNext() 396 const int canvas_y = iter.y_offset + y; in WebPAnimDecoderGetNext() 422 dec->prev_iter_.x_offset, dec->prev_iter_.y_offset, in WebPAnimDecoderGetNext() 162 ZeroFillFrameRect(uint8_t* buf, int buf_stride, int x_offset, int y_offset, int width, int height) ZeroFillFrameRect() argument [all...] |
/third_party/skia/third_party/externals/libwebp/src/mux/ |
H A D | muxedit.c | 111 PutLE24(frame_bytes + 3, info->y_offset / 2); in CreateFrameData() 297 tmp.y_offset &= ~1; in WebPMuxPushFrame() 299 tmp.y_offset < 0 || tmp.y_offset >= MAX_POSITION_OFFSET || in WebPMuxPushFrame() 390 int* const x_offset, int* const y_offset, int* const duration) { in GetFrameInfo() 398 *y_offset = 2 * GetLE24(data->bytes + 3); 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, &y_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...] |
/third_party/skia/third_party/externals/freetype/src/autofit/ |
H A D | afshaper.c | 562 FT_Long* y_offset ) in af_shaper_get_elem() 580 if ( y_offset ) in af_shaper_get_elem() 581 *y_offset = gpos[idx].y_offset; in af_shaper_get_elem() 664 FT_Long* y_offset ) in af_shaper_get_elem() 680 if ( y_offset ) in af_shaper_get_elem() 681 *y_offset = 0; in af_shaper_get_elem()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_setup_line.c | 359 float x_offset = 0, y_offset=0; in try_setup_line() local 443 y_offset = x_offset * dydx; in try_setup_line() 451 y_offset = x_offset * dydx; in try_setup_line() 465 y[0] = subpixel_snap(v1[0][1] + y_offset - pixel_offset) - fixed_width/2; in try_setup_line() 468 y[3] = subpixel_snap(v1[0][1] + y_offset - pixel_offset) + fixed_width/2; in try_setup_line() 542 y_offset = -y2diff + 0.5; in try_setup_line() 543 x_offset = y_offset * dxdy; in try_setup_line() 549 y_offset = -y1diff - 0.5; in try_setup_line() 550 x_offset = y_offset * dxdy; in try_setup_line() 564 y[0] = subpixel_snap(v1[0][1] + y_offset in try_setup_line() [all...] |
/third_party/skia/third_party/externals/libpng/contrib/examples/ |
H A D | simpleover.c | 103 sprite_op(const struct sprite *sprite, int x_offset, int y_offset, in sprite_op() argument 115 if ((y_offset < 0 || (unsigned)/*SAFE*/y_offset < sprite->height) && in sprite_op() 120 if (y_offset < 0) in sprite_op() 121 y = -y_offset; /* Skip to first visible row */ in sprite_op() 142 ((y+y_offset) * sprite->width + (x+x_offset))*4; in sprite_op()
|
/third_party/ffmpeg/libswscale/arm/ |
H A D | yuv2rgb_neon.S | 53 vsub.s16 q14, q12 @ q14 = (Y - y_offset) 54 vsub.s16 q15, q12 @ q15 = (Y - y_offset) 55 vqdmulh.s16 q14, q13 @ q14 = (Y - y_offset) * y_coeff 56 vqdmulh.s16 q15, q13 @ q15 = (Y - y_offset) * y_coeff 106 ldr r9, [sp, #124] @ r9 = y_offset 130 ldr r9, [sp, #132] @ r9 = y_offset 152 ldr r9, [sp, #132] @ r9 = y_offset 247 vdup.16 q12, r9 @ q12 = y_offset
|
/third_party/skia/third_party/externals/libwebp/examples/ |
H A D | gifdec.c | 132 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() 269 + rect->y_offset * src_stride; in GIFDisposeFrame() 272 + rect->y_offset * dst_stride; in GIFDisposeFrame() 286 for (j = rect->y_offset; j < rect->y_offset + rect->height; ++j) { in GIFBlendFrames()
|
/third_party/python/Lib/turtledemo/ |
H A D | sorting_animate.py | 52 y_offset = width / 2 * 20 53 d.sety(self.y + y_offset) 80 y_offset = width / 2 * 20 81 b.sety(self.y + y_offset)
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/bitmap/ |
H A D | composite_bitmap_glyph.h | 33 int32_t y_offset() { return y_offset_; } in y_offset() function in sfntly::CompositeBitmapGlyph::Component 40 Component(int32_t glyph_code, int32_t x_offset, int32_t y_offset);
|
H A D | composite_bitmap_glyph.cc | 85 int32_t y_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 D | apngdec.c | 241 uint32_t sequence_number, width, height, x_offset, y_offset; in decode_fctl_chunk() local 249 y_offset = avio_rb32(s->pb); in decode_fctl_chunk() 272 "y_offset: %"PRIu32", " in decode_fctl_chunk() 282 y_offset, in decode_fctl_chunk() 291 y_offset != 0) { in decode_fctl_chunk() 295 y_offset >= s->streams[0]->codecpar->height || in decode_fctl_chunk() 296 height > s->streams[0]->codecpar->height - y_offset) in decode_fctl_chunk()
|
/third_party/skia/third_party/externals/freetype/src/sdf/ |
H A D | ftbsdf.c | 292 #define CHECK_NEIGHBOR( x_offset, y_offset ) \ 296 y + y_offset >= 0 && y + y_offset < r ) \ 300 to_check = dm + y_offset * w + x_offset; \ 833 * y_offset :: 850 FT_Int y_offset, in compare_neighbor() 858 to_check = current + ( y_offset * width ) + x_offset; in compare_neighbor() 879 dist_vec.y += y_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 D | pngshim.c | 254 FT_Int y_offset, in FT_LOCAL_DEF() 280 y_offset < 0 ) in FT_LOCAL_DEF() 288 (FT_UInt)y_offset + metrics->height > map->rows || in FT_LOCAL_DEF() 440 rows[i] = map->buffer + ( y_offset + i ) * map->pitch + x_offset * 4; in FT_LOCAL_DEF()
|