Home
last modified time | relevance | path

Searched refs:y_pos (Results 1 - 17 of 17) sorted by relevance

/third_party/ffmpeg/libavfilter/
H A Dvf_deband.c46 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, in deband_8_coupling_c()
259 const int y_pos = s->y_pos[pos + x]; deband_16_coupling_c() local
335 const int y_pos = s->y_pos[pos + x]; deband_16_c() local
[all...]
/third_party/ffmpeg/libavfilter/dnn/
H A Ddnn_backend_native_layer_conv2d.c148 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()
H A Ddnn_backend_native_layer_avgpool.c129 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/skia/third_party/externals/freetype/src/sfnt/
H A Dttsbit.c696 FT_Int y_pos,
705 FT_Int y_pos,
714 FT_Int y_pos, in tt_sbit_decoder_load_byte_aligned()
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()
882 y_pos < 0 || (FT_UInt)( y_pos + height ) > bit_height ) in tt_sbit_decoder_load_bit_aligned()
906 line += y_pos * pitc in tt_sbit_decoder_load_bit_aligned()
710 tt_sbit_decoder_load_byte_aligned( TT_SBitDecoder decoder, FT_Byte* p, FT_Byte* limit, FT_Int x_pos, FT_Int y_pos, FT_UInt recurse_count ) tt_sbit_decoder_load_byte_aligned() argument
852 tt_sbit_decoder_load_bit_aligned( TT_SBitDecoder decoder, FT_Byte* p, FT_Byte* limit, FT_Int x_pos, FT_Int y_pos, FT_UInt recurse_count ) tt_sbit_decoder_load_bit_aligned() argument
985 tt_sbit_decoder_load_compound( TT_SBitDecoder decoder, FT_Byte* p, FT_Byte* limit, FT_Int x_pos, FT_Int y_pos, FT_UInt recurse_count ) tt_sbit_decoder_load_compound() argument
1059 tt_sbit_decoder_load_png( TT_SBitDecoder decoder, FT_Byte* p, FT_Byte* limit, FT_Int x_pos, FT_Int y_pos, FT_UInt recurse_count ) tt_sbit_decoder_load_png() argument
1108 tt_sbit_decoder_load_bitmap( TT_SBitDecoder decoder, FT_UInt glyph_format, FT_ULong glyph_start, FT_ULong glyph_size, FT_Int x_pos, FT_Int y_pos, FT_UInt recurse_count, FT_Bool metrics_only ) tt_sbit_decoder_load_bitmap() argument
1258 tt_sbit_decoder_load_image( TT_SBitDecoder decoder, FT_UInt glyph_index, FT_Int x_pos, FT_Int y_pos, FT_UInt recurse_count, FT_Bool metrics_only ) tt_sbit_decoder_load_image() argument
[all...]
/third_party/ffmpeg/libavcodec/
H A Dflashsv.c203 int width, int height, int x_pos, int y_pos, in flashsv_decode_block()
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()
201 flashsv_decode_block(AVCodecContext *avctx, const AVPacket *avpkt, GetBitContext *gb, int block_size, int width, int height, int x_pos, int y_pos, int blk_idx) flashsv_decode_block() argument
H A Ddvbsubdec.c61 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 av_log(avctx, AV_LOG_ERROR, "Invalid object location! %d-%d %d-%d %02x\n", x_pos, region->width, y_pos, region->height, *buf); in dvbsub_parse_pixel_data_block()
923 x_pos = dvbsub_read_2bit_string(avctx, pbuf + (y_pos * regio in dvbsub_parse_pixel_data_block()
[all...]
H A Diff.c587 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_siz in decode_byterun2()
[all...]
H A Daic.c317 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()
H A Dflashsvenc.c156 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()
H A Dvqavideo.c724 for (int y_pos = 0; y_pos < s->height; y_pos += s->vector_height) { in vqa_decode_frame_hicolor()
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/
H A Dio_dec.c361 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()
H A Dvp8l_dec.c642 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 in EmitRescaledRowsYUVA() local
705 int y_pos = dec->last_out_row_; EmitRowsYUVA() local
[all...]
H A Dwebpi_dec.h31 typedef int (*OutputRowFunc)(WebPDecParams* const p, int y_pos,
/third_party/skia/third_party/externals/freetype/src/pfr/
H A Dpfrgload.c568 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/
H A Ddxil_spirv_nir.c287 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/
H A Dzink_lower_cubemap_to_array.c320 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/
H A Ddxil_nir_lower_int_cubemaps.c358 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()

Completed in 17 milliseconds