/hardware/samsung_slsi/exynos5/include/ |
D | swconverter.h | 127 unsigned int height); 151 unsigned int height); 178 unsigned int height); 204 unsigned int height); 232 unsigned int height); 261 int height); 286 int height); 315 unsigned int height); 340 unsigned int height); 406 unsigned int height); [all …]
|
/hardware/samsung_slsi/exynos5/libexynosutils/ |
D | exynos5_format_v4l2.c | 262 int height) in FRAME_SIZE() argument 272 frame_size = GET_16BPP_FRAME_SIZE(width, height); in FRAME_SIZE() 277 frame_size = GET_24BPP_FRAME_SIZE(width, height); in FRAME_SIZE() 284 frame_size = GET_32BPP_FRAME_SIZE(width, height); in FRAME_SIZE() 292 size = ALIGN(width, 16) * ALIGN(height, 16); in FRAME_SIZE() 293 frame_size = size + 2 * ALIGN(width >> 1, 8) * ALIGN(height >> 1, 8); in FRAME_SIZE() 300 size = ALIGN(ALIGN(width, 16) * ALIGN(height, 16), 2048); in FRAME_SIZE() 301 frame_size = size + ALIGN(ALIGN(width, 16) * ALIGN(height >> 1, 8), 2048); in FRAME_SIZE() 305 frame_size = ALIGN_TO_8KB(ALIGN_TO_128B(width) * ALIGN_TO_32B(height)) in FRAME_SIZE() 306 + ALIGN_TO_8KB(ALIGN_TO_128B(width) * ALIGN_TO_32B(height >> 1)); in FRAME_SIZE() [all …]
|
/hardware/qcom/display/libcopybit/ |
D | software_converter.cpp | 54 unsigned int height = src->h; in convertYV12toYCrCb420SP() local 100 while(r1 < height/2) { in convertYV12toYCrCb420SP() 129 int height; member 149 int height = info.height; in copy_source_to_destination() local 154 for (int i = 0; i < height; i++) { in copy_source_to_destination() 164 height = height/2; in copy_source_to_destination() 165 for (int i = 0; i < height; i++) { in copy_source_to_destination() 196 info.height = rhs->h; in convert_yuv_c2d_to_yuv_android() 202 info.src_plane1_offset = info.src_stride*info.height; in convert_yuv_c2d_to_yuv_android() 203 info.dst_plane1_offset = info.dst_stride*info.height; in convert_yuv_c2d_to_yuv_android() [all …]
|
/hardware/qcom/camera/mm-camera-interface/ |
D | mm_camera_helper.c | 184 int height, in mm_camera_get_msm_frame_len() argument 198 size = (uint32_t)(PAD_TO_2K(width*height)*3/2); in mm_camera_get_msm_frame_len() 199 plane[0] = PAD_TO_WORD(width*height); in mm_camera_get_msm_frame_len() 202 plane[0] = PAD_TO_2K(width * height); in mm_camera_get_msm_frame_len() 203 plane[1] = PAD_TO_2K(width * height/2); in mm_camera_get_msm_frame_len() 205 plane[0] = PAD_TO_WORD(width * height); in mm_camera_get_msm_frame_len() 206 plane[1] = PAD_TO_WORD(width * height/2); in mm_camera_get_msm_frame_len() 208 plane[0] = PAD_TO_WORD(width * CEILING16(height)); in mm_camera_get_msm_frame_len() 209 plane[1] = PAD_TO_WORD(width * CEILING16(height)/2); in mm_camera_get_msm_frame_len() 217 size = (uint32_t)(PAD_TO_2K(width*height)*3/2); in mm_camera_get_msm_frame_len() [all …]
|
D | mm_jpeg_encoder.c | 269 int8_t mm_jpeg_encoder_get_buffer_offset(uint32_t width, uint32_t height, in mm_jpeg_encoder_get_buffer_offset() argument 283 uint32_t actual_size = width*height; in mm_jpeg_encoder_get_buffer_offset() 284 uint32_t padded_size = width * CEILING16(height); in mm_jpeg_encoder_get_buffer_offset() 292 planes[0] = width * CEILING16(height); in mm_jpeg_encoder_get_buffer_offset() 293 planes[1] = width * CEILING16(height)/2; in mm_jpeg_encoder_get_buffer_offset() 296 *p_cbcr_offset = PAD_TO_WORD(width*CEILING16(height)); in mm_jpeg_encoder_get_buffer_offset() 298 planes[0] = PAD_TO_WORD(width*CEILING16(height)); in mm_jpeg_encoder_get_buffer_offset() 299 planes[1] = PAD_TO_WORD(width*CEILING16(height)/2); in mm_jpeg_encoder_get_buffer_offset() 387 tn_img_info.height = dimension->thumbnail_height; in mm_jpeg_encoder_encode() 388 buf_size = tn_img_info.width * tn_img_info.height * 2; in mm_jpeg_encoder_encode() [all …]
|
/hardware/samsung_slsi/exynos5/libswconverter/ |
D | swconvertor.c | 39 unsigned int height, in Tile2D_To_Linear() argument 151 unsigned int height) in csc_tiled_to_linear_y() argument 158 aligned_height = height & (~0xF); in csc_tiled_to_linear_y() 189 if (aligned_height != height) { in csc_tiled_to_linear_y() 193 for (k = 0; k < height - aligned_height; k = k + 2) { in csc_tiled_to_linear_y() 205 for (k = 0; k < height - aligned_height; k = k + 2) { in csc_tiled_to_linear_y() 238 unsigned int height) in csc_tiled_to_linear_uv() argument 245 aligned_height = height & (~0x7); in csc_tiled_to_linear_uv() 276 if (aligned_height != height) { in csc_tiled_to_linear_uv() 280 for (k = 0; k < height - aligned_height; k = k + 1) { in csc_tiled_to_linear_uv() [all …]
|
/hardware/qcom/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_helper.c | 184 int height, in mm_camera_get_msm_frame_len() argument 198 size = (uint32_t)(PAD_TO_2K(width*height)*3/2); in mm_camera_get_msm_frame_len() 199 plane[0] = PAD_TO_WORD(width*height); in mm_camera_get_msm_frame_len() 202 plane[0] = PAD_TO_2K(width * height); in mm_camera_get_msm_frame_len() 203 plane[1] = PAD_TO_2K(width * height/2); in mm_camera_get_msm_frame_len() 205 plane[0] = PAD_TO_WORD(width * height); in mm_camera_get_msm_frame_len() 206 plane[1] = PAD_TO_WORD(width * height/2); in mm_camera_get_msm_frame_len() 208 plane[0] = PAD_TO_WORD(width * CEILING16(height)); in mm_camera_get_msm_frame_len() 209 plane[1] = PAD_TO_WORD(width * CEILING16(height)/2); in mm_camera_get_msm_frame_len() 216 plane[0] = PAD_TO_WORD(width * height); in mm_camera_get_msm_frame_len() [all …]
|
/hardware/samsung_slsi/exynos5/libcsc/ |
D | csc.c | 74 unsigned int height; member 118 handle->src_format.height); in conv_sw_src_argb888() 127 handle->src_format.height); in conv_sw_src_argb888() 150 handle->src_format.height); in conv_sw_src_nv12t() 156 handle->src_format.height / 2); in conv_sw_src_nv12t() 164 handle->src_format.height); in conv_sw_src_nv12t() 169 handle->src_format.height / 2); in conv_sw_src_nv12t() 190 handle->src_format.width * handle->src_format.height); in conv_sw_src_yuv420p() 193 (handle->src_format.width * handle->src_format.height) >> 2); in conv_sw_src_yuv420p() 196 (handle->src_format.width * handle->src_format.height) >> 2); in conv_sw_src_yuv420p() [all …]
|
D | csc.h | 172 unsigned int *height, 217 unsigned int height, 258 unsigned int *height, 303 unsigned int height,
|
/hardware/qcom/display/libtilerenderer/ |
D | tilerenderer.cpp | 39 int height = 0; in startTileRendering() local 43 renderer->getViewport(width, height); in startTileRendering() 50 bottom = height; in startTileRendering() 59 int l = left, t = (height - bottom), w = (right - left), h = (bottom - top), preserve = 0; in startTileRendering() 67 if (w > width || h > height) { in startTileRendering() 69 h = (h > height) ? height : h; in startTileRendering()
|
/hardware/qcom/camera/hdr/include/ |
D | morpho_get_image_size.h | 30 morpho_getImageSize(int width, int height, const char *p_format); 43 morpho_getImageSizeY(int width, int height, const char *p_format); 56 morpho_getImageSizeU(int width, int height, const char *p_format); 69 morpho_getImageSizeV(int width, int height, const char *p_format); 82 morpho_getImageSizeUV(int width, int height, const char *p_format);
|
/hardware/qcom/media/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 67 …virtual void *getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSo… 72 virtual size_t calcYSize(ColorConvertFormat format, size_t width, size_t height); 73 virtual size_t calcSize(ColorConvertFormat format, size_t width, size_t height); 166 mBlit.source_rect.height = srcHeight << 16; in C2DColorConverter() 170 mBlit.target_rect.height = dstHeight << 16; in C2DColorConverter() 284 void* C2DColorConverter::getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height,… in getDummySurfaceDef() argument 290 surfaceDef->height = height; in getDummySurfaceDef() 313 surfaceDef->height = height; in getDummySurfaceDef() 417 size_t C2DColorConverter::calcYSize(ColorConvertFormat format, size_t width, size_t height) in calcYSize() argument 421 return (ALIGN(width, ALIGN32) * height); in calcYSize() [all …]
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/ |
D | perf | 111 width=176;height=144 119 -h) height=$2; shift ;; 120 -h*) height=`echo $1 | cut -c3-` ;; 123 --heightv*=*) height=`echo $1 | cut -d= -f2` ;; 124 --heightv*) height=$2; shift ;; 132 size=$(expr $width \* $height \* 2) 152 width=176;height=144 160 -h) height=$2; shift ;; 161 -h*) height=`echo $1 | cut -c3-` ;; 164 --heightv*=*) height=`echo $1 | cut -d= -f2` ;; [all …]
|
/hardware/qcom/display/libexternal/ |
D | external.cpp | 464 int width = 0, height = 0, fps = 0; in setDpyAttr() local 465 getAttrForMode(width, height, fps); in setDpyAttr() 467 ALOGD("ExtDisplay setting xres = %d, yres = %d", width, height); in setDpyAttr() 469 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].yres = height; in setDpyAttr() 475 void ExternalDisplay::getAttrForMode(int& width, int& height, in getAttrForMode() argument 480 height = 480; in getAttrForMode() 486 height = 480; in getAttrForMode() 492 height = 576; in getAttrForMode() 497 height = 720; in getAttrForMode() 502 height = 720; in getAttrForMode() [all …]
|
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/ |
D | V4LCameraAdapter.cpp | 154 int width, height; in setParameters() local 156 params.getPreviewSize(&width, &height); in setParameters() 158 CAMHAL_LOGDB("Width * Height %d x %d format 0x%x", width, height, DEFAULT_PIXEL_FORMAT); in setParameters() 161 mVideoInfo->height = height; in setParameters() 162 mVideoInfo->framesizeIn = (width * height << 1); in setParameters() 167 mVideoInfo->format.fmt.pix.height = height; in setParameters() 403 status_t V4LCameraAdapter::getFrameSize(size_t &width, size_t &height) in getFrameSize() argument 409 ( int * ) &height); in getFrameSize() 516 int width, height; in previewThread() local 530 int width, height; in previewThread() local [all …]
|
/hardware/samsung_slsi/exynos5/librotator/ |
D | exynos_rotator.c | 63 unsigned int height; member 132 unsigned int height, in m_rotator_get_plane_size() argument 138 plane_size[0] = width * height * 4; in m_rotator_get_plane_size() 141 plane_size[0] = width * height * 3; in m_rotator_get_plane_size() 146 plane_size[0] = width * height * 2; in m_rotator_get_plane_size() 152 plane_size[0] = width * height; in m_rotator_get_plane_size() 153 plane_size[1] = width * (height / 2); in m_rotator_get_plane_size() 156 plane_size[0] = ALIGN(width, 16) * ALIGN(height, 16); in m_rotator_get_plane_size() 157 plane_size[1] = ALIGN(width, 16) * ALIGN(height / 2, 8); in m_rotator_get_plane_size() 163 plane_size[0] = width * height; in m_rotator_get_plane_size() [all …]
|
/hardware/ti/omap3/omx/ti_omx_config_parser/src/ |
D | ti_m4v_config_parser.cpp | 102 OSCL_EXPORT_REF int16 iGetM4VConfigInfo(uint8 *buffer, int32 length, int32 *width, int32 *height, i… in iGetM4VConfigInfo() argument 112 *width = *height = *display_height = *display_width = 0; in iGetM4VConfigInfo() 119 status = iDecodeVOLHeader(&psBits, width, height, display_width, display_height, &profilelevel); in iGetM4VConfigInfo() 126 OSCL_EXPORT_REF int16 iDecodeVOLHeader(mp4StreamType *psBits, int32 *width, int32 *height, int32 *d… in iDecodeVOLHeader() argument 409 *height = (*display_height + 15) & -16; in iDecodeVOLHeader() 417 iDecodeShortHeader(psBits, width, height, display_width, display_height); in iDecodeVOLHeader() 445 int32 *height, in iDecodeShortHeader() argument 484 *height = 96; in iDecodeShortHeader() 489 *height = 144; in iDecodeShortHeader() 494 *height = 288; in iDecodeShortHeader() [all …]
|
D | ti_video_config_parser.cpp | 82 int32 width, height, display_width, display_height = 0; in ti_video_config_parser() local 85 …retval = iDecodeVOLHeader(&psBits, &width, &height, &display_width, &display_height, &profile_leve… in ti_video_config_parser() 91 aOutputs->height = (uint32)display_height; in ti_video_config_parser() 101 aOutputs->height = 0; in ti_video_config_parser() 108 int32 width, height, display_width, display_height = 0; in ti_video_config_parser() local 143 (int*) & height, in ti_video_config_parser() 154 aOutputs->height = (uint32)display_height; in ti_video_config_parser() 162 if( ((width > WVGA_MAX_WIDTH) || (height > WVGA_MAX_HEIGHT)) || in ti_video_config_parser() 188 aOutputs->height = dwdat; in ti_video_config_parser()
|
/hardware/samsung_slsi/exynos5/libhwjpeg/ |
D | ExynosJpegBase.cpp | 92 fmt.fmt.pix_mp.height = pstConfig->height; in t_v4l2SetFmt() 117 fmt.fmt.pix_mp.height = pstConfig->scaled_height; in t_v4l2SetFmt() 150 pstConfig->height = fmt.fmt.pix.height; in t_v4l2GetFmt() 154 pstConfig->height = fmt.fmt.pix_mp.height; in t_v4l2GetFmt() 162 pstConfig->height = fmt.fmt.pix_mp.height; in t_v4l2GetFmt() 425 t_stJpegConfig.height = iH; in setSize() 661 return setColorBufSize(iFormat, piBufSize, iSize, t_stJpegConfig.width, t_stJpegConfig.height); in setColorBufSize() 664 int ExynosJpegBase::setColorBufSize(int iFormat, int *piBufSize, int iSize, int width, int height) in setColorBufSize() argument 676 pBufSize[0] = width*height*2; in setColorBufSize() 682 pBufSize[0] = width*height*4; in setColorBufSize() [all …]
|
/hardware/ti/omap3/omx/ti_omx_config_parser/inc/ |
D | ti_m4v_config_parser.h | 96 int32 *height, 104 int32 *height, 113 int32 *height, 120 int32 *height, 128 int16 DecodeSPS(mp4StreamType *psBits, int32 *width, int32 *height, int32 *display_width, int32 *di…
|
/hardware/qcom/display/libgralloc/ |
D | alloc_controller.cpp | 165 size_t getBufferSizeAndDimensions(int width, int height, int format, in getBufferSizeAndDimensions() argument 171 alignedh = ALIGN(height, 32); in getBufferSizeAndDimensions() 190 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096); in getBufferSizeAndDimensions() 198 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); in getBufferSizeAndDimensions() 204 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width&1) || (height&1))) { in getBufferSizeAndDimensions() 209 alignedh = height; in getBufferSizeAndDimensions() 227 alignedh = height; in getBufferSizeAndDimensions()
|
D | gralloc_priv.h | 182 int height; member 192 int format,int width, int height) : in private_handle_t() 197 width(width), height(height), genlockPrivFd(-1) in private_handle_t()
|
/hardware/msm7k/libgralloc/ |
D | framebuffer.cpp | 60 msm_copy_buffer(buffer_handle_t handle, int fd, int width, int height, 132 m->info.width, m->info.height); in fb_post() 231 if (int(info.width) <= 0 || int(info.height) <= 0) { in mapFrameBufferLocked() 235 info.height = ((info.yres * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked() 239 float ydpi = (info.yres * 25.4f) / info.height; in mapFrameBufferLocked() 268 info.height, ydpi, in mapFrameBufferLocked() 358 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open() 382 msm_copy_buffer(buffer_handle_t handle, int fd, int width, int height, in msm_copy_buffer() argument 399 blit.req.src.height = height; in msm_copy_buffer() 404 blit.req.dst.height = height; in msm_copy_buffer()
|
/hardware/msm7k/libgralloc-qsd8k/ |
D | framebuffer.cpp | 64 int width, int height, int format, 144 m->info.width, m->info.height); in fb_post() 267 if (int(info.width) <= 0 || int(info.height) <= 0) { in mapFrameBufferLocked() 271 info.height = ((info.yres * 25.4f)/160.0f + 0.5f); in mapFrameBufferLocked() 275 float ydpi = (info.yres * 25.4f) / info.height; in mapFrameBufferLocked() 304 info.height, ydpi, in mapFrameBufferLocked() 394 const_cast<uint32_t&>(dev->device.height) = m->info.yres; in fb_device_open() 419 int width, int height, int format, in msm_copy_buffer() argument 436 blit.req.src.height = height; in msm_copy_buffer() 441 blit.req.dst.height = height; in msm_copy_buffer()
|
/hardware/samsung_slsi/exynos5/libgscaler/ |
D | exynos_gscaler.c | 92 unsigned int height, in m_gsc_get_plane_size() argument 99 plane_size[0] = width * height * 4; in m_gsc_get_plane_size() 104 plane_size[0] = width * height * 3; in m_gsc_get_plane_size() 113 plane_size[0] = width * height * 2; in m_gsc_get_plane_size() 122 plane_size[0] = width * height; in m_gsc_get_plane_size() 123 plane_size[1] = width * (height / 2); in m_gsc_get_plane_size() 128 plane_size[0] = width * height * 2; in m_gsc_get_plane_size() 133 plane_size[0] = ALIGN(width, 16) * ALIGN(height, 16); in m_gsc_get_plane_size() 134 plane_size[1] = ALIGN(width, 16) * ALIGN(height / 2, 8); in m_gsc_get_plane_size() 140 plane_size[0] = width * height; in m_gsc_get_plane_size() [all …]
|