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

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/
H A Diris_blit.c116 * \param src the source rect coordinate (for example src_x0)
157 float *src_x0, float *src_y0,
180 * For example, if src_x0 and dst_x0 need both to be clipped we want to
181 * avoid the situation where we clip src_x0 first, then adjust dst_x0
183 * to be clipped, so we clip dst_x0 and adjust src_x0 again. Because we are
196 * from the dst rect so we should clip dst_x0 only and adjust src_x0.
201 if (*src_x0 == *src_x1 || *src_y0 == *src_y1
205 float scale_x = (float) (*src_x1 - *src_x0) / (*dst_x1 - *dst_x0);
209 clip_coordinates(mirror_x, src_x0, dst_x0, dst_x1,
227 return *src_x0
156 apply_blit_scissor(const struct pipe_scissor_state * scissor,float * src_x0,float * src_y0,float * src_x1,float * src_y1,float * dst_x0,float * dst_y0,float * dst_x1,float * dst_y1,bool mirror_x,bool mirror_y) argument
359 float src_x0 = info->src.box.x; local in function:iris_blit
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/
H A Diris_blit.c116 * \param src the source rect coordinate (for example src_x0)
157 float *src_x0, float *src_y0,
180 * For example, if src_x0 and dst_x0 need both to be clipped we want to
181 * avoid the situation where we clip src_x0 first, then adjust dst_x0
183 * to be clipped, so we clip dst_x0 and adjust src_x0 again. Because we are
196 * from the dst rect so we should clip dst_x0 only and adjust src_x0.
201 if (*src_x0 == *src_x1 || *src_y0 == *src_y1
205 float scale_x = (float) (*src_x1 - *src_x0) / (*dst_x1 - *dst_x0);
209 clip_coordinates(mirror_x, src_x0, dst_x0, dst_x1,
227 return *src_x0
156 apply_blit_scissor(const struct pipe_scissor_state * scissor,float * src_x0,float * src_y0,float * src_x1,float * src_y1,float * dst_x0,float * dst_y0,float * dst_x1,float * dst_y1,bool mirror_x,bool mirror_y) argument
377 float src_x0 = info->src.box.x; local in function:iris_blit
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dbrw_blorp.h45 float src_x0, float src_y0,
H A Dbrw_blorp.c284 float src_x0, float src_y0,
297 src_level, src_layer, src_x0, src_y0, src_x1, src_y1,
326 if (fabsf(dst_x1 - dst_x0) == fabsf(src_x1 - src_x0) &&
427 src_x0, src_y0, src_x1, src_y1,
277 brw_blorp_blit_miptrees(struct brw_context * brw,struct intel_mipmap_tree * src_mt,unsigned src_level,unsigned src_layer,mesa_format src_format,int src_swizzle,struct intel_mipmap_tree * dst_mt,unsigned dst_level,unsigned dst_layer,mesa_format dst_format,float src_x0,float src_y0,float src_x1,float src_y1,float dst_x0,float dst_y0,float dst_x1,float dst_y1,GLenum gl_filter,bool mirror_x,bool mirror_y,bool decode_srgb,bool encode_srgb) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/crocus/
H A Dcrocus_blit.c155 * \param src the source rect coordinate (for example src_x0)
196 float *src_x0, float *src_y0,
219 * For example, if src_x0 and dst_x0 need both to be clipped we want to
220 * avoid the situation where we clip src_x0 first, then adjust dst_x0
222 * to be clipped, so we clip dst_x0 and adjust src_x0 again. Because we are
235 * from the dst rect so we should clip dst_x0 only and adjust src_x0.
240 if (*src_x0 == *src_x1 || *src_y0 == *src_y1
244 float scale_x = (float) (*src_x1 - *src_x0) / (*dst_x1 - *dst_x0);
248 clip_coordinates(mirror_x, src_x0, dst_x0, dst_x1,
266 return *src_x0
195 apply_blit_scissor(const struct pipe_scissor_state * scissor,float * src_x0,float * src_y0,float * src_x1,float * src_y1,float * dst_x0,float * dst_y0,float * dst_x1,float * dst_y1,bool mirror_x,bool mirror_y) argument
460 float src_x0 = info->src.box.x; local in function:crocus_blit
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A Dbrw_blorp.h45 float src_x0, float src_y0,
H A Dbrw_blorp.c280 float src_x0, float src_y0,
293 src_level, src_layer, src_x0, src_y0, src_x1, src_y1,
328 if (fabsf(dst_x1 - dst_x0) == fabsf(src_x1 - src_x0) &&
428 src_x0, src_y0, src_x1, src_y1,
273 brw_blorp_blit_miptrees(struct brw_context * brw,struct brw_mipmap_tree * src_mt,unsigned src_level,unsigned src_layer,mesa_format src_format,int src_swizzle,struct brw_mipmap_tree * dst_mt,unsigned dst_level,unsigned dst_layer,mesa_format dst_format,float src_x0,float src_y0,float src_x1,float src_y1,float dst_x0,float dst_y0,float dst_x1,float dst_y1,GLenum gl_filter,bool mirror_x,bool mirror_y,bool decode_srgb,bool encode_srgb) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_sse.h647 uint16_t src_x0; local in function:util_sse2_stretch_row_8unorm
659 src_x0 = src_x >> 16;
673 __m128i src_00_10 = _mm_loadl_epi64((const __m128i *)&src[src_x0]);
/xsrc/external/mit/MesaLib.old/dist/src/intel/blorp/
H A Dblorp.h140 float src_x0, float src_y0,
H A Dblorp_blit.c1503 * src_x - src_x0 = (dst_x - dst_x0 + 0.5) * scale
1505 * src_x = src_x0 + (dst_x - dst_x0 + 0.5) * scale
1516 * src_x - src_x0 = dst_x1 - dst_x - 0.5
1518 * src_x = src_x0 + (dst_x1 -dst_x - 0.5) * scale
2259 float src_x0, float src_y0,
2326 .src0 = src_x0,
2252 blorp_blit(struct blorp_batch * batch,const struct blorp_surf * src_surf,unsigned src_level,unsigned src_layer,enum isl_format src_format,struct isl_swizzle src_swizzle,const struct blorp_surf * dst_surf,unsigned dst_level,unsigned dst_layer,enum isl_format dst_format,struct isl_swizzle dst_swizzle,float src_x0,float src_y0,float src_x1,float src_y1,float dst_x0,float dst_y0,float dst_x1,float dst_y1,enum blorp_filter filter,bool mirror_x,bool mirror_y) argument
/xsrc/external/mit/MesaLib/dist/src/intel/blorp/
H A Dblorp.h146 float src_x0, float src_y0,
H A Dblorp_blit.c1599 * src_x - src_x0 = (dst_x - dst_x0 + 0.5) * scale
1601 * src_x = src_x0 + (dst_x - dst_x0 + 0.5) * scale
1612 * src_x - src_x0 = dst_x1 - dst_x - 0.5
1614 * src_x = src_x0 + (dst_x1 -dst_x - 0.5) * scale
2444 float src_x0, float src_y0,
2515 .src0 = src_x0,
2437 blorp_blit(struct blorp_batch * batch,const struct blorp_surf * src_surf,unsigned src_level,float src_layer,enum isl_format src_format,struct isl_swizzle src_swizzle,const struct blorp_surf * dst_surf,unsigned dst_level,unsigned dst_layer,enum isl_format dst_format,struct isl_swizzle dst_swizzle,float src_x0,float src_y0,float src_x1,float src_y1,float dst_x0,float dst_y0,float dst_x1,float dst_y1,enum blorp_filter filter,bool mirror_x,bool mirror_y) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_fs_linear.c53 float fsrc_x; /* src_x0 */
214 float src_x0 = samp->fsrc_x; local in function:fetch_row_clamped
220 row[i] = src_row[CLAMP(util_iround(src_x0 + i*scale_x),0,texture->width-1)];
/xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/
H A Danv_blorp.c588 unsigned src_x0 = pRegions[r].srcOffsets[0].x; local in function:anv_CmdBlitImage
592 bool flip_x = flip_coords(&src_x0, &src_x1, &dst_x0, &dst_x1);
615 src_x0, src_y0, src_x1, src_y1,
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_meta_blit.c543 unsigned src_x0 = region->srcOffsets[0].x; local in function:blit_image
573 src_x0,
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_meta_blit.c607 unsigned src_x0 = pRegions[r].srcOffsets[0].x; local in function:radv_CmdBlitImage
636 .x = src_x0,
/xsrc/external/mit/MesaLib/dist/src/intel/vulkan/
H A Danv_blorp.c756 unsigned src_x0 = region->srcOffsets[0].x; local in function:blit_image
760 bool flip_x = flip_coords(&src_x0, &src_x1, &dst_x0, &dst_x1);
782 src_x0, src_y0, src_x1, src_y1,

Completed in 70 milliseconds