/hardware/samsung_slsi/exynos5/libswconverter/ |
D | swconvertor.c | 38 unsigned int width, in Tile2D_To_Linear() argument 50 width = ((width + 15) / 16) * 16; in Tile2D_To_Linear() 51 tileNumX = width / 16; in Tile2D_To_Linear() 150 unsigned int width, in csc_tiled_to_linear_y() argument 159 aligned_width = width & (~0xF); in csc_tiled_to_linear_y() 160 tiled_width = ((width + 15) >> 4) << 4; in csc_tiled_to_linear_y() 165 dst_offset = width * i + j; in csc_tiled_to_linear_y() 169 dst_offset += width; in csc_tiled_to_linear_y() 172 dst_offset += width; in csc_tiled_to_linear_y() 175 if (aligned_width != width) { in csc_tiled_to_linear_y() [all …]
|
D | csc_tiled_to_linear_uv_deinterleave_neon.s | 60 @r3 width 76 bic r10, r3, #0xF @ aligned_width = width & (~0xF) 77 add r11, r3, #15 @ tiled_width = ((width + 15) >> 4) << 4 87 mov r12, r3, asr #1 @ temp1 = (width >> 1) * i + (j >> 1) 97 mov r14, r3, asr #1 @ temp2 = width / 2 124 cmp r10, r3 @ if (aligned_width != width) { 130 mov r12, r3, asr #1 @ temp1 = (width >> 1) * i + (j >> 1) 135 sub r14, r3, r6 @ r14 = (width - j) / 2 177 mov r12, r3, asr #1 @ temp1 = (width >> 1) * i + (j >> 1) 182 mov r14, r3, asr #1 @ temp2 = width / 2 [all …]
|
/hardware/samsung_slsi/exynos5/include/ |
D | swconverter.h | 126 unsigned int width, 150 unsigned int width, 177 unsigned int width, 203 unsigned int width, 231 unsigned int width, 260 int width, 285 int width, 314 unsigned int width, 339 unsigned int width, 405 unsigned int width, [all …]
|
/hardware/qcom/display/msm8974/libcopybit/ |
D | software_converter.cpp | 52 unsigned int width = src->w - src->horiz_padding; in convertYV12toYCrCb420SP() local 57 unsigned int chromaPadding = c_width - width/2; in convertYV12toYCrCb420SP() 100 if(j == width) { in convertYV12toYCrCb420SP() 105 if (j+1 == width) { in convertYV12toYCrCb420SP() 106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP() 111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP() 116 if (i == width/2 ) { in convertYV12toYCrCb420SP() 127 int width; member [all …]
|
/hardware/qcom/display/msm8x26/libcopybit/ |
D | software_converter.cpp | 52 unsigned int width = src->w - src->horiz_padding; in convertYV12toYCrCb420SP() local 57 unsigned int chromaPadding = c_width - width/2; in convertYV12toYCrCb420SP() 100 if(j == width) { in convertYV12toYCrCb420SP() 105 if (j+1 == width) { in convertYV12toYCrCb420SP() 106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP() 111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP() 116 if (i == width/2 ) { in convertYV12toYCrCb420SP() 127 int width; member [all …]
|
/hardware/qcom/display/msm8960/libcopybit/ |
D | software_converter.cpp | 52 unsigned int width = src->w - src->horiz_padding; in convertYV12toYCrCb420SP() local 57 unsigned int chromaPadding = c_width - width/2; in convertYV12toYCrCb420SP() 100 if(j == width) { in convertYV12toYCrCb420SP() 105 if (j+1 == width) { in convertYV12toYCrCb420SP() 106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP() 111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP() 116 if (i == width/2 ) { in convertYV12toYCrCb420SP() 127 int width; member [all …]
|
/hardware/samsung_slsi/exynos5/libexynosutils/ |
D | exynos5_format_v4l2.c | 246 int width, in FRAME_SIZE() argument 255 frame_size = GET_16BPP_FRAME_SIZE(width, height); in FRAME_SIZE() 260 frame_size = GET_24BPP_FRAME_SIZE(width, height); in FRAME_SIZE() 268 frame_size = GET_32BPP_FRAME_SIZE(width, height); in FRAME_SIZE() 276 size = ALIGN(width, 16) * ALIGN(height, 16); in FRAME_SIZE() 277 frame_size = size + 2 * ALIGN(width >> 1, 8) * ALIGN(height >> 1, 8); in FRAME_SIZE() 284 size = ALIGN(ALIGN(width, 16) * ALIGN(height, 16), 2048); in FRAME_SIZE() 285 frame_size = size + ALIGN(ALIGN(width, 16) * ALIGN(height >> 1, 8), 2048); in FRAME_SIZE() 289 frame_size = ALIGN_TO_8KB(ALIGN_TO_128B(width) * ALIGN_TO_32B(height)) in FRAME_SIZE() 290 + ALIGN_TO_8KB(ALIGN_TO_128B(width) * ALIGN_TO_32B(height >> 1)); in FRAME_SIZE() [all …]
|
/hardware/qcom/media/libc2dcolorconvert/ |
D | C2DColorConverter.cpp | 64 …virtual void *getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSo… 68 virtual size_t calcStride(ColorConvertFormat format, size_t width); 69 virtual size_t calcYSize(ColorConvertFormat format, size_t width, size_t height); 70 virtual size_t calcSize(ColorConvertFormat format, size_t width, size_t height); 157 mBlit.source_rect.width = srcWidth << 16; in C2DColorConverter() 161 mBlit.target_rect.width = dstWidth << 16; in C2DColorConverter() 276 void* C2DColorConverter::getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height,… in getDummySurfaceDef() argument 281 surfaceDef->width = width; in getDummySurfaceDef() 285 surfaceDef->stride0 = calcStride(format, width); in getDummySurfaceDef() 288 surfaceDef->stride1 = calcStride(format, width); in getDummySurfaceDef() [all …]
|
/hardware/samsung_slsi/exynos5/libcsc/ |
D | csc.c | 81 unsigned int width; member 125 handle->src_format.width, in conv_sw_src_argb888() 134 handle->src_format.width, in conv_sw_src_argb888() 157 handle->src_format.width, in conv_sw_src_nv12t() 163 handle->src_format.width, in conv_sw_src_nv12t() 171 handle->src_format.width, in conv_sw_src_nv12t() 176 handle->src_format.width, in conv_sw_src_nv12t() 198 handle->src_format.width * handle->src_format.height); in conv_sw_src_yuv420p() 201 (handle->src_format.width * handle->src_format.height) >> 2); in conv_sw_src_yuv420p() 204 (handle->src_format.width * handle->src_format.height) >> 2); in conv_sw_src_yuv420p() [all …]
|
/hardware/qcom/display/msm8974/libgralloc/ |
D | alloc_controller.cpp | 103 int AdrenoMemInfo::getStride(int width, int format) in getStride() argument 105 int stride = ALIGN(width, 32); in getStride() 143 stride = ALIGN(width, 32); in getStride() 146 stride = ALIGN(width, 128); in getStride() 153 stride = ALIGN(width, 16); in getStride() 157 stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, width); in getStride() 160 stride = width; in getStride() 163 stride = ALIGN(width, 64); in getStride() 272 size_t getBufferSizeAndDimensions(int width, int height, int format, in getBufferSizeAndDimensions() argument 277 alignedw = AdrenoMemInfo::getInstance().getStride(width, format); in getBufferSizeAndDimensions() [all …]
|
/hardware/qcom/display/msm8x26/libgralloc/ |
D | alloc_controller.cpp | 103 int AdrenoMemInfo::getStride(int width, int format) in getStride() argument 105 int stride = ALIGN(width, 32); in getStride() 134 stride = ALIGN(width, 32); in getStride() 137 stride = ALIGN(width, 128); in getStride() 145 stride = ALIGN(width, 16); in getStride() 148 stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, width); in getStride() 151 stride = width; in getStride() 253 size_t getBufferSizeAndDimensions(int width, int height, int format, in getBufferSizeAndDimensions() argument 258 alignedw = AdrenoMemInfo::getInstance().getStride(width, format); in getBufferSizeAndDimensions() 277 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096); in getBufferSizeAndDimensions() [all …]
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | alloc_controller.cpp | 103 int AdrenoMemInfo::getStride(int width, int format) in getStride() argument 105 int stride = ALIGN(width, 32); in getStride() 134 stride = ALIGN(width, 32); in getStride() 137 stride = ALIGN(width, 128); in getStride() 145 stride = ALIGN(width, 16); in getStride() 148 stride = VENUS_Y_STRIDE(COLOR_FMT_NV12, width); in getStride() 151 stride = width; in getStride() 253 size_t getBufferSizeAndDimensions(int width, int height, int format, in getBufferSizeAndDimensions() argument 258 alignedw = AdrenoMemInfo::getInstance().getStride(width, format); in getBufferSizeAndDimensions() 279 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096); in getBufferSizeAndDimensions() [all …]
|
/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/camera/QCamera2/stack/mm-jpeg-interface/test/ |
D | mm_jpeg_test.c | 56 int width; member 67 int width; member 169 int size = p_input->width * p_input->height; in encode_init() 174 p_obj->width = p_input->width; in encode_init() 234 p_job_params->main_dim.src_dim.width = p_obj->width; in encode_init() 236 p_job_params->main_dim.dst_dim.width = p_obj->width; in encode_init() 240 p_job_params->main_dim.crop.width = p_obj->width; in encode_init() 244 p_job_params->thumb_dim.src_dim.width = p_obj->width; in encode_init() 246 p_job_params->thumb_dim.dst_dim.width = 512; in encode_init() 250 p_job_params->thumb_dim.crop.width = p_obj->width; in encode_init()
|
/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/ |
D | perf | 111 width=176;height=144 117 -w) width=$2; shift ;; 118 -w*) width=`echo $1 | cut -c3-` ;; 121 --widthv*=*) width=`echo $1 | cut -d= -f2` ;; 122 --widthv*) width=$2; shift ;; 132 size=$(expr $width \* $height \* 2) 152 width=176;height=144 158 -w) width=$2; shift ;; 159 -w*) width=`echo $1 | cut -c3-` ;; 162 --widthv*=*) width=`echo $1 | cut -d= -f2` ;; [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() 160 mVideoInfo->width = width; in setParameters() 162 mVideoInfo->framesizeIn = (width * height << 1); in setParameters() 166 mVideoInfo->format.fmt.pix.width = width; in setParameters() 403 status_t V4LCameraAdapter::getFrameSize(size_t &width, size_t &height) in getFrameSize() argument 408 mParams.getPreviewSize(( int * ) &width, in getFrameSize() 516 int width, height; in previewThread() local 530 int width, height; in previewThread() local [all …]
|
/hardware/qcom/display/msm8960/libtilerenderer/ |
D | tilerenderer.cpp | 38 int width = 0; in startTileRendering() local 43 renderer->getViewport(width, height); in startTileRendering() 49 right = width; in startTileRendering() 67 if (w > width || h > height) { in startTileRendering() 68 w = (w > width) ? width : w; in startTileRendering()
|
/hardware/qcom/display/msm8x26/libtilerenderer/ |
D | tilerenderer.cpp | 38 int width = 0; in startTileRendering() local 43 renderer->getViewport(width, height); in startTileRendering() 49 right = width; in startTileRendering() 67 if (w > width || h > height) { in startTileRendering() 68 w = (w > width) ? width : w; in startTileRendering()
|
/hardware/qcom/display/msm8974/libexternal/ |
D | external.cpp | 714 int width = 0, height = 0, fps = 0; in setDpyHdmiAttr() local 715 getAttrForMode(width, height, fps); in setDpyHdmiAttr() 717 ALOGD("ExtDisplay setting xres = %d, yres = %d", width, height); in setDpyHdmiAttr() 718 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = width; in setDpyHdmiAttr() 725 void ExternalDisplay::getAttrForMode(int& width, int& height, int& fps) { in getAttrForMode() argument 728 width = 640; in getAttrForMode() 734 width = 720; in getAttrForMode() 740 width = 720; in getAttrForMode() 745 width = 1280; in getAttrForMode() 750 width = 1280; in getAttrForMode() [all …]
|
/hardware/samsung_slsi/exynos5/librotator/ |
D | exynos_rotator.c | 62 unsigned int width; member 131 unsigned int width, 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/libhardware/tests/camera2/ |
D | CameraStreamFixture.h | 214 stride = img.width; in DumpYuvToFile() 215 chromaStride = img.width; in DumpYuvToFile() 217 dataCr = img.data + img.width * img.height; in DumpYuvToFile() 222 chromaStride = ALIGN(img.width / 2, 16); in DumpYuvToFile() 240 1, img.width, yuvFile); in DumpYuvToFile() 241 if (bytes != img.width) { in DumpYuvToFile() 254 for (size_t x = 0; x < img.width / 2; ++x) { in DumpYuvToFile() 260 1, img.width / 2, yuvFile); in DumpYuvToFile() 261 if (bytes != img.width / 2) { in DumpYuvToFile()
|
D | CameraMultiStreamTests.cpp | 114 int32_t width; member 131 min->width = data[minIdx]; in GetMinSize() 149 max->width = data[maxIdx]; in GetMaxSize() 156 if (input.width * input.height > cap.width * cap.height) { in CapSize() 171 int width, in CameraStream() 177 mWidth(width), in CameraStream() 327 int width, in CreateStream() argument 334 return new CameraStream(width, height, device, in CreateStream() 508 processedMaxSize.width, processedMaxSize.height, in TEST_F() 509 processedMinSize.width, processedMinSize.height); in TEST_F() [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 408 *width = (*display_width + 15) & -16; in iDecodeVOLHeader() 417 iDecodeShortHeader(psBits, width, height, display_width, display_height); in iDecodeVOLHeader() 444 int32 *width, in iDecodeShortHeader() argument 483 *width = 128; in iDecodeShortHeader() 488 *width = 176; in iDecodeShortHeader() 493 *width = 352; 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() 90 aOutputs->width = (uint32)display_width; in ti_video_config_parser() 100 aOutputs->width = 0; in ti_video_config_parser() 108 int32 width, height, display_width, display_height = 0; in ti_video_config_parser() local 142 (int*) & width, in ti_video_config_parser() 153 aOutputs->width = (uint32)display_width; in ti_video_config_parser() 162 if( ((width > WVGA_MAX_WIDTH) || (height > WVGA_MAX_HEIGHT)) || in ti_video_config_parser() 186 aOutputs->width = dwdat; in ti_video_config_parser()
|
/hardware/samsung_slsi/exynos5/libhwjpeg/ |
D | ExynosJpegBase.cpp | 91 fmt.fmt.pix_mp.width = pstConfig->width; in t_v4l2SetFmt() 116 fmt.fmt.pix_mp.width = pstConfig->scaled_width; in t_v4l2SetFmt() 149 pstConfig->width = fmt.fmt.pix.width; in t_v4l2GetFmt() 153 pstConfig->width = fmt.fmt.pix_mp.width; in t_v4l2GetFmt() 161 pstConfig->width = fmt.fmt.pix_mp.width; in t_v4l2GetFmt() 424 t_stJpegConfig.width = iW; 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 …]
|