Home
last modified time | relevance | path

Searched refs:stride (Results 1 - 25 of 993) sorted by relevance

12345678910>>...40

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
H A Di915_gem_tiling.c48 * @stride: tiling stride
54 u32 size, unsigned int tiling, unsigned int stride) in i915_gem_fence_size()
63 GEM_BUG_ON(!stride); in i915_gem_fence_size()
66 stride *= i915_gem_tile_height(tiling); in i915_gem_fence_size()
67 GEM_BUG_ON(!IS_ALIGNED(stride, I965_FENCE_PAGE)); in i915_gem_fence_size()
68 return roundup(size, stride); in i915_gem_fence_size()
88 * @stride: tiling stride
94 unsigned int tiling, unsigned int stride) in i915_gem_fence_alignment()
53 i915_gem_fence_size(struct drm_i915_private *i915, u32 size, unsigned int tiling, unsigned int stride) i915_gem_fence_size() argument
93 i915_gem_fence_alignment(struct drm_i915_private *i915, u32 size, unsigned int tiling, unsigned int stride) i915_gem_fence_alignment() argument
117 i915_tiling_ok(struct drm_i915_gem_object *obj, unsigned int tiling, unsigned int stride) i915_tiling_ok() argument
159 i915_vma_fence_prepare(struct i915_vma *vma, int tiling_mode, unsigned int stride) i915_vma_fence_prepare() argument
181 i915_gem_object_fence_prepare(struct drm_i915_gem_object *obj, int tiling_mode, unsigned int stride) i915_gem_object_fence_prepare() argument
220 i915_gem_object_set_tiling(struct drm_i915_gem_object *obj, unsigned int tiling, unsigned int stride) i915_gem_object_set_tiling() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/
H A Di915_gem_tiling.c50 * @stride: tiling stride
56 u32 size, unsigned int tiling, unsigned int stride) in i915_gem_fence_size()
65 GEM_BUG_ON(!stride); in i915_gem_fence_size()
68 stride *= i915_gem_tile_height(tiling); in i915_gem_fence_size()
69 GEM_BUG_ON(!IS_ALIGNED(stride, I965_FENCE_PAGE)); in i915_gem_fence_size()
70 return roundup(size, stride); in i915_gem_fence_size()
90 * @stride: tiling stride
96 unsigned int tiling, unsigned int stride) in i915_gem_fence_alignment()
55 i915_gem_fence_size(struct drm_i915_private *i915, u32 size, unsigned int tiling, unsigned int stride) i915_gem_fence_size() argument
95 i915_gem_fence_alignment(struct drm_i915_private *i915, u32 size, unsigned int tiling, unsigned int stride) i915_gem_fence_alignment() argument
119 i915_tiling_ok(struct drm_i915_gem_object *obj, unsigned int tiling, unsigned int stride) i915_tiling_ok() argument
161 i915_vma_fence_prepare(struct i915_vma *vma, int tiling_mode, unsigned int stride) i915_vma_fence_prepare() argument
183 i915_gem_object_fence_prepare(struct drm_i915_gem_object *obj, int tiling_mode, unsigned int stride) i915_gem_object_fence_prepare() argument
231 i915_gem_object_set_tiling(struct drm_i915_gem_object *obj, unsigned int tiling, unsigned int stride) i915_gem_object_set_tiling() argument
[all...]
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/stable_sample/sample/encoder/
H A Dvenc_sample.cpp42 int32_t stride) in ReadYUV420SP()
47 int32_t pixelSize = int32_t(stride / width); in ReadYUV420SP()
51 addr += stride; in ReadYUV420SP()
53 return stride * height * 3 / 2; // 3: nom, 2: denom in ReadYUV420SP()
57 int32_t stride) in ReadYUV420P()
62 int32_t pixelSize = int32_t(stride / width); in ReadYUV420P()
67 addr += stride; in ReadYUV420P()
70 stride >>= 1; in ReadYUV420P()
74 addr += stride; in ReadYUV420P()
76 return stride * heigh in ReadYUV420P()
41 ReadYUV420SP(std::shared_ptr<VideoEncSignal> &signal, uint8_t *addr, int32_t width, int32_t height, int32_t stride) ReadYUV420SP() argument
56 ReadYUV420P(std::shared_ptr<VideoEncSignal> &signal, uint8_t *addr, int32_t width, int32_t height, int32_t stride) ReadYUV420P() argument
79 ReadRGBA(std::shared_ptr<VideoEncSignal> &signal, uint8_t *addr, int32_t width, int32_t height, int32_t stride) ReadRGBA() argument
520 int32_t stride = 0; global() local
580 int32_t stride = sbuffer->GetStride(); global() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
H A Dmsm_media_info.h825 unsigned int stride = 0; in VENUS_Y_STRIDE() local
835 stride = MSM_MEDIA_ALIGN(width, 128); in VENUS_Y_STRIDE()
838 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE()
839 stride = MSM_MEDIA_ALIGN(stride * 4 / 3, 256); in VENUS_Y_STRIDE()
842 stride = MSM_MEDIA_ALIGN(width * 2, 256); in VENUS_Y_STRIDE()
845 stride = MSM_MEDIA_ALIGN(width * 2, 128); in VENUS_Y_STRIDE()
849 return stride; in VENUS_Y_STRIDE()
861 unsigned int stride = 0; in VENUS_UV_STRIDE() local
871 stride in VENUS_UV_STRIDE()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/
H A Dmsm_media_info.h825 unsigned int stride = 0; in VENUS_Y_STRIDE() local
835 stride = MSM_MEDIA_ALIGN(width, 128); in VENUS_Y_STRIDE()
838 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE()
839 stride = MSM_MEDIA_ALIGN(stride * 4 / 3, 256); in VENUS_Y_STRIDE()
842 stride = MSM_MEDIA_ALIGN(width * 2, 256); in VENUS_Y_STRIDE()
845 stride = MSM_MEDIA_ALIGN(width * 2, 128); in VENUS_Y_STRIDE()
849 return stride; in VENUS_Y_STRIDE()
861 unsigned int stride = 0; in VENUS_UV_STRIDE() local
871 stride in VENUS_UV_STRIDE()
[all...]
/kernel/linux/linux-6.6/arch/riscv/mm/
H A Dtlbflush.c40 unsigned long stride, in local_flush_tlb_range_threshold_asid()
43 unsigned long nr_ptes_in_range = DIV_ROUND_UP(size, stride); in local_flush_tlb_range_threshold_asid()
53 start += stride; in local_flush_tlb_range_threshold_asid()
58 unsigned long size, unsigned long stride, unsigned long asid) in local_flush_tlb_range_asid()
60 if (size <= stride) in local_flush_tlb_range_asid()
65 local_flush_tlb_range_threshold_asid(start, size, stride, asid); in local_flush_tlb_range_asid()
91 unsigned long stride; member
98 local_flush_tlb_range_asid(d->start, d->size, d->stride, d->asid); in __ipi_flush_tlb_range_asid()
102 unsigned long size, unsigned long stride) in __flush_tlb_range()
132 ftd.stride in __flush_tlb_range()
38 local_flush_tlb_range_threshold_asid(unsigned long start, unsigned long size, unsigned long stride, unsigned long asid) local_flush_tlb_range_threshold_asid() argument
57 local_flush_tlb_range_asid(unsigned long start, unsigned long size, unsigned long stride, unsigned long asid) local_flush_tlb_range_asid() argument
101 __flush_tlb_range(struct mm_struct *mm, unsigned long start, unsigned long size, unsigned long stride) __flush_tlb_range() argument
[all...]
/test/xts/hats/hdf/hdf_lite/display/
H A Dloadbmp_test.c115 uint8_t **outBuf, uint32_t *stride) in LoadPicToBuffer()
144 *stride = videoLogo->width * videoLogo->bpp; in LoadPicToBuffer()
146 if ((*stride % FOUR_BITS_PER_PIXEL) != 0) { in LoadPicToBuffer()
147 *stride = (*stride & 0xfffc) + FOUR_BITS_PER_PIXEL; in LoadPicToBuffer()
150 *outBuf = (uint8_t*)malloc(videoLogo->height * (*stride)); in LoadPicToBuffer()
157 byteNum = h * (*stride); in LoadPicToBuffer()
166 HDF_LOGE("%s: fread %u*%u error", __func__, h, *stride); in LoadPicToBuffer()
173 videoLogo->stride = videoLogo->width * FOUR_BITS_PER_PIXEL; in LoadPicToBuffer()
175 videoLogo->stride in LoadPicToBuffer()
114 LoadPicToBuffer(const int8_t *fileName, OsdLogo *videoLogo, OsdColorFmt enFmt, uint8_t **outBuf, uint32_t *stride) LoadPicToBuffer() argument
181 LoadRgbData(OsdLogo *videoLogo, OsdColorFmt enFmt, uint32_t stride, uint8_t *origBuf) LoadRgbData() argument
204 LoadData(OsdLogo *videoLogo, OsdColorFmt enFmt, uint32_t stride, uint8_t *origBuf) LoadData() argument
227 Copy3BitsByFmt(OsdLogo *videoLogo, OsdColorFmt enFmt, uint32_t stride, uint8_t *origBuf) Copy3BitsByFmt() argument
251 Copy2BitsAnd4Bits(OsdLogo *videoLogo, uint32_t stride, uint8_t *origBuf) Copy2BitsAnd4Bits() argument
275 uint32_t stride; LoadBMPEx() local
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/
H A Dimage_format_convert_ext_utils.cpp55 reinterpret_cast<uint16_t *>(destParam.slice[0]), destParam.stride[0], in I010ToP010()
56 reinterpret_cast<uint16_t *>(destParam.slice[1]), destParam.stride[1], in I010ToP010()
61 reinterpret_cast<uint16_t *>(destParam.slice[0]), destParam.stride[0], in I010ToP010()
62 reinterpret_cast<uint16_t *>(destParam.slice[1]), destParam.stride[1], in I010ToP010()
85 converter.RGB24ToI420(srcParam.slice[0], srcParam.stride[0], i420.I420Y, i420.yStride, i420.I420U, in RGBToI420()
89 converter.RGB565ToI420(srcParam.slice[0], srcParam.stride[0], i420.I420Y, i420.yStride, i420.I420U, in RGBToI420()
93 converter.ABGRToI420(srcParam.slice[0], srcParam.stride[0], i420.I420Y, i420.yStride, i420.I420U, in RGBToI420()
97 converter.ARGBToI420(srcParam.slice[0], srcParam.stride[0], i420.I420Y, i420.yStride, i420.I420U, in RGBToI420()
112 destParam.slice[0], destParam.stride[0], destParam.slice[1], destParam.stride[ in I420ToYuv()
192 CalcRGBStride(PixelFormat format, uint32_t width, int &stride) CalcRGBStride() argument
[all...]
H A Dimage_format_convert_utils.cpp64 static bool CalcRGBStride(PixelFormat format, uint32_t width, int &stride) in CalcRGBStride() argument
67 stride = static_cast<int>(width * BYTES_PER_PIXEL_RGBA); in CalcRGBStride()
73 stride = static_cast<int>(width * BYTES_PER_PIXEL_RGB565); in CalcRGBStride()
76 stride = static_cast<int>(width * BYTES_PER_PIXEL_RGBA); in CalcRGBStride()
79 stride = static_cast<int>(width * STRIDES_PER_PLANE); in CalcRGBStride()
82 stride = static_cast<int>(width * BYTES_PER_PIXEL_BGRA); in CalcRGBStride()
85 stride = static_cast<int>(width * BYTES_PER_PIXEL_RGB); in CalcRGBStride()
98 srcParam.stride[0] = static_cast<int>(yDInfo.yStride); in YuvToRGBParam()
99 srcParam.stride[1] = static_cast<int>(yDInfo.uvStride); in YuvToRGBParam()
111 destParam.stride[ in YuvToRGBParam()
137 FillFrameInfo(AVFrame *frame, uint8_t *slice[], int stride[]) FillFrameInfo() argument
[all...]
/kernel/linux/linux-6.6/drivers/hwspinlock/
H A Dqcom_hwspinlock.c24 u32 stride; member
82 .stride = 0x4,
96 .stride = 0x80,
110 .stride = 0x1000,
127 u32 *base, u32 *stride) in qcom_hwspinlock_probe_syscon()
148 ret = of_property_read_u32_index(pdev->dev.of_node, "syscon", 2, stride); in qcom_hwspinlock_probe_syscon()
150 dev_err(&pdev->dev, "no stride syscon\n"); in qcom_hwspinlock_probe_syscon()
158 u32 *offset, u32 *stride) in qcom_hwspinlock_probe_mmio()
169 *stride = data->stride; in qcom_hwspinlock_probe_mmio()
126 qcom_hwspinlock_probe_syscon(struct platform_device *pdev, u32 *base, u32 *stride) qcom_hwspinlock_probe_syscon() argument
157 qcom_hwspinlock_probe_mmio(struct platform_device *pdev, u32 *offset, u32 *stride) qcom_hwspinlock_probe_mmio() argument
184 u32 stride; qcom_hwspinlock_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/runtime/frame/src/
H A Dframe.c34 unsigned int stride,
433 config->stride = HIVE_ISP_DDR_WORD_BYTES * words_per_line; in ia_css_dma_configure_from_info()
452 unsigned int stride, in frame_init_plane()
458 plane->stride = stride; in frame_init_plane()
468 unsigned int stride; in frame_init_single_plane() local
470 stride = subpixels_per_line * bytes_per_pixel; in frame_init_single_plane()
477 frame->data_bytes = stride * CEIL_MUL2(height, 2); in frame_init_single_plane()
478 frame_init_plane(plane, subpixels_per_line, stride, height, 0); in frame_init_single_plane()
489 unsigned int stride; in frame_init_raw_single_plane() local
450 frame_init_plane(struct ia_css_frame_plane *plane, unsigned int width, unsigned int stride, unsigned int height, unsigned int offset) frame_init_plane() argument
576 height = frame->frame_info.res.height, stride, bytes; frame_init_rgb_planes() local
592 height = frame->frame_info.res.height / 2, bytes, stride; frame_init_qplane6_planes() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
H A Ddcr.c148 unsigned int stride; in of_translate_dcr_address() local
156 p = of_get_property(dp, "dcr-mmio-stride", NULL); in of_translate_dcr_address()
157 stride = (p == NULL) ? 0x10 : *p; in of_translate_dcr_address()
169 ret += (u64)(stride) * (u64)dcr_n; in of_translate_dcr_address()
171 *out_stride = stride; in of_translate_dcr_address()
182 dcr_host_mmio_t ret = { .token = NULL, .stride = 0, .base = dcr_n }; in dcr_map_mmio()
188 addr = of_translate_dcr_address(dev, dcr_n, &ret.stride); in dcr_map_mmio()
189 pr_debug("translates to addr: 0x%llx, stride: 0x%x\n", in dcr_map_mmio()
190 (unsigned long long) addr, ret.stride); in dcr_map_mmio()
193 pr_debug("mapping 0x%x bytes\n", dcr_c * ret.stride); in dcr_map_mmio()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/sysdev/
H A Ddcr.c148 unsigned int stride; in of_translate_dcr_address() local
156 p = of_get_property(dp, "dcr-mmio-stride", NULL); in of_translate_dcr_address()
157 stride = (p == NULL) ? 0x10 : *p; in of_translate_dcr_address()
169 ret += (u64)(stride) * (u64)dcr_n; in of_translate_dcr_address()
171 *out_stride = stride; in of_translate_dcr_address()
182 dcr_host_mmio_t ret = { .token = NULL, .stride = 0, .base = dcr_n }; in dcr_map_mmio()
188 addr = of_translate_dcr_address(dev, dcr_n, &ret.stride); in dcr_map_mmio()
189 pr_debug("translates to addr: 0x%llx, stride: 0x%x\n", in dcr_map_mmio()
190 (unsigned long long) addr, ret.stride); in dcr_map_mmio()
193 pr_debug("mapping 0x%x bytes\n", dcr_c * ret.stride); in dcr_map_mmio()
[all...]
/foundation/arkui/ui_lite/frameworks/render/
H A Drender_buffer.h43 * @param stride Buffer stride.
45 RenderBuffer(uint8_t* renBuf, uint32_t areaWidth, uint32_t areaHeight, int32_t stride) in RenderBuffer() argument
52 Attach(renBuf, areaWidth, areaHeight, stride); in RenderBuffer()
60 * @param stride Buffer stride.
62 void Attach(uint8_t* renBuf, uint32_t areaWidth, uint32_t areaHeight, int32_t stride) in Attach() argument
68 bufStride_ = stride; in Attach()
69 if (stride < 0) { in Attach()
70 start_ = renBuf - static_cast<int32_t>(areaHeight - 1) * stride; in Attach()
[all...]
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dtlbflush.h219 * __flush_tlb_range(vma, start, end, stride, last_level)
223 * determined by 'stride' and only affect any walk-cache entries
344 * @stride: Flush granularity
351 * entries one by one at the granularity of 'stride'. If the TLB
367 #define __flush_tlb_range_op(op, start, pages, stride, \
381 start += stride; \
382 pages -= stride >> PAGE_SHIFT; \
400 #define __flush_s2_tlb_range_op(op, start, pages, stride, tlb_level) \
401 __flush_tlb_range_op(op, start, pages, stride, 0, tlb_level, false)
405 unsigned long stride, boo in __flush_tlb_range()
403 __flush_tlb_range(struct vm_area_struct *vma, unsigned long start, unsigned long end, unsigned long stride, bool last_level, int tlb_level) __flush_tlb_range() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
H A Dqxl_image.c59 int height, int stride) in qxl_image_alloc_objects()
76 ret = qxl_allocate_chunk(qdev, release, image, sizeof(struct qxl_data_chunk) + stride * height); in qxl_image_alloc_objects()
106 int stride) in qxl_image_init_helper()
123 chunk_stride = stride; /* TODO: should use linesize, but it renders in qxl_image_init_helper()
140 if (stride == linesize && chunk_stride == stride) { in qxl_image_init_helper()
169 i_data = (void *)data + i * stride; in qxl_image_init_helper()
221 image->u.bitmap.stride = chunk_stride; in qxl_image_init_helper()
235 int depth, int stride) in qxl_image_init()
237 data += y * stride in qxl_image_init()
56 qxl_image_alloc_objects(struct qxl_device *qdev, struct qxl_release *release, struct qxl_drm_image **image_ptr, int height, int stride) qxl_image_alloc_objects() argument
100 qxl_image_init_helper(struct qxl_device *qdev, struct qxl_release *release, struct qxl_drm_image *dimage, const uint8_t *data, int width, int height, int depth, unsigned int hash, int stride) qxl_image_init_helper() argument
230 qxl_image_init(struct qxl_device *qdev, struct qxl_release *release, struct qxl_drm_image *dimage, const uint8_t *data, int x, int y, int width, int height, int depth, int stride) qxl_image_init() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
H A Divtv-alsa-pcm.c61 unsigned int stride; in ivtv_alsa_announce_pcm_data() local
80 stride = runtime->frame_bits >> 3; in ivtv_alsa_announce_pcm_data()
81 if (stride == 0) { in ivtv_alsa_announce_pcm_data()
82 dprintk("stride is zero\n"); in ivtv_alsa_announce_pcm_data()
86 length = num_bytes / stride; in ivtv_alsa_announce_pcm_data()
101 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in ivtv_alsa_announce_pcm_data()
102 cnt * stride); in ivtv_alsa_announce_pcm_data()
103 memcpy(runtime->dma_area, pcm_data + cnt * stride, in ivtv_alsa_announce_pcm_data()
104 length * stride - cnt * stride); in ivtv_alsa_announce_pcm_data()
[all...]
/kernel/linux/linux-5.10/drivers/media/pci/cx18/
H A Dcx18-alsa-pcm.c64 unsigned int stride; in cx18_alsa_announce_pcm_data() local
83 stride = runtime->frame_bits >> 3; in cx18_alsa_announce_pcm_data()
84 if (stride == 0) { in cx18_alsa_announce_pcm_data()
85 dprintk("stride is zero\n"); in cx18_alsa_announce_pcm_data()
89 length = num_bytes / stride; in cx18_alsa_announce_pcm_data()
104 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in cx18_alsa_announce_pcm_data()
105 cnt * stride); in cx18_alsa_announce_pcm_data()
106 memcpy(runtime->dma_area, pcm_data + cnt * stride, in cx18_alsa_announce_pcm_data()
107 length * stride - cnt * stride); in cx18_alsa_announce_pcm_data()
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/cx18/
H A Dcx18-alsa-pcm.c64 unsigned int stride; in cx18_alsa_announce_pcm_data() local
83 stride = runtime->frame_bits >> 3; in cx18_alsa_announce_pcm_data()
84 if (stride == 0) { in cx18_alsa_announce_pcm_data()
85 dprintk("stride is zero\n"); in cx18_alsa_announce_pcm_data()
89 length = num_bytes / stride; in cx18_alsa_announce_pcm_data()
104 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in cx18_alsa_announce_pcm_data()
105 cnt * stride); in cx18_alsa_announce_pcm_data()
106 memcpy(runtime->dma_area, pcm_data + cnt * stride, in cx18_alsa_announce_pcm_data()
107 length * stride - cnt * stride); in cx18_alsa_announce_pcm_data()
[all...]
/kernel/linux/linux-6.6/drivers/media/pci/ivtv/
H A Divtv-alsa-pcm.c61 unsigned int stride; in ivtv_alsa_announce_pcm_data() local
80 stride = runtime->frame_bits >> 3; in ivtv_alsa_announce_pcm_data()
81 if (stride == 0) { in ivtv_alsa_announce_pcm_data()
82 dprintk("stride is zero\n"); in ivtv_alsa_announce_pcm_data()
86 length = num_bytes / stride; in ivtv_alsa_announce_pcm_data()
101 memcpy(runtime->dma_area + oldptr * stride, pcm_data, in ivtv_alsa_announce_pcm_data()
102 cnt * stride); in ivtv_alsa_announce_pcm_data()
103 memcpy(runtime->dma_area, pcm_data + cnt * stride, in ivtv_alsa_announce_pcm_data()
104 length * stride - cnt * stride); in ivtv_alsa_announce_pcm_data()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/qxl/
H A Dqxl_image.c59 int height, int stride) in qxl_image_alloc_objects()
76 ret = qxl_allocate_chunk(qdev, release, image, sizeof(struct qxl_data_chunk) + stride * height); in qxl_image_alloc_objects()
106 int stride) in qxl_image_init_helper()
123 chunk_stride = stride; /* TODO: should use linesize, but it renders in qxl_image_init_helper()
140 if (stride == linesize && chunk_stride == stride) { in qxl_image_init_helper()
169 i_data = (void *)data + i * stride; in qxl_image_init_helper()
221 image->u.bitmap.stride = chunk_stride; in qxl_image_init_helper()
235 int depth, int stride) in qxl_image_init()
237 data += y * stride in qxl_image_init()
56 qxl_image_alloc_objects(struct qxl_device *qdev, struct qxl_release *release, struct qxl_drm_image **image_ptr, int height, int stride) qxl_image_alloc_objects() argument
100 qxl_image_init_helper(struct qxl_device *qdev, struct qxl_release *release, struct qxl_drm_image *dimage, const uint8_t *data, int width, int height, int depth, unsigned int hash, int stride) qxl_image_init_helper() argument
230 qxl_image_init(struct qxl_device *qdev, struct qxl_release *release, struct qxl_drm_image *dimage, const uint8_t *data, int x, int y, int width, int height, int depth, int stride) qxl_image_init() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-regs.c312 u32 stride; in mdp_fmt_get_stride() local
314 stride = (bytesperline * MDP_COLOR_BITS_PER_PIXEL(c)) in mdp_fmt_get_stride()
317 return stride; in mdp_fmt_get_stride()
320 stride = stride / 2; in mdp_fmt_get_stride()
321 return stride; in mdp_fmt_get_stride()
331 u32 stride = pix_stride; in mdp_fmt_get_stride_contig() local
334 return stride; in mdp_fmt_get_stride_contig()
336 stride = stride >> MDP_COLOR_GET_H_SUBSAMPL in mdp_fmt_get_stride_contig()
345 mdp_fmt_get_plane_size(const struct mdp_format *fmt, u32 stride, u32 height, unsigned int plane) mdp_fmt_get_plane_size() argument
373 u32 stride = mdp_fmt_get_stride(frame->mdp_fmt, mdp_prepare_buffer() local
383 u32 stride = mdp_fmt_get_stride_contig(frame->mdp_fmt, mdp_prepare_buffer() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/frame/src/
H A Dframe.c34 unsigned int stride,
609 config->stride = HIVE_ISP_DDR_WORD_BYTES * words_per_line; in ia_css_dma_configure_from_info()
622 unsigned int stride, in frame_init_plane()
628 plane->stride = stride; in frame_init_plane()
638 unsigned int stride; in frame_init_single_plane() local
640 stride = subpixels_per_line * bytes_per_pixel; in frame_init_single_plane()
647 frame->data_bytes = stride * CEIL_MUL2(height, 2); in frame_init_single_plane()
648 frame_init_plane(plane, subpixels_per_line, stride, height, 0); in frame_init_single_plane()
659 unsigned int stride; in frame_init_raw_single_plane() local
620 frame_init_plane(struct ia_css_frame_plane *plane, unsigned int width, unsigned int stride, unsigned int height, unsigned int offset) frame_init_plane() argument
677 unsigned int stride; frame_init_mipi_plane() local
762 height = frame->info.res.height, stride, bytes; frame_init_rgb_planes() local
778 height = frame->info.res.height / 2, bytes, stride; frame_init_qplane6_planes() local
[all...]
/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/
H A Dmesh_builder.cpp132 uint32_t stride; member
621 if ((dstElementSize > dstData.stride) || (dstData.stride > (dstData.buffer.size() / count))) { in Fill()
630 if ((srcElementSize > srcData.stride) || (srcData.stride > (srcData.buffer.size() / count))) { in Fill()
635 if (dstData.stride == srcData.stride && dstData.stride == dstElementSize) { in Fill()
639 // stride mismatch or padding in Fill()
645 dstPtr += dstData.stride; in Fill()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
H A Di915_vma.c364 return (r->plane[n].stride * (r->plane[n].height - y - 1) + in rotated_index()
414 return (r->plane[n].stride * y + in remapped_index()
482 { .width = 1, .height = 1, .stride = 1 }, in igt_vma_rotate_remap()
483 { .width = 2, .height = 2, .stride = 2 }, in igt_vma_rotate_remap()
484 { .width = 4, .height = 4, .stride = 4 }, in igt_vma_rotate_remap()
485 { .width = 8, .height = 8, .stride = 8 }, in igt_vma_rotate_remap()
487 { .width = 3, .height = 5, .stride = 3 }, in igt_vma_rotate_remap()
488 { .width = 3, .height = 5, .stride = 4 }, in igt_vma_rotate_remap()
489 { .width = 3, .height = 5, .stride = 5 }, in igt_vma_rotate_remap()
491 { .width = 5, .height = 3, .stride in igt_vma_rotate_remap()
[all...]

Completed in 21 milliseconds

12345678910>>...40