Home
last modified time | relevance | path

Searched refs:x_pos (Results 1 – 15 of 15) sorted by relevance

/third_party/ffmpeg/libavfilter/
Dvf_deband.c45 int *x_pos; member
153 const int x_pos = s->x_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()
193 const int x_pos = s->x_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 …]
Dvf_histogram.c42 int x_pos; member
483 s->x_pos = out->width - 1; in filter_frame()
490 s->x_pos = 0; in filter_frame()
513 s->out->data[p][(i + starty) * s->out->linesize[p] + startx + s->x_pos] = value; in filter_frame()
515 … AV_WN16(s->out->data[p] + (i + starty) * s->out->linesize[p] + startx * 2 + s->x_pos * 2, value); in filter_frame()
521 … s->out->data[0][(minh + starty) * s->out->linesize[p] + startx + s->x_pos] = s->envelope_color[0]; in filter_frame()
522 … s->out->data[0][(maxh + starty) * s->out->linesize[p] + startx + s->x_pos] = s->envelope_color[0]; in filter_frame()
524 … s->out->data[1][(minh + starty) * s->out->linesize[p] + startx + s->x_pos] = s->envelope_color[1]; in filter_frame()
525 … s->out->data[2][(minh + starty) * s->out->linesize[p] + startx + s->x_pos] = s->envelope_color[2]; in filter_frame()
526 … s->out->data[1][(maxh + starty) * s->out->linesize[p] + startx + s->x_pos] = s->envelope_color[1]; in filter_frame()
[all …]
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttsbit.c695 FT_Int x_pos,
704 FT_Int x_pos,
713 FT_Int x_pos, in tt_sbit_decoder_load_byte_aligned() argument
738 if ( x_pos < 0 || (FT_UInt)( x_pos + width ) > bit_width || in tt_sbit_decoder_load_byte_aligned()
755 line += y_pos * pitch + ( x_pos >> 3 ); in tt_sbit_decoder_load_byte_aligned()
756 x_pos &= 7; in tt_sbit_decoder_load_byte_aligned()
758 if ( x_pos == 0 ) /* the easy one */ in tt_sbit_decoder_load_byte_aligned()
788 pwrite[0] = (FT_Byte)( pwrite[0] | ( wval >> x_pos ) ); in tt_sbit_decoder_load_byte_aligned()
798 pwrite[0] = (FT_Byte)( pwrite[0] | ( wval >> x_pos ) ); in tt_sbit_decoder_load_byte_aligned()
800 if ( x_pos + w > 8 ) in tt_sbit_decoder_load_byte_aligned()
[all …]
/third_party/ffmpeg/libavcodec/
Ddvbsubdec.c60 int x_pos; member
84 int x_pos; member
381 int non_mod, uint8_t *map_table, int x_pos) in dvbsub_read_2bit_string() argument
387 int pixels_read = x_pos; in dvbsub_read_2bit_string()
391 destbuf += x_pos; in dvbsub_read_2bit_string()
488 int non_mod, uint8_t *map_table, int x_pos) in dvbsub_read_4bit_string() argument
494 int pixels_read = x_pos; in dvbsub_read_4bit_string()
498 destbuf += x_pos; in dvbsub_read_4bit_string()
612 int non_mod, uint8_t *map_table, int x_pos) in dvbsub_read_8bit_string() argument
617 int pixels_read = x_pos; in dvbsub_read_8bit_string()
[all …]
Dflashsv.c203 int width, int height, int x_pos, int y_pos, in flashsv_decode_block() argument
248 memcpy(s->frame->data[0] + x_pos * 3 + in flashsv_decode_block()
259 x_pos, s->diff_height, width, in flashsv_decode_block()
376 int x_pos = i * s->block_width; // horizontal position in frame in flashsv_decode_frame() local
461 int x = off - k * s->frame->linesize[0] + x_pos * 3; in flashsv_decode_frame()
471 x_pos, y_pos, in flashsv_decode_frame()
Dvqavideo.c725 int x_pos = 0; in vqa_decode_frame_hicolor() local
727 while (x_pos < s->width) { in vqa_decode_frame_hicolor()
742 x_pos += 4 * code; in vqa_decode_frame_hicolor()
758 if (count < 0 || count > (s->width - x_pos) / s->vector_width) { in vqa_decode_frame_hicolor()
763 while (count-- && x_pos < s->width) { in vqa_decode_frame_hicolor()
767 + sizeof(uint16_t) * x_pos; in vqa_decode_frame_hicolor()
784 x_pos += 4; in vqa_decode_frame_hicolor()
Diff.c587 int i, y_pos = 0, x_pos = 0; in decode_byterun2() local
600 for (i = 0; i < count && x_pos < line_size; i++) { in decode_byterun2()
606 while (l-- > 0 && x_pos < line_size) { in decode_byterun2()
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()
611 x_pos += 2; in decode_byterun2()
616 while (l-- > 0 && x_pos < line_size) { 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()
621 x_pos += 2; in decode_byterun2()
[all …]
Dflashsvenc.c161 int x_pos = i * block_width; // horizontal position in frame in encode_bitstream() local
170 x_pos, cur_blk_height, cur_blk_width, in encode_bitstream()
/third_party/ffmpeg/libavfilter/dnn/
Ddnn_backend_native_layer_conv2d.c149 … int x_pos = CLAMP_TO_EDGE(x + (kernel_x - radius) * conv_params->dilation, width); 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()
153 int x_pos = x + (kernel_x - 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()
Ddnn_backend_native_layer_avgpool.c130 int x_pos = x + (kernel_x - width_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/pfr/
Dpfrgload.c568 FT_Int x_pos, y_pos; in pfr_glyph_load_compound() local
627 x_pos = 0; in pfr_glyph_load_compound()
653 x_pos = PFR_NEXT_SHORT( p ); in pfr_glyph_load_compound()
658 x_pos += PFR_NEXT_INT8( p ); in pfr_glyph_load_compound()
681 subglyph->x_delta = x_pos; in pfr_glyph_load_compound()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_lower_cubemap_to_array.c318 nir_ssa_def *x_pos = nir_f2i32(b, nir_fadd(b, x_orig, const_05)); in handle_cube_gather() local
324 { x_pos, y_pos }, in handle_cube_gather()
325 { x_pos, y_neg }, in handle_cube_gather()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir_lower_int_cubemaps.c356 nir_ssa_def *x_pos = nir_f2i32(b, nir_fadd(b, x_orig, const_05)); in handle_cube_gather() local
362 { x_pos, y_pos }, in handle_cube_gather()
363 { x_pos, y_neg }, in handle_cube_gather()
/third_party/skia/third_party/externals/freetype/docs/oldlogs/
DChangeLog.22741 loading. (Only tested with bit aligned sbit with x_pos == 0.)
DChangeLog.233146 . `tt_sbit_decoder_load_bit_aligned' incorrectly handled `x_pos',
3154 (tt_sbit_decoder_load_bit_aligned): Handle `x_pos' correctly in case