/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
H A D | i420_video_source.h | 25 unsigned int width, unsigned int height, 39 SetSize(width, height); 83 void SetSize(unsigned int width, unsigned int height) { argument 84 if (width != width_ || height != height_) { 86 img_ = vpx_img_alloc(NULL, VPX_IMG_FMT_I420, width, height, 1); 89 height_ = height; 90 raw_sz_ = width * height * 3 / 2; 24 I420VideoSource(const std::string &file_name, unsigned int width, unsigned int height, int rate_numerator, int rate_denominator, unsigned int start, int limit) argument
|
/hardware/qcom/display/msm8084/libcopybit/ |
H A D | software_converter.cpp | 50 // vertical stride is the same as height, so not considered 53 unsigned int height = src->h; local 99 while(r1 < height/2) { 128 int height; member in struct:copyInfo 149 int height = info.height; local 154 for (int i = 0; i < height; i++) { 164 height = height/2; 165 for (int i = 0; i < height; [all...] |
/hardware/qcom/display/msm8226/libcopybit/ |
H A D | software_converter.cpp | 50 // vertical stride is the same as height, so not considered 53 unsigned int height = src->h; local 99 while(r1 < height/2) { 128 int height; member in struct:copyInfo 149 int height = info.height; local 154 for (int i = 0; i < height; i++) { 164 height = height/2; 165 for (int i = 0; i < height; [all...] |
/hardware/qcom/display/msm8909/libcopybit/ |
H A D | software_converter.cpp | 50 // vertical stride is the same as height, so not considered 53 unsigned int height = src->h; local 99 while(r1 < height/2) { 128 int height; member in struct:copyInfo 149 int height = info.height; local 154 for (int i = 0; i < height; i++) { 164 height = height/2; 165 for (int i = 0; i < height; [all...] |
/hardware/qcom/display/msm8960/libcopybit/ |
H A D | software_converter.cpp | 50 // vertical stride is the same as height, so not considered 53 unsigned int height = src->h; local 99 while(r1 < height/2) { 128 int height; member in struct:copyInfo 148 int height = info.height; local 153 for (int i = 0; i < height; i++) { 163 height = height/2; 164 for (int i = 0; i < height; [all...] |
/hardware/qcom/display/msm8994/libcopybit/ |
H A D | software_converter.cpp | 50 // vertical stride is the same as height, so not considered 53 unsigned int height = src->h; local 99 while(r1 < height/2) { 128 int height; member in struct:copyInfo 149 int height = info.height; local 154 for (int i = 0; i < height; i++) { 164 height = height/2; 165 for (int i = 0; i < height; [all...] |
/hardware/qcom/display/msm8996/libcopybit/ |
H A D | software_converter.cpp | 50 // vertical stride is the same as height, so not considered 53 unsigned int height = src->h; local 99 while(r1 < height/2) { 128 int height; member in struct:copyInfo 149 int height = info.height; local 154 for (int i = 0; i < height; i++) { 164 height = height/2; 165 for (int i = 0; i < height; [all...] |
/hardware/qcom/camera/usbcamcore/src/ |
H A D | QCameraUsbParm.cpp | 380 snprintf(buffer, sizeof(buffer), "%dx%d", sizes[0].width, sizes[0].height); 384 snprintf(buffer, sizeof(buffer), ",%dx%d", sizes[i].width, sizes[i].height); 475 * Description: This function parses preview width and height from the input 491 int rc = 0, width, height, i, numPrvwSizes, validSize; local 494 params.getPreviewSize(&width, &height); 495 ALOGI("%s: Requested preview size %d x %d", __func__, width, height); 501 && height == previewSizes[i].height) { 504 camHal->qCamParams.setPreviewSize(width, height); 505 ALOGD("%s: setPreviewSize: width: %d height 544 int rc = 0, width, height, i, numPictSizes, validSize; local 594 int rc = 0, width, height, i, numThumbnailSizes, validSize; local [all...] |
/hardware/qcom/display/msm8084/libgralloc/ |
H A D | alloc_controller.cpp | 131 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, argument 135 aligned_h = height; 139 aligned_h = ALIGN(height, 32); 163 // the function below computes aligned width and aligned height 167 height, bpp, tile_enabled, 210 aligned_h = VENUS_Y_SCANLINES(COLOR_FMT_NV12, height); 217 aligned_h = ALIGN(height, 64); 254 width, height, format, 0,raster_mode, padding_threshold, 394 size_t getSize(int format, int width, int height, const int alignedw, argument 418 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/ 503 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 521 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 540 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tileEnabled, size_t& size) argument [all...] |
/hardware/qcom/display/msm8226/libgralloc/ |
H A D | alloc_controller.cpp | 129 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, argument 133 aligned_h = height; 137 aligned_h = ALIGN(height, 32); 161 // the function below computes aligned width and aligned height 165 height, bpp, tile_enabled, 203 aligned_h = VENUS_Y_SCANLINES(COLOR_FMT_NV12, height); 209 aligned_h = ALIGN(height, 64); 246 width, height, format, 0,raster_mode, padding_threshold, 397 unsigned int getSize(int format, int width, int height, const int alignedw, argument 418 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/ 502 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 520 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 539 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tileEnabled, unsigned int& size) argument [all...] |
/hardware/qcom/display/msm8909/libgralloc/ |
H A D | alloc_controller.cpp | 137 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, argument 141 aligned_h = height; 145 aligned_h = ALIGN(height, 32); 169 // the function below computes aligned width and aligned height 173 height, bpp, tile_enabled, 216 aligned_h = VENUS_Y_SCANLINES(COLOR_FMT_NV12, height); 222 aligned_h = ALIGN(height, 64); 259 width, height, format, 0,raster_mode, padding_threshold, 410 unsigned int getSize(int format, int width, int height, const int alignedw, argument 431 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/ 515 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 533 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 552 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tileEnabled, unsigned int& size) argument [all...] |
/hardware/qcom/display/msm8994/libgralloc/ |
H A D | alloc_controller.cpp | 164 void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format, argument 172 height, format, tileEnabled, aligned_w, aligned_h); 177 getUBwcWidthAndHeight(width, height, format, aligned_w, aligned_h); 182 aligned_h = height; 209 aligned_h = VENUS_Y_SCANLINES(COLOR_FMT_NV12, height); 216 aligned_h = ALIGN(height, 64); 253 width, height, format, 0,raster_mode, padding_threshold, 265 void AdrenoMemInfo::getGpuAlignedWidthHeight(int width, int height, int format, argument 269 aligned_h = ALIGN(height, 32); 297 // the function below computes aligned width and aligned height 481 getSize(int format, int width, int height, int usage, const int alignedw, const int alignedh) argument 595 getBufferSizeAndDimensions(int width, int height, int format, int& alignedw, int &alignedh) argument 613 getBufferSizeAndDimensions(int width, int height, int format, int usage, int& alignedw, int &alignedh) argument 631 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tileEnabled, unsigned int& size) argument 802 getUBwcWidthAndHeight(int width, int height, int format, int& aligned_w, int& aligned_h) argument 847 getUBwcMetaBufferSize(int width, int height, int bpp) argument 871 getUBwcSize(int width, int height, int format, const int alignedw, const int alignedh) argument [all...] |
H A D | gr.h | 51 unsigned int getBufferSizeAndDimensions(int width, int height, int format, 53 unsigned int getBufferSizeAndDimensions(int width, int height, int format, 57 // Attributes include aligned width, aligned height, tileEnabled and size of the buffer 58 void getBufferAttributes(int width, int height, int format, int usage, 69 // Allocate buffer from width, height, format into a private_handle_t 116 * Function to compute aligned width and aligned height based on 117 * width, height, format and usage flags. 119 * @return aligned width, aligned height 121 void getAlignedWidthAndHeight(int width, int height, int format, 125 * Function to compute the adreno aligned width and aligned height [all...] |
/hardware/intel/common/libva/test/decode/ |
H A D | tinyjpeg.h | 62 void tinyjpeg_get_size(struct jdec_private *priv, unsigned int *width, unsigned int *height);
|
/hardware/intel/common/libva/va/ |
H A D | va_compat.h | 102 #define vaCreateSurfaces6(dpy, width, height, format, num_surfaces, surfaces) \ 103 (vaCreateSurfaces)(dpy, format, width, height, surfaces, num_surfaces, \ 106 #define vaCreateSurfaces8(dpy, format, width, height, surfaces, num_surfaces, attribs, num_attribs) \ 107 (vaCreateSurfaces)(dpy, format, width, height, surfaces, num_surfaces, \
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
H A D | alloccommon.h | 24 int vp8_alloc_frame_buffers(VP8_COMMON *oci, int width, int height);
|
/hardware/qcom/display/msm8909/libhdmi/ |
H A D | hdmi.h | 43 EDIDData(int mode, int width, int height, int fps, int order) argument 44 : mMode(mode), mWidth(width), mHeight(height), mFps(fps), mModeOrder(order) 57 void getAttributes(uint32_t& width, uint32_t& height); 88 void getAttrForMode(uint32_t& width, uint32_t& height, uint32_t& fps);
|
/hardware/ti/omap3/omx/ti_omx_config_parser/inc/ |
H A D | ti_video_config_parser.h | 39 uint32 height; member in struct:_tiVideoConfigParserOutputs
|
/hardware/ti/omap4-aah/test/CameraHal/ |
H A D | surfacetexture_test.cpp | 112 test_format (int format, int page_mode, int width, int height) argument 128 st->setDefaultBufferSize (width, height); 142 width, height, format); 146 Rect bounds(width, height); 233 int width, height; local 236 height = 480; 237 test_format (HAL_PIXEL_FORMAT_TI_NV12, 0, width, height); 238 test_format (HAL_PIXEL_FORMAT_TI_NV12, 1, width, height); 239 test_format (HAL_PIXEL_FORMAT_TI_NV12_1D, 0, width, height); 240 test_format (HAL_PIXEL_FORMAT_TI_Y8, 1, width, height); [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-lib2d-interface/test/ |
H A D | mm_lib2d_test.c | 104 * @height: height of the input yuv frame 112 int32_t height; member in struct:input_yuv_data_t 142 int height, int stride, char *fname) 156 fprintf(f, "%c%c%c%c", width & 0xff, width >> 8, height & 0xff, height >> 8); 159 for (i = 0; i < height; i++) { 252 * height - height of yuv image 266 int32_t height, int32_ 141 lib2d_dump_tga(void *addr, cam_format_t format, int width, int height, int stride, char *fname) argument 264 lib2d_test_load_input_yuv_data_linebyline(char *fileName, int offset, int32_t input_yuv_stride, int32_t y_plane_stride, int32_t height, int32_t crcb_offset, void *addr) argument 330 int32_t height = 0; local [all...] |
/hardware/qcom/display/msm8996/libgralloc/ |
H A D | gr.h | 51 unsigned int getBufferSizeAndDimensions(int width, int height, int format, 53 unsigned int getBufferSizeAndDimensions(int width, int height, int format, 57 // Attributes include aligned width, aligned height, tileEnabled and size of the buffer 58 void getBufferAttributes(int width, int height, int format, int usage, 69 // Allocate buffer from width, height, format into a private_handle_t 117 * Function to compute aligned width and aligned height based on 118 * width, height, format and usage flags. 120 * @return aligned width, aligned height 122 void getAlignedWidthAndHeight(int width, int height, int format, 126 * Function to compute aligned width and aligned height base [all...] |
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
H A D | RotationBufferProvider.cpp | 139 buffer_handle_t RotationBufferProvider::createWsbmBuffer(int width, int height, void **buf) argument 141 int size = width * height * 3 / 2; // YUV420 NV12 format 161 int width = 0, height = 0, bufferHeight = 0; local 166 height = payload->height; 168 width = payload->height; 169 height = payload->width; 172 mRotatedHeight = height; 173 bufferHeight = (height + 0x1f) & ~0x1f; 177 height 624 isContextChanged(int width, int height, int transform) argument [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
H A D | RotationBufferProvider.cpp | 139 uint32_t RotationBufferProvider::createWsbmBuffer(int width, int height, void **buf) argument 141 int size = width * height * 3 / 2; // YUV420 NV12 format 161 int width = 0, height = 0, bufferHeight = 0; local 166 height = payload->height; 168 width = payload->height; 169 height = payload->width; 172 mRotatedHeight = height; 173 bufferHeight = (height + 0x1f) & ~0x1f; 177 height 609 isContextChanged(int width, int height, int transform) argument [all...] |
/hardware/intel/img/psb_video/src/ |
H A D | psb_surface_attrib.c | 55 int width, int height, int fourcc, 66 if ((width <= 0) || (width * height > 5120 * 5120) || (height <= 0)) { 91 psb_surface->chroma_offset = psb_surface->stride * height; 94 psb_surface->size = ((psb_surface->stride * height) * 3) / 2; 98 psb_surface->size = (psb_surface->stride * height) * 2; 102 psb_surface->size = ((psb_surface->stride * height) * 3) / 2; 106 psb_surface->size = (psb_surface->stride * height) * 4; 143 int width, height, buf_stride, buf_offset, size; 170 height 53 psb_surface_create_from_ub( psb_driver_data_p driver_data, int width, int height, int fourcc, VASurfaceAttributeTPI *graphic_buffers, psb_surface_p psb_surface, void *vaddr, int fd, unsigned flags ) argument 281 unsigned int height = (unsigned int)Height; local 434 unsigned int height = (unsigned int)_height; local 543 psb_CreateSurfaceFromUserspace( VADriverContextP ctx, int width, int height, int format, int num_surfaces, VASurfaceID *surface_list, VASurfaceAttributeTPI *attribute_tpi ) argument 635 psb_CreateSurfaceFromION( VADriverContextP ctx, int width, int height, int format, int num_surfaces, VASurfaceID *surface_list, VASurfaceAttributeTPI *attribute_tpi ) argument 759 psb_CreateSurfacesWithAttribute( VADriverContextP ctx, int width, int height, int format, int num_surfaces, VASurfaceID *surface_list, VASurfaceAttributeTPI *attribute_tpi ) argument [all...] |
/hardware/qcom/display/msm8960/libgralloc/ |
H A D | alloc_controller.cpp | 256 size_t getBufferSizeAndDimensions(int width, int height, int format, argument 262 alignedh = ALIGN(height, 32); 280 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096); 288 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); 292 alignedh = height; 293 size = ALIGN( ALIGN(width, 128) * ALIGN(height, 32), 8192); 294 size += ALIGN( ALIGN(width, 128) * ALIGN(height/2, 32), 8192); 298 if ((format == HAL_PIXEL_FORMAT_YV12) && ((width&1) || (height&1))) { 302 alignedh = height; 315 alignedh = height; [all...] |