/third_party/ffmpeg/libavfilter/ |
D | vf_deband.c | 46 int *y_pos; member 158 const int y_pos = s->y_pos[pos + x]; in deband_8_c() local 159 … const int ref0 = src_ptr[av_clip(y + y_pos, 0, h) * src_linesize + av_clip(x + x_pos, 0, w)]; in deband_8_c() 160 … const int ref1 = src_ptr[av_clip(y + -y_pos, 0, h) * src_linesize + av_clip(x + x_pos, 0, w)]; in deband_8_c() 161 … const int ref2 = src_ptr[av_clip(y + -y_pos, 0, h) * src_linesize + av_clip(x + -x_pos, 0, w)]; in deband_8_c() 162 … const int ref3 = src_ptr[av_clip(y + y_pos, 0, h) * src_linesize + av_clip(x + -x_pos, 0, w)]; in deband_8_c() 198 const int y_pos = s->y_pos[pos + x]; in deband_8_coupling_c() local 207 … const int ref0 = src_ptr[av_clip(y + y_pos, 0, h) * src_linesize + av_clip(x + x_pos, 0, w)]; in deband_8_coupling_c() 208 … const int ref1 = src_ptr[av_clip(y + -y_pos, 0, h) * src_linesize + av_clip(x + x_pos, 0, w)]; in deband_8_coupling_c() 209 … const int ref2 = src_ptr[av_clip(y + -y_pos, 0, h) * src_linesize + av_clip(x + -x_pos, 0, w)]; in deband_8_coupling_c() [all …]
|
/third_party/boost/libs/date_time/test/gregorian/ |
D | testgreg_durations.cpp | 129 years m(15), y_pos(pos_infin), y_neg(neg_infin), y_nadt(not_a_date_time); in main() 130 check("years add special_values", m + y_pos == y_pos); in main() 132 check("years add special_values", y_pos + y_neg == y_nadt); in main() 134 check("years subtract special_values", m - y_pos == y_neg); in main() 135 check("years subtract special_values", m - y_neg == y_pos); in main() 136 check("years subtract special_values", y_pos - y_neg == y_pos); in main() 137 check("years special_values & int multipliable", y_pos * -1 == y_neg); in main() 138 check("years special_values & int multipliable", y_pos * 0 == y_nadt); in main()
|
/third_party/ffmpeg/libavcodec/ |
D | dvbsubdec.c | 59 int y_pos; member 83 int y_pos; member 786 rect->y = display->y_pos + offset_y; in save_subtitle_set() 876 int x_pos, y_pos; in dvbsub_parse_pixel_data_block() local 909 y_pos = display->y_pos; in dvbsub_parse_pixel_data_block() 911 y_pos += top_bottom; in dvbsub_parse_pixel_data_block() 914 if ((*buf!=0xf0 && x_pos >= region->width) || y_pos >= region->height) { in dvbsub_parse_pixel_data_block() 915 …ROR, "Invalid object location! %d-%d %d-%d %02x\n", x_pos, region->width, y_pos, region->height, *… in dvbsub_parse_pixel_data_block() 928 x_pos = dvbsub_read_2bit_string(avctx, pbuf + (y_pos * region->width), in dvbsub_parse_pixel_data_block() 943 x_pos = dvbsub_read_4bit_string(avctx, pbuf + (y_pos * region->width), in dvbsub_parse_pixel_data_block() [all …]
|
D | flashsv.c | 184 int width, int height, int x_pos, int y_pos, in flashsv_decode_block() argument 222 y_pos += s->diff_start; in flashsv_decode_block() 229 (s->image_height - y_pos - k) * s->frame->linesize[0], in flashsv_decode_block() 238 s->image_height - (y_pos + 1 + s->diff_height), in flashsv_decode_block() 377 int y_pos = j * s->block_height; // vertical position in frame in flashsv_decode_frame() local 464 int off = (s->image_height - y_pos - 1) * s->frame->linesize[0]; in flashsv_decode_frame() 477 x_pos, y_pos, in flashsv_decode_frame()
|
D | iff.c | 587 int i, y_pos = 0, x_pos = 0; in decode_byterun2() local 607 dst[x_pos + y_pos * line_size ] = bytestream2_get_byte(gb); in decode_byterun2() 608 dst[x_pos + y_pos++ * line_size + 1] = bytestream2_get_byte(gb); in decode_byterun2() 609 if (y_pos >= height) { in decode_byterun2() 610 y_pos = 0; in decode_byterun2() 617 dst[x_pos + y_pos * line_size ] = bytestream2_get_byte(gb); in decode_byterun2() 618 dst[x_pos + y_pos++ * line_size + 1] = bytestream2_get_byte(gb); in decode_byterun2() 619 if (y_pos >= height) { in decode_byterun2() 620 y_pos = 0; in decode_byterun2() 628 dst[x_pos + y_pos * line_size ] = r >> 8; in decode_byterun2() [all …]
|
D | aic.c | 317 int y_pos, c_pos; in aic_decode_slice() local 327 y_pos = (ctx->avctx->height - 16); in aic_decode_slice() 330 y_pos = mb_y * 16; in aic_decode_slice() 334 Y = ctx->frame->data[0] + mb_x * 16 + y_pos * ystride; in aic_decode_slice()
|
D | flashsvenc.c | 155 int y_pos = j * block_height; // vertical position in frame in encode_bitstream() local 168 s->image_height - (y_pos + cur_blk_height + 1), in encode_bitstream()
|
/third_party/gstreamer/gstplugins_bad/gst/dvbsuboverlay/ |
D | dvb-sub.c | 80 int y_pos; member 107 int y_pos; member 419 display->y_pos = GST_READ_UINT16_BE (buf); in _dvb_sub_parse_page_segment() 429 display->x_pos, display->y_pos); in _dvb_sub_parse_page_segment() 539 object_display->y_pos = GST_READ_UINT16_BE (buf) & 0xfff; in _dvb_sub_parse_region_segment() 555 object_display->y_pos, object->type); in _dvb_sub_parse_region_segment() 917 int x_pos, y_pos; in _dvb_sub_parse_pixel_data_block() local 941 y_pos = display->y_pos; in _dvb_sub_parse_pixel_data_block() 943 if ((y_pos & 1) != top_bottom) in _dvb_sub_parse_pixel_data_block() 944 y_pos++; in _dvb_sub_parse_pixel_data_block() [all …]
|
/third_party/ffmpeg/libavfilter/dnn/ |
D | dnn_backend_native_layer_avgpool.c | 129 int y_pos = y + (kernel_y - height_radius); in ff_dnn_execute_layer_avg_pool() local 131 if (x_pos < 0 || x_pos >= width || y_pos < 0 || y_pos >= height) { in ff_dnn_execute_layer_avg_pool() 135 input_pel = input[y_pos * src_linesize + x_pos * channel + n_channel]; in ff_dnn_execute_layer_avg_pool()
|
D | dnn_backend_native_layer_conv2d.c | 148 … int y_pos = CLAMP_TO_EDGE(y + (kernel_y - radius) * conv_params->dilation, height); in dnn_execute_layer_conv2d_thread() local 150 … input_pel = input[y_pos * src_linesize + x_pos * conv_params->input_num + ch]; in dnn_execute_layer_conv2d_thread() 152 int y_pos = y + (kernel_y - radius) * conv_params->dilation; in dnn_execute_layer_conv2d_thread() local 154 … input_pel = (x_pos < 0 || x_pos >= width || y_pos < 0 || y_pos >= height) ? 0.0 : in dnn_execute_layer_conv2d_thread() 155 … input[y_pos * src_linesize + x_pos * conv_params->input_num + ch]; in dnn_execute_layer_conv2d_thread()
|
/third_party/flutter/skia/third_party/externals/freetype/src/sfnt/ |
D | ttsbit.c | 693 FT_Int y_pos, 702 FT_Int y_pos, 711 FT_Int y_pos, in tt_sbit_decoder_load_byte_aligned() argument 736 y_pos < 0 || (FT_UInt)( y_pos + height ) > bit_height ) in tt_sbit_decoder_load_byte_aligned() 752 line += y_pos * pitch + ( x_pos >> 3 ); in tt_sbit_decoder_load_byte_aligned() 853 FT_Int y_pos, in tt_sbit_decoder_load_bit_aligned() argument 879 y_pos < 0 || (FT_UInt)( y_pos + height ) > bit_height ) in tt_sbit_decoder_load_bit_aligned() 903 line += y_pos * pitch + ( x_pos >> 3 ); in tt_sbit_decoder_load_bit_aligned() 986 FT_Int y_pos, in tt_sbit_decoder_load_compound() argument 1025 y_pos + dy, in tt_sbit_decoder_load_compound() [all …]
|
/third_party/skia/third_party/externals/freetype/src/sfnt/ |
D | ttsbit.c | 696 FT_Int y_pos, 705 FT_Int y_pos, 714 FT_Int y_pos, in tt_sbit_decoder_load_byte_aligned() argument 739 y_pos < 0 || (FT_UInt)( y_pos + height ) > bit_height ) in tt_sbit_decoder_load_byte_aligned() 755 line += y_pos * pitch + ( x_pos >> 3 ); in tt_sbit_decoder_load_byte_aligned() 856 FT_Int y_pos, in tt_sbit_decoder_load_bit_aligned() argument 882 y_pos < 0 || (FT_UInt)( y_pos + height ) > bit_height ) in tt_sbit_decoder_load_bit_aligned() 906 line += y_pos * pitch + ( x_pos >> 3 ); in tt_sbit_decoder_load_bit_aligned() 989 FT_Int y_pos, in tt_sbit_decoder_load_compound() argument 1028 y_pos + dy, in tt_sbit_decoder_load_compound() [all …]
|
/third_party/freetype/src/sfnt/ |
D | ttsbit.c | 692 FT_Int y_pos, 701 FT_Int y_pos, 710 FT_Int y_pos, in tt_sbit_decoder_load_byte_aligned() argument 735 y_pos < 0 || (FT_UInt)( y_pos + height ) > bit_height ) in tt_sbit_decoder_load_byte_aligned() 751 line += y_pos * pitch + ( x_pos >> 3 ); in tt_sbit_decoder_load_byte_aligned() 852 FT_Int y_pos, in tt_sbit_decoder_load_bit_aligned() argument 878 y_pos < 0 || (FT_UInt)( y_pos + height ) > bit_height ) in tt_sbit_decoder_load_bit_aligned() 902 line += y_pos * pitch + ( x_pos >> 3 ); in tt_sbit_decoder_load_bit_aligned() 985 FT_Int y_pos, in tt_sbit_decoder_load_compound() argument 1024 y_pos + dy, in tt_sbit_decoder_load_compound() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/audiofx/ |
D | audiofxbaseiirfilter.c | 311 for (i = 1, j = ctx->y_pos; i < filter->na; i++) { in process() 326 ctx->y_pos++; in process() 327 if (ctx->y_pos >= filter->na) in process() 328 ctx->y_pos = 0; in process() 330 ctx->y[ctx->y_pos] = val; in process()
|
D | audiofxbaseiirfilter.h | 47 gint y_pos; member
|
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/ |
D | vp8l_dec.c | 634 static void ConvertToYUVA(const uint32_t* const src, int width, int y_pos, in ConvertToYUVA() argument 639 WebPConvertARGBToY(src, buf->y + y_pos * buf->y_stride, width); in ConvertToYUVA() 643 uint8_t* const u = buf->u + (y_pos >> 1) * buf->u_stride; in ConvertToYUVA() 644 uint8_t* const v = buf->v + (y_pos >> 1) * buf->v_stride; in ConvertToYUVA() 647 WebPConvertARGBToUV(src, u, v, width, !(y_pos & 1)); in ConvertToYUVA() 651 uint8_t* const a = buf->a + y_pos * buf->a_stride; in ConvertToYUVA() 660 static int ExportYUVA(const VP8LDecoder* const dec, int y_pos) { in ExportYUVA() argument 668 ConvertToYUVA(src, dst_width, y_pos, dec->output_); in ExportYUVA() 669 ++y_pos; in ExportYUVA() 678 int y_pos = dec->last_out_row_; in EmitRescaledRowsYUVA() local [all …]
|
D | io_dec.c | 355 static int ExportRGB(WebPDecParams* const p, int y_pos) { in ExportRGB() argument 359 uint8_t* dst = buf->rgba + y_pos * buf->stride; in ExportRGB() 365 assert(y_pos + num_lines_out < p->output->height); in ExportRGB() 404 static int ExportAlpha(WebPDecParams* const p, int y_pos, int max_lines_out) { in ExportAlpha() argument 406 uint8_t* const base_rgba = buf->rgba + y_pos * buf->stride; in ExportAlpha() 418 assert(y_pos + num_lines_out < p->output->height); in ExportAlpha() 431 static int ExportAlphaRGBA4444(WebPDecParams* const p, int y_pos, in ExportAlphaRGBA4444() argument 434 uint8_t* const base_rgba = buf->rgba + y_pos * buf->stride; in ExportAlphaRGBA4444() 449 assert(y_pos + num_lines_out < p->output->height); in ExportAlphaRGBA4444()
|
/third_party/skia/third_party/externals/libwebp/src/dec/ |
D | io_dec.c | 361 static int ExportRGB(WebPDecParams* const p, int y_pos) { in ExportRGB() argument 365 uint8_t* dst = buf->rgba + (size_t)y_pos * buf->stride; in ExportRGB() 371 assert(y_pos + num_lines_out < p->output->height); in ExportRGB() 410 static int ExportAlpha(WebPDecParams* const p, int y_pos, int max_lines_out) { in ExportAlpha() argument 412 uint8_t* const base_rgba = buf->rgba + (size_t)y_pos * buf->stride; in ExportAlpha() 424 assert(y_pos + num_lines_out < p->output->height); in ExportAlpha() 437 static int ExportAlphaRGBA4444(WebPDecParams* const p, int y_pos, in ExportAlphaRGBA4444() argument 440 uint8_t* const base_rgba = buf->rgba + (size_t)y_pos * buf->stride; in ExportAlphaRGBA4444() 455 assert(y_pos + num_lines_out < p->output->height); in ExportAlphaRGBA4444()
|
D | vp8l_dec.c | 638 static void ConvertToYUVA(const uint32_t* const src, int width, int y_pos, in ConvertToYUVA() argument 643 WebPConvertARGBToY(src, buf->y + y_pos * buf->y_stride, width); in ConvertToYUVA() 647 uint8_t* const u = buf->u + (y_pos >> 1) * buf->u_stride; in ConvertToYUVA() 648 uint8_t* const v = buf->v + (y_pos >> 1) * buf->v_stride; in ConvertToYUVA() 651 WebPConvertARGBToUV(src, u, v, width, !(y_pos & 1)); in ConvertToYUVA() 655 uint8_t* const a = buf->a + y_pos * buf->a_stride; in ConvertToYUVA() 664 static int ExportYUVA(const VP8LDecoder* const dec, int y_pos) { in ExportYUVA() argument 672 ConvertToYUVA(src, dst_width, y_pos, dec->output_); in ExportYUVA() 673 ++y_pos; in ExportYUVA() 682 int y_pos = dec->last_out_row_; in EmitRescaledRowsYUVA() local [all …]
|
/third_party/mindspore/tests/mindspore_test_framework/utils/ |
D | check_gradient.py | 200 y_pos = self.to_numpy_and_scale(self.get_ith_elem(self.fn(*self.args), out_index)) 205 diff = (y_pos - y_neg) / self.scale 250 y_pos = self.to_numpy_and_scale(self.get_ith_elem(self.fn(*self.args), out_index)) 255 diff = (y_pos - y_neg) / self.scale 332 y_pos = self.to_numpy_and_scale(self.get_ith_elem(self.fn(*args_pos), out_index)) 334 diff = (y_pos - y_neg) / self.scale
|
/third_party/freetype/src/pfr/ |
D | pfrgload.c | 568 FT_Int x_pos, y_pos; in pfr_glyph_load_compound() local 628 y_pos = 0; in pfr_glyph_load_compound() 669 y_pos = PFR_NEXT_SHORT( p ); in pfr_glyph_load_compound() 674 y_pos += PFR_NEXT_INT8( p ); in pfr_glyph_load_compound() 682 subglyph->y_delta = y_pos; in pfr_glyph_load_compound()
|
/third_party/skia/third_party/externals/freetype/src/pfr/ |
D | pfrgload.c | 568 FT_Int x_pos, y_pos; in pfr_glyph_load_compound() local 628 y_pos = 0; in pfr_glyph_load_compound() 669 y_pos = PFR_NEXT_SHORT( p ); in pfr_glyph_load_compound() 674 y_pos += PFR_NEXT_INT8( p ); in pfr_glyph_load_compound() 682 subglyph->y_delta = y_pos; in pfr_glyph_load_compound()
|
/third_party/flutter/skia/third_party/externals/freetype/src/pfr/ |
D | pfrgload.c | 568 FT_Int x_pos, y_pos; in pfr_glyph_load_compound() local 628 y_pos = 0; in pfr_glyph_load_compound() 669 y_pos = PFR_NEXT_SHORT( p ); in pfr_glyph_load_compound() 674 y_pos += PFR_NEXT_INT8( p ); in pfr_glyph_load_compound() 682 subglyph->y_delta = y_pos; in pfr_glyph_load_compound()
|
/third_party/gstreamer/gstreamer/docs/random/wtay/ |
D | interactivity | 62 "y_pos", 40 70 "y_pos", 40
|
/third_party/boost/boost/gil/ |
D | iterator_from_2d.hpp | 61 std::ptrdiff_t y_pos() const { return _coords.y; } // current y position in y_pos() function in boost::gil::iterator_from_2d 116 return (it.y_pos()-_coords.y)*_width + (it.x_pos()-_coords.x); in distance_to()
|