Home
last modified time | relevance | path

Searched refs:y_pos (Results 1 – 21 of 21) sorted by relevance

/third_party/ffmpeg/libavfilter/
Dvf_deband.c46 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/ffmpeg/libavcodec/
Ddvbsubdec.c59 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 …]
Dflashsv.c184 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()
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_size ] = r >> 8; in decode_byterun2()
[all …]
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()
Dflashsvenc.c155 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/
Ddvb-sub.c80 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/skia/third_party/externals/freetype/src/sfnt/
Dttsbit.c696 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/
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()
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()
/third_party/gstreamer/gstplugins_good/gst/audiofx/
Daudiofxbaseiirfilter.c311 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()
Daudiofxbaseiirfilter.h47 gint y_pos; member
/third_party/skia/third_party/externals/libwebp/src/dec/
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()
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 = dec->last_out_row_; in EmitRescaledRowsYUVA() local
[all …]
Dwebpi_dec.h31 typedef int (*OutputRowFunc)(WebPDecParams* const p, int y_pos,
/third_party/skia/third_party/externals/freetype/src/pfr/
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/gstreamer/gstreamer/docs/random/wtay/
Dinteractivity62 "y_pos", 40
70 "y_pos", 40
/third_party/mesa3d/src/microsoft/spirv_to_dxil/
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/gstreamer/gstplugins_base/ext/pango/
Dgstbasetextoverlay.c2074 gint y_pos; in gst_base_text_overlay_shade_packed_Y() local
2076 y_pos = (i * dest_stride) + j * pixel_stride; in gst_base_text_overlay_shade_packed_Y()
2077 y = dest_ptr[y_pos] - overlay->shading_value; in gst_base_text_overlay_shade_packed_Y()
2079 dest_ptr[y_pos] = CLAMP (y, 0, 255); in gst_base_text_overlay_shade_packed_Y()
2098 gint y, y_pos, k; in gst_base_text_overlay_shade_xRGB() local
2100 y_pos = (i * 4 * overlay->width) + j * 4; in gst_base_text_overlay_shade_xRGB()
2102 y = dest_ptr[y_pos + k] - overlay->shading_value; in gst_base_text_overlay_shade_xRGB()
2103 dest_ptr[y_pos + k] = CLAMP (y, 0, 255); in gst_base_text_overlay_shade_xRGB()
2175 gint y, y_pos, k;\
2176 y_pos = (i * 4 * overlay->width) + j * 4;\
[all …]
/third_party/mesa3d/src/gallium/drivers/zink/
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/
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()