/hardware/qcom/display/msm8226/libhwcomposer/ |
H A D | hwc_delta_panel.h | 23 void deltaPanelRendering(uint8_t *pImage, int width, int height);
|
/hardware/interfaces/automotive/evs/1.0/vts/functional/ |
H A D | FormatConvert.h | 26 // U/V array. It assumes an even width and height for the overall image, and a horizontal 28 void copyNV21toRGB32(unsigned width, unsigned height, 35 // by another 1/2 x 1/2 V array. It assumes an even width and height for the overall image, 38 void copyYV12toRGB32(unsigned width, unsigned height, 45 // U/V array. It assumes an even width and height for the overall image, and a horizontal 47 void copyYUYVtoRGB32(unsigned width, unsigned height, 55 void copyMatchedInterleavedFormats(unsigned width, unsigned height,
|
/hardware/qcom/msm8x84/kernel-headers/media/ |
H A D | msm_media_info.h | 140 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) argument 143 (void)width; 152 static inline unsigned int VENUS_Y_STRIDE(int color_fmt, int width) argument 155 if (!width) 163 stride = MSM_MEDIA_ALIGN(width, alignment); 172 static inline unsigned int VENUS_UV_STRIDE(int color_fmt, int width) argument 175 if (!width) 183 stride = MSM_MEDIA_ALIGN(width, alignment); 233 int color_fmt, int width, int height) 235 const unsigned int extra_size = VENUS_EXTRADATA_SIZE(width, heigh 232 VENUS_BUFFER_SIZE( int color_fmt, int width, int height) argument 270 VENUS_VIEW2_OFFSET( int color_fmt, int width, int height) argument [all...] |
/hardware/qcom/msm8x84/original-kernel-headers/media/ |
H A D | msm_media_info.h | 140 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) argument 143 (void)width; 152 static inline unsigned int VENUS_Y_STRIDE(int color_fmt, int width) argument 155 if (!width) 163 stride = MSM_MEDIA_ALIGN(width, alignment); 172 static inline unsigned int VENUS_UV_STRIDE(int color_fmt, int width) argument 175 if (!width) 183 stride = MSM_MEDIA_ALIGN(width, alignment); 233 int color_fmt, int width, int height) 235 const unsigned int extra_size = VENUS_EXTRADATA_SIZE(width, heigh 232 VENUS_BUFFER_SIZE( int color_fmt, int width, int height) argument 270 VENUS_VIEW2_OFFSET( int color_fmt, int width, int height) argument [all...] |
/hardware/intel/common/libva/va/ |
H A D | va_compat.c | 33 int width, 40 return vaCreateSurfaces(dpy, format, width, height, surfaces, num_surfaces, 31 vaCreateSurfaces_0_32_0( VADisplay dpy, int width, int height, int format, int num_surfaces, VASurfaceID *surfaces ) argument
|
/hardware/intel/img/psb_video/src/ |
H A D | psb_surface_attrib.h | 39 int width, int height, int fourcc, VASurfaceAttributeTPI *graphic_buffers, 48 int width, int height, 51 unsigned int luma_stride, /* luma stride, could be width aligned with a special value */ 62 int width, int height, 66 unsigned int luma_stride, /* luma stride, could be width aligned with a special value */ 78 int width, int height, int stride, int size, 91 int width, int height, int stride, int size, 105 int width, 122 int width, 138 int width, 120 psb_CreateSurfacesFromGralloc( VADriverContextP ctx, int width, int height, int format, int num_surfaces, VASurfaceID *surface_list, PsbSurfaceAttributeTPI *attribute_tpi ) argument [all...] |
H A D | psb_surface.c | 40 int width, int height, int fourcc, unsigned int flags, 59 if ((width <= 0) || (width * height > 5120 * 5120) || (height <= 0)) { 65 } else if (512 >= width) { 68 } else if (1024 >= width) { 71 } else if (1280 >= width) { 80 } else if (2048 >= width) { 83 } else if (4096 >= width) { 88 psb_surface->stride = (width + 0x3f) & ~0x3f; 98 psb_surface->stride = (width * 39 psb_surface_create(psb_driver_data_p driver_data, int width, int height, int fourcc, unsigned int flags, psb_surface_p psb_surface ) argument 159 psb_surface_create_for_userptr( psb_driver_data_p driver_data, int width, int height, unsigned size, unsigned int __maybe_unused fourcc, unsigned int luma_stride, unsigned int __maybe_unused chroma_u_stride, unsigned int __maybe_unused chroma_v_stride, unsigned int luma_offset, unsigned int chroma_u_offset, unsigned int __maybe_unused chroma_v_offset, psb_surface_p psb_surface ) argument 193 psb_surface_create_from_kbuf( psb_driver_data_p driver_data, int width, int height, unsigned size, unsigned int __maybe_unused fourcc, int __maybe_unused kbuf_handle, unsigned int luma_stride, unsigned int __maybe_unused chroma_u_stride, unsigned int __maybe_unused chroma_v_stride, unsigned int __maybe_unused luma_offset, unsigned int chroma_u_offset, unsigned int __maybe_unused chroma_v_offset, psb_surface_p psb_surface ) argument 247 psb_surface_create_camera(psb_driver_data_p driver_data, int width, int height, int stride, int size, psb_surface_p psb_surface, int is_v4l2, unsigned int id_or_ofs ) argument 286 psb_surface_create_camera_from_ub(psb_driver_data_p driver_data, int width, int height, int stride, int size, psb_surface_p psb_surface, int is_v4l2, unsigned int id_or_ofs, const unsigned long *user_ptr) argument 372 psb_surface_set_displaying(psb_driver_data_p driver_data, int width, int height, psb_surface_p psb_surface) argument [all...] |
/hardware/intel/common/libva/test/putsurface/ |
H A D | putsurface_x11.c | 35 static int create_window(void *win_display, int x, int y, int width, int height); 36 static int check_window_event(void *x11_display, void *drawable, int *width, int *height, int *quit); 52 static Pixmap create_pixmap(void *win_display, int width, int height) argument 64 printf("Create a pixmap from ROOT window %dx%d, pixmap size %dx%d\n\n", attr.width, attr.height, width, height); 65 pixmap = XCreatePixmap(x11_display, root, width, height, 71 static int create_window(void *win_display, int x, int y, int width, int height) argument 80 drawable_thread0 = (void *)XCreateSimpleWindow(x11_display, root, x, y, width, height, 86 sizehints.width = width; 135 check_window_event(void *win_display, void *drawable, int *width, int *height, int *quit) argument [all...] |
H A D | putsurface_android.cpp | 47 static int create_window(void *win_display, int x, int y, int width, int height); 48 static int check_window_event(void *x11_display, void *win, int *width, int *height, int *quit); 63 static int create_window(void *win_display, int x, int y, int width, int height) argument 69 width, height, 82 surface_ctrl0->setSize(width, height); 96 width, height, 109 surface_ctrl1->setSize(width, height); 119 int check_window_event(void *win_display, void *drawble, int *width, int *height, int *quit) argument
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/tangier/ |
H A D | TngDisplayQuery.cpp | 71 uint32_t width, height; local 72 if (!Hwcomposer::getInstance().getDrm()->getDisplayResolution(device, width, height)) { 76 if (DEFAULT_DRM_FB_WIDTH / (float)width > 1.5) {
|
/hardware/qcom/msm8994/kernel-headers/media/ |
H A D | msm_media_info.h | 319 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) argument 322 (void)width; 331 static inline unsigned int VENUS_Y_STRIDE(int color_fmt, int width) argument 334 if (!width) 343 stride = MSM_MEDIA_ALIGN(width, alignment); 347 stride = MSM_MEDIA_ALIGN(width * 4/3, alignment); 356 static inline unsigned int VENUS_UV_STRIDE(int color_fmt, int width) argument 359 if (!width) 368 stride = MSM_MEDIA_ALIGN(width, alignment); 372 stride = MSM_MEDIA_ALIGN(width * 425 VENUS_Y_META_STRIDE(int color_fmt, int width) argument 475 VENUS_UV_META_STRIDE(int color_fmt, int width) argument 525 VENUS_BUFFER_SIZE( int color_fmt, int width, int height) argument 585 VENUS_VIEW2_OFFSET( int color_fmt, int width, int height) argument [all...] |
/hardware/qcom/msm8994/original-kernel-headers/media/ |
H A D | msm_media_info.h | 319 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) argument 322 (void)width; 331 static inline unsigned int VENUS_Y_STRIDE(int color_fmt, int width) argument 334 if (!width) 343 stride = MSM_MEDIA_ALIGN(width, alignment); 347 stride = MSM_MEDIA_ALIGN(width * 4/3, alignment); 356 static inline unsigned int VENUS_UV_STRIDE(int color_fmt, int width) argument 359 if (!width) 368 stride = MSM_MEDIA_ALIGN(width, alignment); 372 stride = MSM_MEDIA_ALIGN(width * 425 VENUS_Y_META_STRIDE(int color_fmt, int width) argument 475 VENUS_UV_META_STRIDE(int color_fmt, int width) argument 525 VENUS_BUFFER_SIZE( int color_fmt, int width, int height) argument 585 VENUS_VIEW2_OFFSET( int color_fmt, int width, int height) argument [all...] |
/hardware/qcom/msm8996/kernel-headers/media/ |
H A D | msm_media_info.h | 404 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) argument 407 (void)width; 416 static inline unsigned int VENUS_Y_STRIDE(int color_fmt, int width) argument 419 if (!width) 428 stride = MSM_MEDIA_ALIGN(width, alignment); 432 stride = MSM_MEDIA_ALIGN(width, 192); 442 static inline unsigned int VENUS_UV_STRIDE(int color_fmt, int width) argument 445 if (!width) 454 stride = MSM_MEDIA_ALIGN(width, alignment); 458 stride = MSM_MEDIA_ALIGN(width, 19 518 VENUS_Y_META_STRIDE(int color_fmt, int width) argument 568 VENUS_UV_META_STRIDE(int color_fmt, int width) argument 618 VENUS_RGB_STRIDE(int color_fmt, int width) argument 665 VENUS_RGB_META_STRIDE(int color_fmt, int width) argument 709 VENUS_BUFFER_SIZE( int color_fmt, int width, int height) argument 793 VENUS_VIEW2_OFFSET( int color_fmt, int width, int height) argument [all...] |
/hardware/qcom/msm8996/original-kernel-headers/media/ |
H A D | msm_media_info.h | 404 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) argument 407 (void)width; 416 static inline unsigned int VENUS_Y_STRIDE(int color_fmt, int width) argument 419 if (!width) 428 stride = MSM_MEDIA_ALIGN(width, alignment); 432 stride = MSM_MEDIA_ALIGN(width, 192); 442 static inline unsigned int VENUS_UV_STRIDE(int color_fmt, int width) argument 445 if (!width) 454 stride = MSM_MEDIA_ALIGN(width, alignment); 458 stride = MSM_MEDIA_ALIGN(width, 19 518 VENUS_Y_META_STRIDE(int color_fmt, int width) argument 568 VENUS_UV_META_STRIDE(int color_fmt, int width) argument 618 VENUS_RGB_STRIDE(int color_fmt, int width) argument 665 VENUS_RGB_META_STRIDE(int color_fmt, int width) argument 709 VENUS_BUFFER_SIZE( int color_fmt, int width, int height) argument 793 VENUS_VIEW2_OFFSET( int color_fmt, int width, int height) argument [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/ |
H A D | vc1parse_bitplane.c | 26 * mbx - image width in MB 58 * mbx - image width in MB 88 * mbx - image width in MB 149 * width, height are in MB unit. 152 int32_t width, int32_t height) 169 col[0] = 0; /* i%width; */ 170 row[0] = 0; /* i/width; */ 171 col[1] = 1; /* (i+1)%width; */ 172 row[1] = 0; /* (i+1)/width; */ 174 // If width*heigh 151 vc1_Norm2ModeDecode(void* ctxt, vc1_Bitplane *pBitplane, int32_t width, int32_t height) argument 279 vc1_Norm6ModeDecode(void* ctxt, vc1_Bitplane *pBitplane, int32_t width, int32_t height) argument 453 initBitplane(vc1_Bitplane *pBitplane,uint32_t width, uint32_t height) argument 470 vc1_DecodeBitplane(void* ctxt, vc1_Info *pInfo, uint32_t width, uint32_t height, vc1_bpp_type_t bpnum) argument [all...] |
/hardware/intel/common/libva/test/common/ |
H A D | va_display_android.cpp | 51 static int create_window(int x, int y, int width, int height) argument 57 width, height, 70 surface_ctr->setSize(width, height); 88 create_window(dst_rect->x, dst_rect->y, dst_rect->width, dst_rect->height); 92 src_rect->width, src_rect->height, 94 dst_rect->width, dst_rect->height,
|
H A D | va_display_x11.c | 60 ensure_window(unsigned int width, unsigned int height) argument 70 XResizeWindow(x11_display, x11_window, width, height); 82 0, 0, width, height, 100 rect->width > 0 && 121 win_width = dst_rect->x + dst_rect->width; 127 src_rect->width, src_rect->height, 129 dst_rect->width, dst_rect->height,
|
/hardware/qcom/display/msm8960/libtilerenderer/ |
H A D | tilerenderer.cpp | 38 int width = 0; local 43 renderer->getViewport(width, height); 49 right = width; 55 ALOGE("can't tile render; drity region, width, height not available"); 67 if (w > width || h > height) { 68 w = (w > width) ? width : w;
|
/hardware/qcom/display/msm8996/libgralloc1/ |
H A D | gr_adreno_info.h | 79 * Function to compute aligned width and aligned height based on 80 * width, height, format and usage flags. 82 * @return aligned width, aligned height 84 void GetAlignedWidthAndHeight(int width, int height, int format, int usage, 89 * Function to compute the adreno aligned width and aligned height 90 * based on the width and format. 92 * @return aligned width, aligned height 94 void AlignUnCompressedRGB(int width, int height, int format, int tileEnabled, 98 * Function to compute the adreno aligned width and aligned height 99 * based on the width an [all...] |
/hardware/qcom/display/msm8998/libgralloc1/ |
H A D | gr_adreno_info.h | 74 * Function to compute aligned width and aligned height based on 75 * width, height, format and usage flags. 77 * @return aligned width, aligned height 79 void GetAlignedWidthAndHeight(int width, int height, int format, int usage, 84 * Function to compute the adreno aligned width and aligned height 85 * based on the width and format. 87 * @return aligned width, aligned height 89 void AlignUnCompressedRGB(int width, int height, int format, int tileEnabled, 93 * Function to compute the adreno aligned width and aligned height 94 * based on the width an [all...] |
/hardware/qcom/display/msm8084/libcopybit/ |
H A D | software_converter.cpp | 49 // stride - horiz_padding is the actual width 52 unsigned int width = src->w - src->horiz_padding; local 57 unsigned int chromaPadding = c_width - width/2; 94 // The width/2 checks are to avoid copying 100 if(j == width) { 105 if (j+1 == width) { 106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; 108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; 111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; 112 newChroma[r2*width 127 int width; member in struct:copyInfo 148 int width = info.width; local [all...] |
/hardware/qcom/display/msm8226/libcopybit/ |
H A D | software_converter.cpp | 49 // stride - horiz_padding is the actual width 52 unsigned int width = src->w - src->horiz_padding; local 57 unsigned int chromaPadding = c_width - width/2; 94 // The width/2 checks are to avoid copying 100 if(j == width) { 105 if (j+1 == width) { 106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; 108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; 111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; 112 newChroma[r2*width 127 int width; member in struct:copyInfo 148 int width = info.width; local [all...] |
/hardware/qcom/display/msm8909/libcopybit/ |
H A D | software_converter.cpp | 49 // stride - horiz_padding is the actual width 52 unsigned int width = src->w - src->horiz_padding; local 57 unsigned int chromaPadding = c_width - width/2; 94 // The width/2 checks are to avoid copying 100 if(j == width) { 105 if (j+1 == width) { 106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; 108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; 111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; 112 newChroma[r2*width 127 int width; member in struct:copyInfo 148 int width = info.width; local [all...] |
/hardware/qcom/display/msm8960/libcopybit/ |
H A D | software_converter.cpp | 49 // stride - horiz_padding is the actual width 52 unsigned int width = src->w - src->horiz_padding; local 57 unsigned int chromaPadding = c_width - width/2; 94 // The width/2 checks are to avoid copying 100 if(j == width) { 105 if (j+1 == width) { 106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; 108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; 111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; 112 newChroma[r2*width 127 int width; member in struct:copyInfo 147 int width = info.width; local [all...] |
/hardware/qcom/display/msm8994/libcopybit/ |
H A D | software_converter.cpp | 49 // stride - horiz_padding is the actual width 52 unsigned int width = src->w - src->horiz_padding; local 57 unsigned int chromaPadding = c_width - width/2; 94 // The width/2 checks are to avoid copying 100 if(j == width) { 105 if (j+1 == width) { 106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; 108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; 111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; 112 newChroma[r2*width 127 int width; member in struct:copyInfo 148 int width = info.width; local [all...] |