/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | turbojpeg-jni.c | 162 (JNIEnv *env, jclass cls, jint componentID, jint width, jint stride, in Java_org_libjpegturbo_turbojpeg_TJ_planeSizeYUV__IIIII() 165 jint retval = (jint)tjPlaneSizeYUV(componentID, width, stride, height, in Java_org_libjpegturbo_turbojpeg_TJ_planeSizeYUV__IIIII() 285 jint stride, jint height, jint pf, jbyteArray dst, jint jpegSubsamp, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIIIII_3BIII() 294 stride * sizeof(jint), height, pf, dst, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIIIII_3BIII() 303 (JNIEnv *env, jobject obj, jintArray src, jint width, jint stride, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIII_3BIII() 313 stride * sizeof(jint), height, pf, dst, in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIII_3BIII() 376 THROW_ARG("Negative plane stride would cause memory to be accessed below plane boundary"); in Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII() 459 THROW_ARG("Negative plane stride would cause memory to be accessed below plane boundary"); in TJCompressor_encodeYUV() 497 jint stride, jint height, jint pf, jobjectArray dstobjs, in Java_org_libjpegturbo_turbojpeg_TJCompressor_encodeYUV___3IIIIIII_3_3B_3I_3III() 506 stride * sizeo in Java_org_libjpegturbo_turbojpeg_TJCompressor_encodeYUV___3IIIIIII_3_3B_3I_3III() 161 Java_org_libjpegturbo_turbojpeg_TJ_planeSizeYUV__IIIII(JNIEnv *env, jclass cls, jint componentID, jint width, jint stride, jint height, jint subsamp) Java_org_libjpegturbo_turbojpeg_TJ_planeSizeYUV__IIIII() argument 283 Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIIIII_3BIII(JNIEnv *env, jobject obj, jintArray src, jint x, jint y, jint width, jint stride, jint height, jint pf, jbyteArray dst, jint jpegSubsamp, jint jpegQual, jint flags) Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIIIII_3BIII() argument 302 Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIII_3BIII(JNIEnv *env, jobject obj, jintArray src, jint width, jint stride, jint height, jint pf, jbyteArray dst, jint jpegSubsamp, jint jpegQual, jint flags) Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIII_3BIII() argument 495 Java_org_libjpegturbo_turbojpeg_TJCompressor_encodeYUV___3IIIIIII_3_3B_3I_3III(JNIEnv *env, jobject obj, jintArray src, jint x, jint y, jint width, jint stride, jint height, jint pf, jobjectArray dstobjs, jintArray jDstOffsets, jintArray jDstStrides, jint subsamp, jint flags) Java_org_libjpegturbo_turbojpeg_TJCompressor_encodeYUV___3IIIIIII_3_3B_3I_3III() argument 561 Java_org_libjpegturbo_turbojpeg_TJCompressor_encodeYUV___3IIIII_3BII(JNIEnv *env, jobject obj, jintArray src, jint width, jint stride, jint height, jint pf, jbyteArray dst, jint subsamp, jint flags) Java_org_libjpegturbo_turbojpeg_TJCompressor_encodeYUV___3IIIII_3BII() argument 739 Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3IIIIIIII(JNIEnv *env, jobject obj, jbyteArray src, jint jpegSize, jintArray dst, jint x, jint y, jint width, jint stride, jint height, jint pf, jint flags) Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3IIIIIIII() argument 756 Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3IIIIII(JNIEnv *env, jobject obj, jbyteArray src, jint jpegSize, jintArray dst, jint width, jint stride, jint height, jint pf, jint flags) Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress___3BI_3IIIIII() argument 995 Java_org_libjpegturbo_turbojpeg_TJDecompressor_decodeYUV___3_3B_3I_3II_3IIIIIIII(JNIEnv *env, jobject obj, jobjectArray srcobjs, jintArray jSrcOffsets, jintArray jSrcStrides, jint subsamp, jintArray dst, jint x, jint y, jint width, jint stride, jint height, jint pf, jint flags) Java_org_libjpegturbo_turbojpeg_TJDecompressor_decodeYUV___3_3B_3I_3II_3IIIIIIII() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | UniformBufferTest.cpp | 106 GLuint stride = 0; in TEST_P() local 109 stride += alignment; in TEST_P() 110 } while (stride < vec4Size); in TEST_P() 112 std::vector<char> v(2 * stride); in TEST_P() 114 float *second = reinterpret_cast<float *>(v.data() + stride); in TEST_P() 128 glBufferData(GL_UNIFORM_BUFFER, stride + vec4Size, v.data(), GL_STATIC_DRAW); in TEST_P() 143 // Furthermore the D3D11.1 backend will internally round the vec4Size (16 bytes) to a stride in TEST_P() 144 // (256 bytes) hence it will try to map the range [stride, 2 * stride] which is out-of-bound of in TEST_P() 145 // the buffer bufferSize = stride in TEST_P() 255 GLuint stride = 0; TEST_P() local 1938 setArrayValues(std::vector<GLfloat> &floatData, GLuint beginIndex, GLuint endIndex, GLuint stride, GLuint firstElementOffset, GLuint firstEleVecCount, GLuint firstEleVecComponents, float x1, float y1, float z1, float w1, GLuint secondElementOffset = 0, GLuint secondEleVecCount = 0, GLuint secondEleVecComponents = 0, float x2 = 0.0f, float y2 = 0.0f, float z2 = 0.0f, float w2 = 0.0f) setArrayValues() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libGLESv2/ |
H A D | entry_points_gles_1_0_autogen.cpp | 265 void GL_APIENTRY GL_ColorPointer(GLint size, GLenum type, GLsizei stride, const void *pointer) in GL_ColorPointer() argument 269 "context = %d, size = %d, type = %s, stride = %d, pointer = 0x%016" PRIxPTR "", in GL_ColorPointer() 270 CID(context), size, GLenumToString(GLenumGroup::ColorPointerType, type), stride, in GL_ColorPointer() 279 typePacked, stride, pointer)); in GL_ColorPointer() 282 context->colorPointer(size, typePacked, stride, pointer); in GL_ColorPointer() 284 ANGLE_CAPTURE(ColorPointer, isCallValid, context, size, typePacked, stride, pointer); in GL_ColorPointer() 1378 void GL_APIENTRY GL_NormalPointer(GLenum type, GLsizei stride, const void *pointer) in GL_NormalPointer() argument 1382 "context = %d, type = %s, stride = %d, pointer = 0x%016" PRIxPTR "", CID(context), in GL_NormalPointer() 1383 GLenumToString(GLenumGroup::NormalPointerType, type), stride, (uintptr_t)pointer); in GL_NormalPointer() 1391 typePacked, stride, pointe in GL_NormalPointer() 1802 GL_TexCoordPointer(GLint size, GLenum type, GLsizei stride, const void *pointer) GL_TexCoordPointer() argument 2089 GL_VertexPointer(GLint size, GLenum type, GLsizei stride, const void *pointer) GL_VertexPointer() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | truemotion2.c | 448 #define TM2_RECALC_BLOCK(CHR, stride, last, CD) {\ 450 CD[1] = (unsigned)CHR[stride + 1] - (unsigned) CHR[1];\ 451 last[0] = (int)CHR[stride + 0];\ 452 last[1] = (int)CHR[stride + 1];} 455 static inline void tm2_apply_deltas(TM2Context *ctx, int* Y, int stride, int *deltas, int *last) in tm2_apply_deltas() argument 468 Y += stride; in tm2_apply_deltas() 473 static inline void tm2_high_chroma(int *data, int stride, int *last, unsigned *CD, int *deltas) in tm2_high_chroma() argument 482 data += stride; in tm2_high_chroma() 486 static inline void tm2_low_chroma(int *data, int stride, int *clast, unsigned *CD, int *deltas, int bx) in tm2_low_chroma() argument 502 tm2_high_chroma(data, stride, clas in tm2_low_chroma() [all...] |
H A D | rasc.c | 61 int stride; member 90 memcpy(dstp, srcp, s->stride); in copy_plane() 142 case 8: s->stride = FFALIGN(w, 4); in decode_fint() 145 case 16: s->stride = w * 2; in decode_fint() 148 case 32: s->stride = w * 4; in decode_fint() 507 zstream->avail_out = s->stride; in decode_kfrm() 522 zstream->avail_out = s->stride; in decode_kfrm()
|
/third_party/ffmpeg/libavfilter/x86/ |
H A D | vf_gblur.asm | 436 localbuf, x, y, step, stride, remain, ptr, mask 438 cglobal horiz_slice, 4, 9, 9, ptr, width, height, steps, x, y, step, stride, remain 443 localbuf, x, y, step, stride, remain, ptr, mask 445 cglobal horiz_slice, 4, 9, 9, ptr, width, height, steps, nu, bscale, x, y, step, stride, remain 457 localbuf, x, y, step, stride, remain, ptr, mask 636 DEFINE_ARGS ptr, width, height, steps, x, y, step, stride, remain 646 ; stride = width * 4 852 steps, x, y, cwidth, step, ptr, stride 856 ptr, stride 863 steps, x, y, cwidth, step, ptr, stride [all...] |
/third_party/mesa3d/src/amd/vulkan/layers/ |
H A D | radv_sqtt_layer.c | 443 uint32_t drawCount, uint32_t stride) in sqtt_CmdDrawIndirect() 445 EVENT_MARKER(DrawIndirect, commandBuffer, buffer, offset, drawCount, stride); in sqtt_CmdDrawIndirect() 450 uint32_t drawCount, uint32_t stride) in sqtt_CmdDrawIndexedIndirect() 452 EVENT_MARKER(DrawIndexedIndirect, commandBuffer, buffer, offset, drawCount, stride); in sqtt_CmdDrawIndexedIndirect() 458 uint32_t maxDrawCount, uint32_t stride) in sqtt_CmdDrawIndirectCount() 461 maxDrawCount, stride); in sqtt_CmdDrawIndirectCount() 468 uint32_t stride) in sqtt_CmdDrawIndexedIndirectCount() 471 countBufferOffset, maxDrawCount, stride); in sqtt_CmdDrawIndexedIndirectCount() 592 VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags) in sqtt_CmdCopyQueryPoolResults() 595 dstOffset, stride, flag in sqtt_CmdCopyQueryPoolResults() 442 sqtt_CmdDrawIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) sqtt_CmdDrawIndirect() argument 449 sqtt_CmdDrawIndexedIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, uint32_t drawCount, uint32_t stride) sqtt_CmdDrawIndexedIndirect() argument 456 sqtt_CmdDrawIndirectCount(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride) sqtt_CmdDrawIndirectCount() argument 465 sqtt_CmdDrawIndexedIndirectCount(VkCommandBuffer commandBuffer, VkBuffer buffer, VkDeviceSize offset, VkBuffer countBuffer, VkDeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride) sqtt_CmdDrawIndexedIndirectCount() argument 590 sqtt_CmdCopyQueryPoolResults(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, VkBuffer dstBuffer, VkDeviceSize dstOffset, VkDeviceSize stride, VkQueryResultFlags flags) sqtt_CmdCopyQueryPoolResults() argument [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | glthread_draw.c | 137 unsigned stride = vao->Attrib[binding_index].Stride; in upload_vertices() local 155 offset += stride * start_instance; in upload_vertices() 156 size = stride * (count - 1) + element_size; in upload_vertices() 159 offset += stride * start_vertex; in upload_vertices() 160 size = stride * (num_vertices - 1) + element_size; in upload_vertices() 216 unsigned stride = vao->Attrib[binding_index].Stride; in upload_vertices() local 234 offset += stride * start_instance; in upload_vertices() 235 size = stride * (count - 1) + element_size; in upload_vertices() 238 offset += stride * start_vertex; in upload_vertices() 239 size = stride * (num_vertice in upload_vertices() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcShaderRenderCase.cpp | 279 int stride = gridSize + 1; in QuadGrid() local 280 int v00 = (y * stride) + x; in QuadGrid() 281 int v01 = (y * stride) + x + 1; in QuadGrid() 282 int v10 = ((y + 1) * stride) + x; in QuadGrid() 283 int v11 = ((y + 1) * stride) + x + 1; in QuadGrid() 713 int stride = gridSize + 1; in computeVertexReference() local 758 int v00 = (y * stride) + x; in computeVertexReference() 759 int v01 = (y * stride) + x + 1; in computeVertexReference() 760 int v10 = ((y + 1) * stride) + x; in computeVertexReference() 761 int v11 = ((y + 1) * stride) in computeVertexReference() [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fDrawElementsBaseVertexTests.cpp | 151 spec.attribs[0].stride = 0; in genBasicSpec() 162 spec.attribs[1].stride = 0; in genBasicSpec() 671 spec.attribs[0].stride = 0; in init() 708 spec.attribs[0].stride = 0; in init() 719 spec.attribs[1].stride = 0; in init() 756 spec.attribs[0].stride = 0; in init() 768 spec.attribs[1].stride = 0; in init() 781 spec.attribs[2].stride = 0; in init() 818 spec.attribs[0].stride = 0; in init() 846 spec.attribs[1].stride in init() [all...] |
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsShaderRenderCase.cpp | 222 int stride = gridSize + 1; in QuadGrid() local 223 int v00 = (y * stride) + x; in QuadGrid() 224 int v01 = (y * stride) + x + 1; in QuadGrid() 225 int v10 = ((y+1) * stride) + x; in QuadGrid() 226 int v11 = ((y+1) * stride) + x + 1; in QuadGrid() 641 int stride = gridSize + 1; in computeVertexReference() local 686 int v00 = (y * stride) + x; in computeVertexReference() 687 int v01 = (y * stride) + x + 1; in computeVertexReference() 688 int v10 = ((y + 1) * stride) + x; in computeVertexReference() 689 int v11 = ((y + 1) * stride) in computeVertexReference() [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | tdfxfb.c | 381 tdfx_outl(par, VIDDESKSTRIDE, reg->stride); in do_write_regs() 694 reg.stride = info->var.xres * cpp; in tdfxfb_set_par() 695 reg.startaddr = info->var.yoffset * reg.stride in tdfxfb_set_par() 728 info->fix.line_length = reg.stride; in tdfxfb_set_par() 850 u32 stride = info->fix.line_length; in tdfxfb_fillrect() local 851 u32 fmt = stride | ((bpp + ((bpp == 8) ? 0 : 8)) << 13); in tdfxfb_fillrect() 864 dstbase = stride * dy; in tdfxfb_fillrect() 894 u32 stride = info->fix.line_length; in tdfxfb_copyarea() local 896 u32 fmt = stride | ((bpp + ((bpp == 8) ? 0 : 8)) << 13); in tdfxfb_copyarea() 902 srcbase = stride * s in tdfxfb_copyarea() 951 int i, stride = info->fix.line_length; tdfxfb_imageblit() local [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | tdfxfb.c | 380 tdfx_outl(par, VIDDESKSTRIDE, reg->stride); in do_write_regs() 693 reg.stride = info->var.xres * cpp; in tdfxfb_set_par() 694 reg.startaddr = info->var.yoffset * reg.stride in tdfxfb_set_par() 727 info->fix.line_length = reg.stride; in tdfxfb_set_par() 849 u32 stride = info->fix.line_length; in tdfxfb_fillrect() local 850 u32 fmt = stride | ((bpp + ((bpp == 8) ? 0 : 8)) << 13); in tdfxfb_fillrect() 863 dstbase = stride * dy; in tdfxfb_fillrect() 893 u32 stride = info->fix.line_length; in tdfxfb_copyarea() local 895 u32 fmt = stride | ((bpp + ((bpp == 8) ? 0 : 8)) << 13); in tdfxfb_copyarea() 901 srcbase = stride * s in tdfxfb_copyarea() 950 int i, stride = info->fix.line_length; tdfxfb_imageblit() local [all...] |
/third_party/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_emit.c | 956 OUT_CS(R300_VBPNTR_SIZE0(size1) | R300_VBPNTR_STRIDE0(vb1->stride) | in r300_emit_vertex_arrays() 957 R300_VBPNTR_SIZE1(size2) | R300_VBPNTR_STRIDE1(vb2->stride)); in r300_emit_vertex_arrays() 958 OUT_CS(vb1->buffer_offset + velem[i].src_offset + offset * vb1->stride); in r300_emit_vertex_arrays() 959 OUT_CS(vb2->buffer_offset + velem[i+1].src_offset + offset * vb2->stride); in r300_emit_vertex_arrays() 966 OUT_CS(R300_VBPNTR_SIZE0(size1) | R300_VBPNTR_STRIDE0(vb1->stride)); in r300_emit_vertex_arrays() 967 OUT_CS(vb1->buffer_offset + velem[i].src_offset + offset * vb1->stride); in r300_emit_vertex_arrays() 985 (instance_id / velem[i].instance_divisor) * vb1->stride; in r300_emit_vertex_arrays() 987 stride1 = vb1->stride; in r300_emit_vertex_arrays() 988 offset1 = vb1->buffer_offset + velem[i].src_offset + offset * vb1->stride; in r300_emit_vertex_arrays() 993 (instance_id / velem[i+1].instance_divisor) * vb2->stride; in r300_emit_vertex_arrays() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawMultiExtTests.cpp | 68 CONSTANT_PACK, // Use a constant value for pVertexOffset and a stride that removes the vertex offset member in structs. 89 deUint32 stride; member 233 deUint32 m_stride; // Desired stride. Must be zero or at least as big as the needed VkMultiDraw*InfoExt. 234 deUint32 m_extraBytes; // Used to match the desired stride. 251 // Number of extra bytes per entry according to the given stride. 252 static deUint32 calcExtraBytes (DrawType drawType, const tcu::Maybe<VertexOffsetType>& offsetType, deUint32 stride) in calcExtraBytes() argument 255 if (stride == 0u) in calcExtraBytes() 259 DE_ASSERT(stride >= minStride); in calcExtraBytes() 260 return (stride - minStride); in calcExtraBytes() 263 // Entry size in bytes taking into account the number of extra bytes due to stride 270 DrawInfoPacker(DrawType drawType, const tcu::Maybe<VertexOffsetType>& offsetType, deUint32 stride, deUint32 estimatedInfoCount, deUint32 seed) DrawInfoPacker() argument 314 deUint32 stride () const stride() function in vkt::Draw::__anon27920::DrawInfoPacker [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineBindVertexBuffers2Tests.cpp | 92 vk::VkVertexInputBindingDescription makeBindingDescription(uint32_t binding, uint32_t stride, vk::VkVertexInputRate inputRate) in makeBindingDescription() argument 97 bindingDescription.stride = stride; in makeBindingDescription() 356 log << tcu::TestLog::Message << "binding " << binding.binding << ", stride " << binding.stride << ", inputRate " << binding.inputRate << tcu::TestLog::EndMessage; in iterate() 520 log << tcu::TestLog::Message << "binding " << i << ", buffer " << buffers[i] << ", offset " << offsets[i] << ", size " << sizes[i] << ", stride " << strides[i] << tcu::TestLog::EndMessage; in iterate() 885 // random strides multiplyied later by 4, special value for atributes stride in createBuffers() 890 vk::VkDeviceSize stride = rnd.getUint64() % 30; in createBuffers() 891 while (stride == 0) in createBuffers() 892 stride in createBuffers() 900 const deUint32 stride = deUint32(strides[i]); createBuffers() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawMultiExtTests.cpp | 68 CONSTANT_PACK, // Use a constant value for pVertexOffset and a stride that removes the vertex offset member in structs. 89 deUint32 stride; member 233 deUint32 m_stride; // Desired stride. Must be zero or at least as big as the needed VkMultiDraw*InfoExt. 234 deUint32 m_extraBytes; // Used to match the desired stride. 251 // Number of extra bytes per entry according to the given stride. 252 static deUint32 calcExtraBytes (DrawType drawType, const tcu::Maybe<VertexOffsetType>& offsetType, deUint32 stride) in calcExtraBytes() argument 255 if (stride == 0u) in calcExtraBytes() 259 DE_ASSERT(stride >= minStride); in calcExtraBytes() 260 return (stride - minStride); in calcExtraBytes() 263 // Entry size in bytes taking into account the number of extra bytes due to stride 270 DrawInfoPacker(DrawType drawType, const tcu::Maybe<VertexOffsetType>& offsetType, deUint32 stride, deUint32 estimatedInfoCount, deUint32 seed) DrawInfoPacker() argument 314 deUint32 stride () const stride() function in vkt::Draw::__anon29161::DrawInfoPacker [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_texture.c | 132 unsigned level, const struct pipe_box *box, unsigned *stride, in si_texture_get_offset() 143 *stride = pitch * tex->surface.bpe; in si_texture_get_offset() 156 *stride = tex->surface.u.legacy.level[level].nblk_x * tex->surface.bpe; in si_texture_get_offset() 666 unsigned stride, offset, slice_size; in si_texture_get_handle() local 701 whandle->stride = ac_surface_get_plane_stride(sscreen->info.gfx_level, in si_texture_get_handle() 801 si_texture_get_info(screen, resource, &stride, &offset); in si_texture_get_handle() 820 whandle->stride = stride; in si_texture_get_handle() 1536 struct pb_buffer *buf, unsigned stride, in si_texture_from_winsys_buffer() 1583 offset, stride, in si_texture_from_winsys_buffer() 131 si_texture_get_offset(struct si_screen *sscreen, struct si_texture *tex, unsigned level, const struct pipe_box *box, unsigned *stride, unsigned *layer_stride) si_texture_get_offset() argument 1534 si_texture_from_winsys_buffer(struct si_screen *sscreen, const struct pipe_resource *templ, struct pb_buffer *buf, unsigned stride, uint64_t offset, uint64_t modifier, unsigned usage, bool dedicated) si_texture_from_winsys_buffer() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
H A D | pan_cmdstream.c | 114 * except for stride, which must be ORed in at draw time 899 * except for the stride field. The buffer descriptors are packed here, though 917 cfg.stride = ctx->vertex_buffers[vbi].stride; in panfrost_emit_vertex_data() 1276 panfrost_xfb_offset(unsigned stride, struct pipe_stream_output_target *target) in panfrost_xfb_offset() argument 1278 return target->buffer_offset + (pan_so_target(target)->offset * stride); in panfrost_xfb_offset() 1318 unsigned stride = so->stride[buf] * 4; in panfrost_upload_sysvals() local 1331 unsigned offset = panfrost_xfb_offset(stride, target); in panfrost_upload_sysvals() 1914 cfg.stride in emit_image_bufs() 2066 unsigned stride = buf->stride; panfrost_emit_vertex_data() local 2231 panfrost_emit_varyings(struct panfrost_batch *batch, struct mali_attribute_buffer_packed *slot, unsigned stride, unsigned count) panfrost_emit_varyings() argument 2384 unsigned stride = 0; pan_assign_varyings() local 2575 unsigned present = linkage->present, stride = linkage->stride; panfrost_emit_varying_descriptor() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ingenic/ |
H A D | ingenic-ipu.c | 290 u32 ctrl, stride = 0, coef_index = 0, format = 0; in ingenic_ipu_plane_atomic_update() local 341 stride = ((state->src_w >> 16) * finfo->cpp[2] / finfo->hsub) in ingenic_ipu_plane_atomic_update() 345 stride |= ((state->src_w >> 16) * finfo->cpp[1] / finfo->hsub) in ingenic_ipu_plane_atomic_update() 348 regmap_write(ipu->map, JZ_REG_IPU_UV_STRIDE, stride); in ingenic_ipu_plane_atomic_update() 350 stride = ((state->src_w >> 16) * finfo->cpp[0]) << JZ_IPU_Y_STRIDE_Y_LSB; in ingenic_ipu_plane_atomic_update() 351 regmap_write(ipu->map, JZ_REG_IPU_Y_STRIDE, stride); in ingenic_ipu_plane_atomic_update() 354 (stride << JZ_IPU_IN_GS_W_LSB) | in ingenic_ipu_plane_atomic_update() 422 /* Set the output height/width/stride */ in ingenic_ipu_plane_atomic_update()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
H A D | vc4_validate.c | 163 uint32_t aligned_width, aligned_height, stride, size; in vc4_check_tex_size() local 198 stride = aligned_width * cpp; in vc4_check_tex_size() 199 size = stride * aligned_height; in vc4_check_tex_size() 615 DRM_DEBUG("Cube map stride set twice\n"); in reloc_tex() 622 DRM_DEBUG("Cube map stride not set\n"); in reloc_tex() 892 uint32_t stride = *(uint8_t *)(pkt_u + o + 5); in validate_gl_shader_rec() local 899 stride |= (*(uint32_t *)(pkt_u + 100 + i * 4)) & ~0xff; in validate_gl_shader_rec() 908 if (stride != 0) { in validate_gl_shader_rec() 910 stride); in validate_gl_shader_rec()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ingenic/ |
H A D | ingenic-ipu.c | 330 u32 ctrl, stride = 0, coef_index = 0, format = 0; in ingenic_ipu_plane_atomic_update() local 391 stride = ((newstate->src_w >> 16) * finfo->cpp[2] / finfo->hsub) in ingenic_ipu_plane_atomic_update() 395 stride |= ((newstate->src_w >> 16) * finfo->cpp[1] / finfo->hsub) in ingenic_ipu_plane_atomic_update() 398 regmap_write(ipu->map, JZ_REG_IPU_UV_STRIDE, stride); in ingenic_ipu_plane_atomic_update() 400 stride = ((newstate->src_w >> 16) * finfo->cpp[0]) << JZ_IPU_Y_STRIDE_Y_LSB; in ingenic_ipu_plane_atomic_update() 401 regmap_write(ipu->map, JZ_REG_IPU_Y_STRIDE, stride); in ingenic_ipu_plane_atomic_update() 404 (stride << JZ_IPU_IN_GS_W_LSB) | in ingenic_ipu_plane_atomic_update() 472 /* Set the output height/width/stride */ in ingenic_ipu_plane_atomic_update()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/ |
H A D | vc4_validate.c | 168 uint32_t aligned_width, aligned_height, stride, size; in vc4_check_tex_size() local 206 stride = aligned_width * cpp; in vc4_check_tex_size() 207 size = stride * aligned_height; in vc4_check_tex_size() 627 DRM_DEBUG("Cube map stride set twice\n"); in reloc_tex() 634 DRM_DEBUG("Cube map stride not set\n"); in reloc_tex() 904 uint32_t stride = *(uint8_t *)(pkt_u + o + 5); in validate_gl_shader_rec() local 911 stride |= (*(uint32_t *)(pkt_u + 100 + i * 4)) & ~0xff; in validate_gl_shader_rec() 920 if (stride != 0) { in validate_gl_shader_rec() 922 stride); in validate_gl_shader_rec()
|
/third_party/ffmpeg/libavfilter/ |
H A D | ebur128.c | 320 int stride) { \ 328 type v = srcs[c][src_index + i * stride]; \ 344 st->d->v[ci][0] = (double) (srcs[c][src_index + i * stride] / scaling_factor) \ 462 size_t frames, int stride) { \ 466 ebur128_filter_##type(st, srcs, src_index, st->d->needed_frames, stride); \ 467 src_index += st->d->needed_frames * stride; \ 493 ebur128_filter_##type(st, srcs, src_index, frames, stride); \
|
/third_party/ffmpeg/libswscale/ |
H A D | swscale_internal.h | 1002 static inline void fillPlane16(uint8_t *plane, int stride, int width, int height, int y, in fillPlane16() argument 1006 uint8_t *ptr = plane + stride * y; in fillPlane16() 1018 ptr += stride; in fillPlane16() 1023 static inline void fillPlane32(uint8_t *plane, int stride, int width, int height, int y, in fillPlane32() argument 1027 uint8_t *ptr = plane + stride * y; in fillPlane32() 1045 ptr += stride; in fillPlane32() 1097 int ff_init_slice_from_src(SwsSlice * s, uint8_t *src[4], int stride[4], int srcW, int lumY, int lumH, int chrY, int chrH, int relative);
|