Searched refs:width (Results 76 - 100 of 714) sorted by relevance

1234567891011>>

/hardware/qcom/media/msm8996/mm-core/src/common/
H A Dqc_omx_core.h56 OMX_U32 width; member in struct:__anon2988
/hardware/qcom/media/msm8998/mm-core/src/common/
H A Dqc_omx_core.h56 OMX_U32 width; member in struct:__anon3038
/hardware/intel/common/libva/test/decode/
H A Dloadjpeg.c65 unsigned int width, height; local
89 tinyjpeg_get_size(jdec, &width, &height);
91 printf("Decoding JPEG image %dx%d...\n", width, height);
/hardware/intel/img/hwcomposer/merrifield/ips/common/
H A DRotationBufferProvider.h53 bool isContextChanged(int width, int height, int transform);
55 buffer_handle_t createWsbmBuffer(int width, int height, void **buf);
56 int getStride(bool isTarget, int width);
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
H A DRotationBufferProvider.h53 bool isContextChanged(int width, int height, int transform);
55 uint32_t createWsbmBuffer(int width, int height, void **buf);
56 int getStride(bool isTarget, int width);
/hardware/intel/img/psb_video/src/android/
H A Dpsb_mds.cpp74 int32_t* width, int32_t* height,
78 width == NULL || height == NULL ||
87 status_t ret = mListener->getDecoderOutputResolution(0, width, height, offX, offY, bufW, bufH);
73 getDecoderOutputResolution( int32_t* width, int32_t* height, int32_t* offX, int32_t* offY, int32_t* bufW, int32_t* bufH) argument
H A Dpsb_surface_gralloc.c71 obj_surface->width, obj_surface->height, (void **)&vaddr[GRALLOC_SUB_BUFFER0])){
98 int width,
126 ALOGD("format is 0x%x, width is %d, height is %d, num_surfaces is %d.\n", format, width, height, num_surfaces);
138 vaStatus = psb__checkSurfaceDimensions(driver_data, width, height);
165 obj_surface->width = width;
167 obj_surface->width_r = width;
203 if (gralloc_lock(handle, usage, 0, 0, width, height, (void **)&vaddr)) {
209 vaStatus = psb_surface_create_from_ub(driver_data, width, heigh
96 psb_CreateSurfacesFromGralloc( VADriverContextP ctx, int width, int height, int format, int num_surfaces, VASurfaceID *surface_list, PsbSurfaceAttributeTPI *attribute_tpi ) argument
252 psb_CreateSurfacesFromGralloc( VADriverContextP ctx, int width, int height, int format, int num_surfaces, VASurfaceID *surface_list, PsbSurfaceAttributeTPI *attribute_tpi ) argument
[all...]
H A Dpsb_mds.h63 int32_t* width, int32_t* height,
/hardware/qcom/display/msm8960/libgralloc/
H A Dgr.h50 size_t getBufferSizeAndDimensions(int width, int height, int format,
57 // Allocate buffer from width, height, format into a private_handle_t
88 * Function to compute the adreno stride based on the width and format.
92 int getStride(int width, int format);
99 int (*LINK_adreno_compute_padding) (int width, int bpp,
/hardware/intel/common/libva/test/
H A Dloadsurface.h41 static int YUV_blend_with_pic(int width, int height, argument
73 if (width != 640 || height != 480) { /* need to scale the pic */
74 pic_y = (unsigned char *)malloc(width * height);
75 pic_u = (unsigned char *)malloc(width * height/4);
76 pic_v = (unsigned char *)malloc(width * height/4);
81 pic_y, width, height);
83 pic_u, width/2, height/2);
85 pic_v, width/2, height/2);
97 unsigned char *q = pic_y + row * width;
98 for (col=0; col<width; co
146 yuvgen_planar(int width, int height, unsigned char *Y_start, int Y_pitch, unsigned char *U_start, int U_pitch, unsigned char *V_start, int V_pitch, unsigned int fourcc, int box_width, int row_shift, int field) argument
[all...]
/hardware/interfaces/camera/provider/2.4/vts/functional/
H A DCameraParameters.cpp40 const char CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH[] = "jpeg-thumbnail-width";
331 int width, height; local
332 int success = parse_pair(sizeStartPtr, &width, &height, 'x',
338 sizes.push(Size(width, height));
347 void CameraParameters::setPreviewSize(int width, int height) argument
350 sprintf(str, "%dx%d", width, height);
354 void CameraParameters::getPreviewSize(int *width, int *height) const argument
356 *width = *height = -1;
360 parse_pair(p, width, height, 'x');
363 void CameraParameters::getPreferredPreviewSizeForVideo(int *width, in argument
377 setVideoSize(int width, int height) argument
384 getVideoSize(int *width, int *height) const argument
426 setPictureSize(int width, int height) argument
433 getPictureSize(int *width, int *height) const argument
[all...]
/hardware/qcom/media/msm8974/libc2dcolorconvert/
H A DC2DColorConverter.cpp66 void *getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource);
70 size_t calcStride(ColorConvertFormat format, size_t width);
71 size_t calcYSize(ColorConvertFormat format, size_t width, size_t height);
72 size_t calcSize(ColorConvertFormat format, size_t width, size_t height);
160 mBlit.source_rect.width = srcWidth << 16;
164 mBlit.target_rect.width = dstWidth << 16;
276 void* C2DColorConverter::getDummySurfaceDef(ColorConvertFormat format, size_t width, size_t height, bool isSource) argument
282 surfaceDef->width = width;
286 surfaceDef->stride0 = calcStride(format, width);
390 calcStride(ColorConvertFormat format, size_t width) argument
417 calcYSize(ColorConvertFormat format, size_t width, size_t height) argument
440 calcSize(ColorConvertFormat format, size_t width, size_t height) argument
[all...]
/hardware/intel/common/wrs_omxil_core/core/src/
H A Dintel_m4v_config_parser.h85 OSCL_IMPORT_REF int16 iDecodeVOLHeader(mp4StreamType *psBits, int32 *width, int32 *height, int32 *, int32 *, int32 *profilelevel);
86 OSCL_IMPORT_REF int16 iGetM4VConfigInfo(uint8 *buffer, int32 length, int32 *width, int32 *height, int32 *, int32 *);
88 OSCL_IMPORT_REF int16 iDecodeShortHeader(mp4StreamType *psBits, int32 *width, int32 *height, int32 *, int32 *);
89 OSCL_IMPORT_REF int16 iGetAVCConfigInfo(uint8 *buffer, int32 length, int32 *width, int32 *height, int32 *, int32 *, int32 *profile, int32 *level);
92 int16 DecodeSPS(mp4StreamType *psBits, int32 *width, int32 *height, int32 *display_width, int32 *display_height, int32 *profile_idc, int32 *level_idc);
/hardware/intel/img/psb_video/src/
H A Dpnw_hostjpeg.h52 #define JPEG_MCU_NUMBER(width, height, eFormat) \
53 ((((width) + 15) / 16) * (((height) + 15) / 16) * \
56 #define JPEG_MCU_PER_CORE(width, height, core, eFormat) \
57 ((core) > 1 ? (((uint32_t)JPEG_MCU_NUMBER(width, height, eFormat) + (core) - 1) / (core))\
58 :(uint32_t)JPEG_MCU_NUMBER(width, height, eFormat))
60 #define JPEG_SCANNING_COUNT(width, height, core, eFormat) \
61 ((uint32_t)(JPEG_MCU_PER_CORE(width, height, core, eFormat) > JPEG_MAX_MCU_PER_SCAN) ? \
62 ((uint32_t)(JPEG_MCU_NUMBER(width, height, eFormat) + JPEG_MAX_MCU_PER_SCAN - 1) \
66 #define JPEG_MCU_PER_SCAN(width, height, core, eFormat) \
67 ((JPEG_MCU_PER_CORE(width, heigh
[all...]
/hardware/qcom/display/msm8226/libexternal/
H A Dexternal.cpp72 void ExternalDisplay::getAttributes(int& width, int& height) { argument
74 getAttrForMode(width, height, fps);
156 property_set("persist.sys.actionsafe.width", actionsafeWidth);
580 int width = 0, height = 0, fps = 0; local
581 getAttrForMode(width, height, fps);
582 ALOGD("ExtDisplay setting xres = %d, yres = %d", width, height);
585 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = width;
596 if(((priW * priH) > (width * height)) &&
614 getAspectRatioPosition(tmpW, tmpH, width, height, r);
635 void ExternalDisplay::getAttrForMode(int& width, in argument
[all...]
/hardware/intel/common/libva/test/putsurface/
H A Dputsurface_wayland.c38 int x, int y, int width, int height);
40 int *width, int *height, int *quit);
88 src_rect.width = src_w;
93 dst_rect.width = src_w;
166 dst_rect->x, dst_rect->y, dst_rect->width, dst_rect->height
244 create_window(void *win_display, int x, int y, int width, int height) argument
286 int *width,
326 *width = event.xconfigure.width;
328 printf("Scale window to %dx%d\n", width, heigh
283 check_window_event( void *win_display, void *drawable, int *width, int *height, int *quit ) argument
[all...]
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
H A Dhwc_display_virtual.cpp46 HWCCallbacks *callbacks, uint32_t width,
53 DLOGI("Creating virtual display: w: %d h:%d format:0x%x", width, height, *format);
69 status = hwc_display_virtual->SetConfig(width, height);
75 // TODO(user): Validate that we support this width/height
76 status = hwc_display_virtual->SetFrameBufferResolution(width, height);
145 buffer_info.buffer_config.width = static_cast<uint32_t>(output_handle->width);
163 int HWCDisplayVirtual::SetConfig(uint32_t width, uint32_t height) { argument
165 variable_info.x_pixels = width;
178 // Fill output buffer parameters (width, heigh
45 Create(CoreInterface *core_intf, HWCBufferAllocator *buffer_allocator, HWCCallbacks *callbacks, uint32_t width, uint32_t height, int32_t *format, HWCDisplay **hwc_display) argument
[all...]
/hardware/qcom/display/msm8998/sdm/libs/hwc/
H A Dhwc_buffer_allocator.cpp63 int width = INT(buffer_config.width); local
91 uint32_t buffer_size = getBufferSizeAndDimensions(width, height, format, alloc_flags,
169 int width = INT(buffer_config.width); local
194 uint32_t buffer_size = getBufferSizeAndDimensions(width, height, format, alloc_flags,
261 int width = INT(buffer_config.width); local
278 DLOGE("Failed: format = %d or width = %d height = %d", buffer_config.format, width, heigh
[all...]
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
H A Dhwc_display_virtual.cpp45 int HWCDisplayVirtual::Create(CoreInterface *core_intf, HWCCallbacks *callbacks, uint32_t width, argument
51 DLOGI("Creating virtual display: w: %d h:%d format:0x%x", width, height, *format);
67 status = hwc_display_virtual->SetConfig(width, height);
73 // TODO(user): Validate that we support this width/height
74 status = hwc_display_virtual->SetFrameBufferResolution(width, height);
142 buffer_info.buffer_config.width = static_cast<uint32_t>(output_handle->width);
160 int HWCDisplayVirtual::SetConfig(uint32_t width, uint32_t height) { argument
162 variable_info.x_pixels = width;
175 // Fill output buffer parameters (width, heigh
[all...]
/hardware/qcom/display/msm8084/libexternal/
H A Dexternal.cpp72 void ExternalDisplay::getAttributes(int& width, int& height) { argument
74 getAttrForMode(width, height, fps);
156 property_set("persist.sys.actionsafe.width", actionsafeWidth);
580 int width = 0, height = 0, fps = 0; local
581 getAttrForMode(width, height, fps);
582 ALOGD("ExtDisplay setting xres = %d, yres = %d", width, height);
585 mHwcContext->dpyAttr[HWC_DISPLAY_EXTERNAL].xres = width;
596 if(((priW * priH) > (width * height)) &&
615 void ExternalDisplay::getAttrForMode(int& width, int& height, int& fps) { argument
618 width
[all...]
/hardware/qcom/display/msm8996/libgralloc1/
H A Dgr_priv_handle.h70 int width; // holds width of the actual buffer allocated member in struct:private_handle_t
72 int unaligned_width; // holds width client asked to allocate
98 int width,
111 width(width),
167 hnd->id, hnd->width, hnd->height, hnd->unaligned_width, hnd->unaligned_height, hnd->size,
181 // In handle we currently store aligned width after allocation.
182 return width;
95 private_handle_t(int fd, int meta_fd, int flags, int width, int height, int uw, int uh, int format, int buf_type, unsigned int size, gralloc1_producer_usage_t prod_usage = GRALLOC1_PRODUCER_USAGE_NONE, gralloc1_consumer_usage_t cons_usage = GRALLOC1_CONSUMER_USAGE_NONE) argument
/hardware/intel/common/libva/va/
H A Dva_backend_tpi.h40 int width,
/hardware/interfaces/graphics/mapper/2.0/
H A DIMapper.hal24 * The width specifies how many columns of pixels must be in the
29 uint32_t width;
55 int32_t width;
/hardware/qcom/display/msm8084/libvirtual/
H A Dvirtual.h46 void getAttributes(int& width, int& height);
/hardware/qcom/display/msm8226/libvirtual/
H A Dvirtual.h46 void getAttributes(int& width, int& height);

Completed in 2265 milliseconds

1234567891011>>