Searched refs:height (Results 1 - 25 of 679) sorted by relevance

1234567891011>>

/hardware/qcom/display/msm8226/libhwcomposer/
H A Dhwc_delta_panel.h23 void deltaPanelRendering(uint8_t *pImage, int width, int height);
/hardware/interfaces/automotive/evs/1.0/vts/functional/
H A DFormatConvert.h26 // 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 Dmsm_media_info.h140 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) argument
142 (void)height;
192 static inline unsigned int VENUS_Y_SCANLINES(int color_fmt, int height) argument
195 if (!height)
203 sclines = MSM_MEDIA_ALIGN(height, alignment);
212 static inline unsigned int VENUS_UV_SCANLINES(int color_fmt, int height) argument
215 if (!height)
223 sclines = MSM_MEDIA_ALIGN(((height + 1) >> 1), alignment);
233 int color_fmt, int width, int height)
235 const unsigned int extra_size = VENUS_EXTRADATA_SIZE(width, height);
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 Dmsm_media_info.h140 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) argument
142 (void)height;
192 static inline unsigned int VENUS_Y_SCANLINES(int color_fmt, int height) argument
195 if (!height)
203 sclines = MSM_MEDIA_ALIGN(height, alignment);
212 static inline unsigned int VENUS_UV_SCANLINES(int color_fmt, int height) argument
215 if (!height)
223 sclines = MSM_MEDIA_ALIGN(((height + 1) >> 1), alignment);
233 int color_fmt, int width, int height)
235 const unsigned int extra_size = VENUS_EXTRADATA_SIZE(width, height);
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 Dva_compat.c34 int height,
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 Dpsb_surface_attrib.h39 int width, int height, int fourcc, VASurfaceAttributeTPI *graphic_buffers,
48 int width, int height,
62 int width, int height,
78 int width, int height, int stride, int size,
91 int width, int height, int stride, int size,
106 int height,
123 int height,
139 int height,
120 psb_CreateSurfacesFromGralloc( VADriverContextP ctx, int width, int height, int format, int num_surfaces, VASurfaceID *surface_list, PsbSurfaceAttributeTPI *attribute_tpi ) argument
H A Dpsb_surface.c40 int width, int height, int fourcc, unsigned int flags,
59 if ((width <= 0) || (width * height > 5120 * 5120) || (height <= 0)) {
92 psb_surface->chroma_offset = psb_surface->stride * height;
93 psb_surface->size = (psb_surface->stride * height * 3) / 2;
101 psb_surface->size = psb_surface->stride * height;
104 if ((width <= 0) || (width * height > 5120 * 5120) || (height <= 0)) {
137 psb_surface->chroma_offset = psb_surface->stride * height;
138 psb_surface->size = psb_surface->stride * height *
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 Dputsurface_x11.c35 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,
87 sizehints.height = height;
135 check_window_event(void *win_display, void *drawable, int *width, int *height, int *quit) argument
[all...]
H A Dputsurface_android.cpp47 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/qcom/display/msm8960/libtilerenderer/
H A Dtilerenderer.cpp39 int height = 0; local
43 renderer->getViewport(width, height);
50 bottom = height;
55 ALOGE("can't tile render; drity region, width, height not available");
59 int l = left, t = (height - bottom), w = (right - left), h = (bottom - top), preserve = 0;
67 if (w > width || h > height) {
69 h = (h > height) ? height : h;
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/tangier/
H A DTngDisplayQuery.cpp71 uint32_t width, height; local
72 if (!Hwcomposer::getInstance().getDrm()->getDisplayResolution(device, width, height)) {
80 if (DEFAULT_DRM_FB_HEIGHT / (float)height > 1.5) {
/hardware/qcom/msm8996/kernel-headers/media/
H A Dmsm_media_info.h404 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) argument
406 (void)height;
468 static inline unsigned int VENUS_Y_SCANLINES(int color_fmt, int height) argument
471 if (!height)
487 sclines = MSM_MEDIA_ALIGN(height, alignment);
492 static inline unsigned int VENUS_UV_SCANLINES(int color_fmt, int height) argument
495 if (!height)
512 sclines = MSM_MEDIA_ALIGN(height / 2, alignment);
543 static inline unsigned int VENUS_Y_META_SCANLINES(int color_fmt, int height) argument
547 if (!height)
593 VENUS_UV_META_SCANLINES(int color_fmt, int height) argument
641 VENUS_RGB_SCANLINES(int color_fmt, int height) argument
687 VENUS_RGB_META_SCANLINES(int color_fmt, int height) 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 Dmsm_media_info.h404 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) argument
406 (void)height;
468 static inline unsigned int VENUS_Y_SCANLINES(int color_fmt, int height) argument
471 if (!height)
487 sclines = MSM_MEDIA_ALIGN(height, alignment);
492 static inline unsigned int VENUS_UV_SCANLINES(int color_fmt, int height) argument
495 if (!height)
512 sclines = MSM_MEDIA_ALIGN(height / 2, alignment);
543 static inline unsigned int VENUS_Y_META_SCANLINES(int color_fmt, int height) argument
547 if (!height)
593 VENUS_UV_META_SCANLINES(int color_fmt, int height) argument
641 VENUS_RGB_SCANLINES(int color_fmt, int height) argument
687 VENUS_RGB_META_SCANLINES(int color_fmt, int height) 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/msm8994/kernel-headers/media/
H A Dmsm_media_info.h319 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) argument
321 (void)height;
381 static inline unsigned int VENUS_Y_SCANLINES(int color_fmt, int height) argument
384 if (!height)
394 sclines = MSM_MEDIA_ALIGN(height, alignment);
403 static inline unsigned int VENUS_UV_SCANLINES(int color_fmt, int height) argument
406 if (!height)
416 sclines = MSM_MEDIA_ALIGN(((height + 1) >> 1), alignment);
450 static inline unsigned int VENUS_Y_META_SCANLINES(int color_fmt, int height) argument
454 if (!height)
500 VENUS_UV_META_SCANLINES(int color_fmt, int height) 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 Dmsm_media_info.h319 static inline unsigned int VENUS_EXTRADATA_SIZE(int width, int height) argument
321 (void)height;
381 static inline unsigned int VENUS_Y_SCANLINES(int color_fmt, int height) argument
384 if (!height)
394 sclines = MSM_MEDIA_ALIGN(height, alignment);
403 static inline unsigned int VENUS_UV_SCANLINES(int color_fmt, int height) argument
406 if (!height)
416 sclines = MSM_MEDIA_ALIGN(((height + 1) >> 1), alignment);
450 static inline unsigned int VENUS_Y_META_SCANLINES(int color_fmt, int height) argument
454 if (!height)
500 VENUS_UV_META_SCANLINES(int color_fmt, int height) 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/intel/common/libva/test/common/
H A Dva_display_android.cpp51 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 Dva_display_x11.c60 ensure_window(unsigned int width, unsigned int height) argument
70 XResizeWindow(x11_display, x11_window, width, height);
82 0, 0, width, height,
101 rect->height > 0);
122 win_height = dst_rect->y + dst_rect->height;
127 src_rect->width, src_rect->height,
129 dst_rect->width, dst_rect->height,
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/
H A Dvc1parse_bitplane.c27 * mby - image height in MB
149 * width, height are in MB unit.
152 int32_t width, int32_t height)
174 // If width*height is odd, the first bit is the value of the bitplane
176 if ((width*height) & 1) /* first bit if size is odd */
179 put_bit(tmp_databits, 0, 0, width, height, pBitplane->invert,
197 for (i = (width*height) & 1; i < (width*height/2)*2; i += 2)
209 put_bit(0, col[0],row[0], width, height, pBitplane->invert,
211 put_bit(0, col[1],row[1], width, height, pBitplan
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/libmix/videoencoder/
H A DVideoEncoderUtils.cpp86 int left, int top, int width, int height, void** vaddr) {
101 .height = height
181 vinfo.height = h->iHeight;
207 LOG_V("Actual Width=%d, Height=%d, Stride=%d\n\n", vinfo.width, vinfo.height, vinfo.lumaStride);
219 if (gfx_lock((buffer_handle_t)handle, usage, 0, 0, vinfo.width, vinfo.height, &vaddr[0]) != 0)
222 fwrite(vaddr[0], 1, vinfo.lumaStride * vinfo.height * 4, fp);
224 LOG_I("dump %d bytes data to %s\n", vinfo.lumaStride * vinfo.height * 4, filename);
284 int height = mVASurfaceHeight = mVinfo.height; local
85 gfx_lock(buffer_handle_t handle, int usage, int left, int top, int width, int height, void** vaddr) argument
527 uint32_t width = 0, height = 0, stride = 0; local
753 CreateNewVASurface(VADisplay display, int32_t width, int32_t height) argument
[all...]
/hardware/qcom/display/msm8996/libgralloc1/
H A Dgr_adreno_info.h79 * 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
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
101 * @return aligned width, aligned height
103 void AlignCompressedRGB(int width, int height, in
[all...]
/hardware/qcom/display/msm8998/libgralloc1/
H A Dgr_adreno_info.h74 * 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
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
96 * @return aligned width, aligned height
98 void AlignCompressedRGB(int width, int height, in
[all...]
/hardware/qcom/display/msm8084/libcopybit/
H A Dsoftware_converter.cpp50 // 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 Dsoftware_converter.cpp50 // 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 Dsoftware_converter.cpp50 // 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 Dsoftware_converter.cpp50 // 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...]

Completed in 1649 milliseconds

1234567891011>>