/third_party/ffmpeg/libavfilter/ |
D | vf_deband.c | 46 int *y_pos; member 154 const int y_pos = s->y_pos[pos + x]; in deband_8_c() local 155 … 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() 156 … 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() 157 … 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() 158 … 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() 194 const int y_pos = s->y_pos[pos + x]; in deband_8_coupling_c() local 203 … 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() 204 … 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() 205 … 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/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/ffmpeg/libavfilter/dnn/ |
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()
|
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()
|
/third_party/ffmpeg/libavcodec/ |
D | dvbsubdec.c | 61 int y_pos; member 85 int y_pos; member 795 rect->y = display->y_pos + offset_y; in save_subtitle_set() 871 int x_pos, y_pos; in dvbsub_parse_pixel_data_block() local 904 y_pos = display->y_pos; in dvbsub_parse_pixel_data_block() 906 y_pos += top_bottom; in dvbsub_parse_pixel_data_block() 909 if ((*buf!=0xf0 && x_pos >= region->width) || y_pos >= region->height) { in dvbsub_parse_pixel_data_block() 910 …ROR, "Invalid object location! %d-%d %d-%d %02x\n", x_pos, region->width, y_pos, region->height, *… in dvbsub_parse_pixel_data_block() 923 x_pos = dvbsub_read_2bit_string(avctx, pbuf + (y_pos * region->width), in dvbsub_parse_pixel_data_block() 938 x_pos = dvbsub_read_4bit_string(avctx, pbuf + (y_pos * region->width), in dvbsub_parse_pixel_data_block() [all …]
|
D | flashsv.c | 203 int width, int height, int x_pos, int y_pos, in flashsv_decode_block() argument 242 y_pos += s->diff_start; in flashsv_decode_block() 249 (s->image_height - y_pos - k) * s->frame->linesize[0], in flashsv_decode_block() 258 s->image_height - (y_pos + 1 + s->diff_height), in flashsv_decode_block() 371 int y_pos = j * s->block_height; // vertical position in frame in flashsv_decode_frame() local 458 int off = (s->image_height - y_pos - 1) * s->frame->linesize[0]; in flashsv_decode_frame() 471 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 | 156 int y_pos = j * block_height; // vertical position in frame in encode_bitstream() local 169 s->image_height - (y_pos + cur_blk_height + 1), in encode_bitstream()
|
D | vqavideo.c | 724 for (int y_pos = 0; y_pos < s->height; y_pos += s->vector_height) { in vqa_decode_frame_hicolor() local 766 unsigned char *dst = s->frame->data[0] + y_pos * s->frame->linesize[0] in vqa_decode_frame_hicolor()
|
/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 | 642 static void ConvertToYUVA(const uint32_t* const src, int width, int y_pos, in ConvertToYUVA() argument 647 WebPConvertARGBToY(src, buf->y + y_pos * buf->y_stride, width); in ConvertToYUVA() 651 uint8_t* const u = buf->u + (y_pos >> 1) * buf->u_stride; in ConvertToYUVA() 652 uint8_t* const v = buf->v + (y_pos >> 1) * buf->v_stride; in ConvertToYUVA() 655 WebPConvertARGBToUV(src, u, v, width, !(y_pos & 1)); in ConvertToYUVA() 659 uint8_t* const a = buf->a + y_pos * buf->a_stride; in ConvertToYUVA() 668 static int ExportYUVA(const VP8LDecoder* const dec, int y_pos) { in ExportYUVA() argument 676 ConvertToYUVA(src, dst_width, y_pos, dec->output_); in ExportYUVA() 677 ++y_pos; in ExportYUVA() 686 int y_pos = dec->last_out_row_; in EmitRescaledRowsYUVA() local [all …]
|
D | webpi_dec.h | 31 typedef int (*OutputRowFunc)(WebPDecParams* const p, int y_pos,
|
/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/mesa3d/src/microsoft/spirv_to_dxil/ |
D | dxil_spirv_nir.c | 287 nir_ssa_def *y_pos = nir_channel(builder, pos, 1); in lower_yz_flip() local 334 y_pos = nir_bcsel(builder, flip, nir_fneg(builder, y_pos), y_pos); in lower_yz_flip() 348 y_pos, in lower_yz_flip()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_lower_cubemap_to_array.c | 320 nir_ssa_def *y_pos = nir_f2i32(b, nir_fadd(b, y_orig, const_05)); in handle_cube_gather() local 323 { x_neg, y_pos }, in handle_cube_gather() 324 { x_pos, y_pos }, in handle_cube_gather()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | dxil_nir_lower_int_cubemaps.c | 358 nir_ssa_def *y_pos = nir_f2i32(b, nir_fadd(b, y_orig, const_05)); in handle_cube_gather() local 361 { x_neg, y_pos }, in handle_cube_gather() 362 { x_pos, y_pos }, in handle_cube_gather()
|