/hardware/intel/img/psb_video/src/ |
D | psb_surface.c | 67 psb_surface->stride = 512; in psb_surface_create() 70 psb_surface->stride = 1024; in psb_surface_create() 73 psb_surface->stride = 1280; in psb_surface_create() 77 psb_surface->stride = 2048; in psb_surface_create() 82 psb_surface->stride = 2048; in psb_surface_create() 85 psb_surface->stride = 4096; in psb_surface_create() 88 psb_surface->stride = (width + 0x3f) & ~0x3f; in psb_surface_create() 92 psb_surface->chroma_offset = psb_surface->stride * height; in psb_surface_create() 93 psb_surface->size = (psb_surface->stride * height * 3) / 2; in psb_surface_create() 98 psb_surface->stride = (width * 4 + pitchAlignMask) & ~pitchAlignMask;; in psb_surface_create() [all …]
|
D | pnw_rotate.c | 88 int stride = 0; in get_surface_stride() local 93 stride = 512; in get_surface_stride() 95 stride = 1024; in get_surface_stride() 97 stride = 1280; in get_surface_stride() 100 stride = 2048; in get_surface_stride() 104 stride = 2048; in get_surface_stride() 106 stride = 4096; in get_surface_stride() 108 stride = (width + 0x3f) & ~0x3f; in get_surface_stride() 111 return stride; in get_surface_stride() 558 share_info->scaling_luma_stride = psb_surface->stride; in psb_CreateScalingSurface() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 2682 int stride = 0, scanline = 0; in mm_stream_calc_offset_preview() local 2705 stride = PAD_TO_SIZE(dim->width, width_padding); in mm_stream_calc_offset_preview() 2709 buf_planes->plane_info.mp[0].len = (uint32_t)(stride * scanline); in mm_stream_calc_offset_preview() 2712 buf_planes->plane_info.mp[0].stride = stride; in mm_stream_calc_offset_preview() 2717 stride = PAD_TO_SIZE(dim->width, width_padding); in mm_stream_calc_offset_preview() 2721 (uint32_t)(stride * scanline); in mm_stream_calc_offset_preview() 2724 buf_planes->plane_info.mp[1].stride = stride; in mm_stream_calc_offset_preview() 2739 stride = PAD_TO_SIZE(dim->width, CAM_PAD_TO_32); in mm_stream_calc_offset_preview() 2742 stride = PAD_TO_SIZE(dim->width, padding->width_padding); in mm_stream_calc_offset_preview() 2747 PAD_TO_SIZE((uint32_t)(stride * scanline), CAM_PAD_TO_4K); in mm_stream_calc_offset_preview() [all …]
|
/hardware/interfaces/graphics/allocator/2.0/default/ |
D | Gralloc0Allocator.cpp | 71 uint32_t stride = 0; in allocate() local 84 if (stride == 0) { in allocate() 85 stride = tmpStride; in allocate() 86 } else if (stride != tmpStride) { in allocate() 89 stride = 0; in allocate() 102 hidl_cb(error, stride, hidl_buffers); in allocate() 120 int stride = 0; in allocateOne() local 123 &buffer, &stride); in allocateOne() 134 *outStride = stride; in allocateOne()
|
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
D | RotationBufferProvider.cpp | 122 int stride = 0; in getStride() local 124 stride = 512; in getStride() 126 stride = 1024; in getStride() 128 stride = 1280; in getStride() 130 stride = 2048; in getStride() 132 stride = 2048; in getStride() 134 stride = 4096; in getStride() 136 stride = (width + 0x3f) & ~0x3f; in getStride() 137 return stride; in getStride() 159 int stride; in createVaSurface() local [all …]
|
D | PlaneCapabilities.cpp | 84 const stride_t& stride = hwcLayer->getBufferStride(); in isSizeSupported() local 96 if (stride.rgb.stride > SPRITE_PLANE_MAX_STRIDE_LINEAR) { in isSizeSupported() 97 VTRACE("too large stride %d", stride.rgb.stride); in isSizeSupported() 128 if (stride.yuv.yStride > maxStride) { in isSizeSupported() 129 VTRACE("stride %d is too large", stride.yuv.yStride); in isSizeSupported()
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
D | RotationBufferProvider.cpp | 122 int stride = 0; in getStride() local 124 stride = 512; in getStride() 126 stride = 1024; in getStride() 128 stride = 1280; in getStride() 130 stride = 2048; in getStride() 132 stride = 2048; in getStride() 134 stride = 4096; in getStride() 136 stride = (width + 0x3f) & ~0x3f; in getStride() 137 return stride; in getStride() 159 int stride; in createVaSurface() local [all …]
|
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/ |
D | AnnRGBPlane.cpp | 94 uint32_t stride; in setDataBuffer() local 120 stride = mapper.getStride().rgb.stride; in setDataBuffer() 123 …linoff = srcY * stride + srcX * bpp + (mapper.getCrop().h - 1) * stride + (mapper.getCrop().w - 1… in setDataBuffer() 125 linoff = srcY * stride + srcX * bpp; in setDataBuffer() 128 if (linoff > (stride * mapper.getHeight())) { in setDataBuffer() 151 mContext.ctx.sp_ctx.stride = stride; in setDataBuffer() 162 mContext.ctx.sp_ctx.stride = align_to(srcW, 32) * 4; in setDataBuffer() 189 mContext.ctx.sp_ctx.stride, in setDataBuffer() 263 uint32_t stride; in setFramebufferTarget() local 284 stride = align_to((4 * align_to(mPosition.w, 32)), 64); in setFramebufferTarget() [all …]
|
D | PlaneCapabilities.cpp | 85 const stride_t& stride = hwcLayer->getBufferStride(); in isSizeSupported() local 97 VTRACE("stride %d", stride.rgb.stride); in isSizeSupported() 98 if (stride.rgb.stride > SPRITE_PLANE_MAX_STRIDE_LINEAR) { in isSizeSupported() 99 VTRACE("too large stride %d", stride.rgb.stride); in isSizeSupported() 130 if (stride.yuv.yStride > maxStride) { in isSizeSupported() 131 VTRACE("stride %d is too large", stride.yuv.yStride); in isSizeSupported()
|
/hardware/qcom/msm8996/original-kernel-headers/media/ |
D | msm_media_info.h | 418 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local 428 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE() 432 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE() 433 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_Y_STRIDE() 439 return stride; in VENUS_Y_STRIDE() 444 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local 454 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE() 458 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_UV_STRIDE() 459 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_UV_STRIDE() 465 return stride; in VENUS_UV_STRIDE() [all …]
|
/hardware/qcom/msm8996/kernel-headers/media/ |
D | msm_media_info.h | 418 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local 428 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE() 432 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE() 433 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_Y_STRIDE() 439 return stride; in VENUS_Y_STRIDE() 444 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local 454 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE() 458 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_UV_STRIDE() 459 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_UV_STRIDE() 465 return stride; in VENUS_UV_STRIDE() [all …]
|
/hardware/qcom/msm8998/original-kernel-headers/media/ |
D | msm_media_info.h | 607 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local 618 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE() 622 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE() 623 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_Y_STRIDE() 627 stride = MSM_MEDIA_ALIGN(width * 2, alignment); in VENUS_Y_STRIDE() 633 return stride; in VENUS_Y_STRIDE() 638 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local 649 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE() 653 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_UV_STRIDE() 654 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_UV_STRIDE() [all …]
|
/hardware/qcom/msm8998/kernel-headers/media/ |
D | msm_media_info.h | 607 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local 618 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE() 622 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_Y_STRIDE() 623 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_Y_STRIDE() 627 stride = MSM_MEDIA_ALIGN(width * 2, alignment); in VENUS_Y_STRIDE() 633 return stride; in VENUS_Y_STRIDE() 638 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local 649 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE() 653 stride = MSM_MEDIA_ALIGN(width, 192); in VENUS_UV_STRIDE() 654 stride = MSM_MEDIA_ALIGN(stride * 4/3, alignment); in VENUS_UV_STRIDE() [all …]
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/ |
D | AnnRGBPlane.cpp | 153 uint32_t stride; in setDataBuffer() local 179 stride = mapper.getStride().rgb.stride; in setDataBuffer() 182 …linoff = srcY * stride + srcX * bpp + (mapper.getCrop().h - 1) * stride + (mapper.getCrop().w - 1… in setDataBuffer() 184 linoff = srcY * stride + srcX * bpp; in setDataBuffer() 187 if (linoff > (stride * mapper.getHeight())) { in setDataBuffer() 210 mContext.ctx.sp_ctx.stride = stride; in setDataBuffer() 221 mContext.ctx.sp_ctx.stride = align_to(srcW, 32) * 4; in setDataBuffer() 247 mContext.ctx.sp_ctx.stride, in setDataBuffer() 321 uint32_t stride; in setFramebufferTarget() local 342 stride = align_to((4 * align_to(mPosition.w, 32)), 64); in setFramebufferTarget() [all …]
|
D | PlaneCapabilities.cpp | 83 const stride_t& stride = hwcLayer->getBufferStride(); in isSizeSupported() local 95 VLOGTRACE("stride %d", stride.rgb.stride); in isSizeSupported() 96 if (stride.rgb.stride > SPRITE_PLANE_MAX_STRIDE_LINEAR) { in isSizeSupported() 97 VLOGTRACE("too large stride %d", stride.rgb.stride); in isSizeSupported() 128 if (stride.yuv.yStride > maxStride) { in isSizeSupported() 129 VLOGTRACE("stride %d is too large", stride.yuv.yStride); in isSizeSupported()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-lib2d-interface/test/ |
D | mm_lib2d_test.c | 113 int32_t stride; member 142 int height, int stride, char *fname) in lib2d_dump_tga() argument 162 pd[(i*stride>>2)+j] & 0xff, // b in lib2d_dump_tga() 163 (pd[(i*stride>>2)+j] >> 8) & 0xff, // g in lib2d_dump_tga() 164 (pd[(i*stride>>2)+j] >> 16) & 0xff, // r in lib2d_dump_tga() 165 (pd[(i*stride>>2)+j] >> 24) & 0xff); // a in lib2d_dump_tga() 332 int32_t stride = 0; in main() local 408 input_yuv_stride = input_nv21[index].stride; in main() 420 filename, filename_in, width, height, stride); in main() 447 stride = width * 4; in main() [all …]
|
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/ |
D | TngSpritePlane.cpp | 43 uint32_t stride; in setDataBuffer() local 66 stride = mapper.getStride().rgb.stride; in setDataBuffer() 68 linoff = (mapper.getCrop().h + srcY - 1) * stride + (srcX + mapper.getCrop().w - 1) * bpp; in setDataBuffer() 70 linoff = srcY * stride + srcX * bpp; in setDataBuffer() 82 if (linoff > (stride * mapper.getHeight())) { in setDataBuffer() 98 mContext.ctx.sp_ctx.stride = stride; in setDataBuffer() 113 mContext.ctx.sp_ctx.stride, in setDataBuffer()
|
/hardware/qcom/msm8x84/kernel-headers/media/ |
D | msm_media_info.h | 154 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local 163 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE() 169 return stride; in VENUS_Y_STRIDE() 174 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local 183 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE() 189 return stride; in VENUS_UV_STRIDE()
|
/hardware/qcom/msm8x84/original-kernel-headers/media/ |
D | msm_media_info.h | 154 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local 163 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE() 169 return stride; in VENUS_Y_STRIDE() 174 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local 183 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE() 189 return stride; in VENUS_UV_STRIDE()
|
/hardware/qcom/msm8994/kernel-headers/media/ |
D | msm_media_info.h | 333 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local 343 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE() 347 stride = MSM_MEDIA_ALIGN(width * 4/3, alignment); in VENUS_Y_STRIDE() 353 return stride; in VENUS_Y_STRIDE() 358 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local 368 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE() 372 stride = MSM_MEDIA_ALIGN(width * 4/3, alignment); in VENUS_UV_STRIDE() 378 return stride; in VENUS_UV_STRIDE()
|
/hardware/interfaces/automotive/evs/1.0/vts/functional/ |
D | FrameHandler.cpp | 224 tgtBuffer.stride); in copyBufferContents() 228 srcBuffer.stride); in copyBufferContents() 247 tgtPixels, tgtBuffer.stride); in copyBufferContents() 251 tgtPixels, tgtBuffer.stride); in copyBufferContents() 254 srcPixels, srcBuffer.stride, in copyBufferContents() 255 tgtPixels, tgtBuffer.stride); in copyBufferContents() 258 srcPixels, srcBuffer.stride, in copyBufferContents() 259 tgtPixels, tgtBuffer.stride, in copyBufferContents()
|
/hardware/qcom/msm8994/original-kernel-headers/media/ |
D | msm_media_info.h | 333 unsigned int alignment, stride = 0; in VENUS_Y_STRIDE() local 343 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_Y_STRIDE() 347 stride = MSM_MEDIA_ALIGN(width * 4/3, alignment); in VENUS_Y_STRIDE() 353 return stride; in VENUS_Y_STRIDE() 358 unsigned int alignment, stride = 0; in VENUS_UV_STRIDE() local 368 stride = MSM_MEDIA_ALIGN(width, alignment); in VENUS_UV_STRIDE() 372 stride = MSM_MEDIA_ALIGN(width * 4/3, alignment); in VENUS_UV_STRIDE() 378 return stride; in VENUS_UV_STRIDE()
|
/hardware/intel/common/libmix/videoencoder/ |
D | VideoEncoderUtils.cpp | 45 int usage, buffer_handle_t* handle, int32_t* stride) { in gfx_alloc() argument 57 stride); in gfx_alloc() 285 int stride = mVASurfaceStride = mVinfo.lumaStride; in doMapping() local 302 stride = tmp.lumaStride; in doMapping() 311 … if (gfx_alloc(width, height, HAL_PIXEL_FORMAT_NV12, usage, &mGfxHandle, &stride) != 0) in doMapping() 315 mGfxHandle, width, height, stride); in doMapping() 323 if (mAction & MAP_ACTION_ALIGN64 && stride % 64 != 0) { in doMapping() 325 stride = (stride + 63 ) & ~63; in doMapping() 335 mVASurface = CreateNewVASurface(mVADisplay, stride, height); in doMapping() 338 mVASurfaceWidth = mVASurfaceStride = stride; in doMapping() [all …]
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | alloc_controller.cpp | 107 int stride = ALIGN(width, 32); in getStride() local 127 stride = LINK_adreno_compute_padding(stride, bpp, in getStride() 135 stride = ALIGN(width, 32); in getStride() 138 stride = ALIGN(width, 128); in getStride() 148 stride = ALIGN(width, 16); in getStride() 151 stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, width); in getStride() 154 stride = width; in getStride() 159 return stride; in getStride()
|
/hardware/qcom/camera/msm8998/QCamera2/util/ |
D | QCameraDualFOVPP.cpp | 435 frm_offset.mp[0].stride, frm_offset.mp[0].scanline, in process() 621 inParams.wide.stride = offset.mp[0].stride; in getInputParams() 629 inParams.tele.stride = offset.mp[0].stride; in getInputParams() 692 memcpy(pOut, pWide, inParams.wide.stride * inParams.wide.scanline / 2); in doDualFovPPProcess() 693 memcpy(pOut + inParams.wide.stride * inParams.wide.scanline / 2, in doDualFovPPProcess() 694 pTele + inParams.wide.stride * inParams.wide.scanline / 2, in doDualFovPPProcess() 695 inParams.wide.stride * inParams.wide.scanline / 2); in doDualFovPPProcess() 698 uint32_t uv_offset = inParams.wide.stride * inParams.wide.scanline; in doDualFovPPProcess() 701 inParams.wide.stride * (inParams.wide.scanline / 2) / 2); in doDualFovPPProcess() 702 memcpy(pOut + uv_offset + inParams.wide.stride * (inParams.wide.scanline / 2) / 2, in doDualFovPPProcess() [all …]
|