Home
last modified time | relevance | path

Searched refs:height (Results 1 – 25 of 216) sorted by relevance

123456789

/device/generic/goldfish/camera/
DConverters.cpp36 int height, in _YUV420SToRGB565() argument
44 for (int y = 0; y < height; y++) { in _YUV420SToRGB565()
65 int height, in _YUV420SToRGB32() argument
73 for (int y = 0; y < height; y++) { in _YUV420SToRGB32()
96 void YV12ToRGB565(const void* yv12, void* rgb, int width, int height) in YV12ToRGB565() argument
102 const uint8_t* U = Y + y_stride * height; in YV12ToRGB565()
103 const uint8_t* V = U + uv_stride * (height / 2); in YV12ToRGB565()
105 width, height, y_stride, uv_stride); in YV12ToRGB565()
108 void YV12ToRGB32(const void* yv12, void* rgb, int width, int height) in YV12ToRGB32() argument
114 const uint8_t* V = Y + y_stride * height; in YV12ToRGB32()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_imageop.py25 for height in VALUES:
27 strlen = abs(width * height)
35 arguments = (data, size, width, height) + extra
37 arguments = (data, width, height) + extra
80 image, width, height = getimage('test'+os.extsep+'rgb')
86 newimage = imageop.crop (image, 4, width, height, 0, 0, 1, 1)
94 scaleimage = imageop.scale(image, 4, width, height, 1, 1)
102 videoimage = imageop.tovideo (image, 4, width, height)
107 greyimage = imageop.rgb2rgb8(image, width, height)
112 image = imageop.rgb82rgb(greyimage, width, height)
[all …]
/device/linaro/hikey/gralloc960/
Dalloc_device.cpp181 static void get_rgb_stride_and_size(int width, int height, int pixel_size, in get_rgb_stride_and_size() argument
194 *size = stride * height; in get_rgb_stride_and_size()
210 int h_aligned = GRALLOC_ALIGN( height, AFBC_NORMAL_HEIGHT_ALIGN ); in get_rgb_stride_and_size()
217 h_aligned = GRALLOC_ALIGN( height, AFBC_TILED_HEADERS_BASIC_HEIGHT_ALIGN ); in get_rgb_stride_and_size()
223 h_aligned = GRALLOC_ALIGN( height, AFBC_TILED_HEADERS_WIDEBLK_HEIGHT_ALIGN ); in get_rgb_stride_and_size()
233 h_aligned = GRALLOC_ALIGN( height, AFBC_WIDEBLK_HEIGHT_ALIGN ); in get_rgb_stride_and_size()
262 static bool get_afbc_yuv420_8bit_stride_and_size(int width, int height, int* pixel_stride, int* byt… in get_afbc_yuv420_8bit_stride_and_size() argument
268 *internalHeight = height; in get_afbc_yuv420_8bit_stride_and_size()
292 height = GRALLOC_ALIGN( *internalHeight, AFBC_TILED_HEADERS_BASIC_HEIGHT_ALIGN ); in get_afbc_yuv420_8bit_stride_and_size()
298 height = GRALLOC_ALIGN( *internalHeight, AFBC_TILED_HEADERS_WIDEBLK_HEIGHT_ALIGN ); in get_afbc_yuv420_8bit_stride_and_size()
[all …]
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DFormatConversions.h21 void get_yv12_offsets(int width, int height,
25 void get_yuv420p_offsets(int width, int height,
30 void rgb565_to_yv12(char* dest, char* src, int width, int height,
32 void rgb888_to_yv12(char* dest, char* src, int width, int height,
34 void rgb888_to_yuv420p(char* dest, char* src, int width, int height,
36 void yv12_to_rgb565(char* dest, char* src, int width, int height,
38 void yv12_to_rgb888(char* dest, char* src, int width, int height,
40 void yuv420p_to_rgb888(char* dest, char* src, int width, int height,
44 int width, int height, int top, int left,
DFormatConversions.cpp28 void get_yv12_offsets(int width, int height, in get_yv12_offsets() argument
35 uint32_t uvHeight = height / 2; in get_yv12_offsets()
36 uint32_t sz = yStride * height + 2 * (uvHeight * uvStride); in get_yv12_offsets()
43 void get_yuv420p_offsets(int width, int height, in get_yuv420p_offsets() argument
50 uint32_t uvHeight = height / 2; in get_yuv420p_offsets()
51 uint32_t sz = yStride * height + 2 * (uvHeight * uvStride); in get_yuv420p_offsets()
67 void rgb565_to_yv12(char* dest, char* src, int width, int height, in rgb565_to_yv12() argument
73 int cSize = cStride * height/2; in rgb565_to_yv12()
77 uint8_t *yv12_v0 = yv12_y0 + yStride * height; in rgb565_to_yv12()
107 void rgb888_to_yv12(char* dest, char* src, int width, int height, in rgb888_to_yv12() argument
[all …]
/device/google/marlin/camera/QCamera2/stack/mm-lib2d-interface/test/
Dmm_lib2d_test.c112 int32_t height; member
142 int height, int stride, char *fname) in lib2d_dump_tga() argument
156 fprintf(f, "%c%c%c%c", width & 0xff, width >> 8, height & 0xff, height >> 8); in lib2d_dump_tga()
159 for (i = 0; i < height; i++) { in lib2d_dump_tga()
266 int32_t height, int32_t crcb_offset, void *addr) in lib2d_test_load_input_yuv_data_linebyline() argument
282 i = fread(y_ptr, 1, (input_yuv_stride * height), fp); in lib2d_test_load_input_yuv_data_linebyline()
284 i = fread(crcb_ptr, 1, (input_yuv_stride * height / 2), fp); in lib2d_test_load_input_yuv_data_linebyline()
288 for (line = 0;line < height; line++) { in lib2d_test_load_input_yuv_data_linebyline()
292 for (line = 0;line < height; line++) { in lib2d_test_load_input_yuv_data_linebyline()
330 int32_t height = 0; in main() local
[all …]
/device/google/marlin/camera/usbcamcore/src/
DQCameraUsbParm.cpp380 snprintf(buffer, sizeof(buffer), "%dx%d", sizes[0].width, sizes[0].height); in create_sizes_str()
384 snprintf(buffer, sizeof(buffer), ",%dx%d", sizes[i].width, sizes[i].height); in create_sizes_str()
491 int rc = 0, width, height, i, numPrvwSizes, validSize; in usbCamSetPrvwSize() local
494 params.getPreviewSize(&width, &height); in usbCamSetPrvwSize()
495 ALOGI("%s: Requested preview size %d x %d", __func__, width, height); in usbCamSetPrvwSize()
501 && height == previewSizes[i].height) { in usbCamSetPrvwSize()
504 camHal->qCamParams.setPreviewSize(width, height); in usbCamSetPrvwSize()
506 __func__, width, height); in usbCamSetPrvwSize()
509 camHal->prevHeight = height; in usbCamSetPrvwSize()
511 camHal->dispHeight = height; in usbCamSetPrvwSize()
[all …]
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c2498 scanline = PAD_TO_SIZE(dim->height, height_padding); in mm_stream_calc_offset_preview()
2507 buf_planes->plane_info.mp[0].height = dim->height; in mm_stream_calc_offset_preview()
2510 scanline = PAD_TO_SIZE(dim->height / 2, height_padding); in mm_stream_calc_offset_preview()
2519 buf_planes->plane_info.mp[1].height = dim->height / 2; in mm_stream_calc_offset_preview()
2532 scanline = PAD_TO_SIZE(dim->height, CAM_PAD_TO_32); in mm_stream_calc_offset_preview()
2535 scanline = PAD_TO_SIZE(dim->height, padding->height_padding); in mm_stream_calc_offset_preview()
2545 buf_planes->plane_info.mp[0].height = dim->height; in mm_stream_calc_offset_preview()
2548 scanline = PAD_TO_SIZE(dim->height / 2, CAM_PAD_TO_32); in mm_stream_calc_offset_preview()
2557 buf_planes->plane_info.mp[1].height = dim->height / 2; in mm_stream_calc_offset_preview()
2570 scanline = PAD_TO_SIZE(dim->height, CAM_PAD_TO_2); in mm_stream_calc_offset_preview()
[all …]
/device/generic/goldfish-opengl/system/renderControl_enc/
DrenderControl_entry.cpp18 uint32_t rcCreateWindowSurface(uint32_t config, uint32_t width, uint32_t height);
20 uint32_t rcCreateColorBuffer(uint32_t width, uint32_t height, GLenum internalFormat);
31 …void rcReadColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum f…
32 …int rcUpdateColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum …
42 …int rcUpdateColorBufferDMA(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLen…
43 …uint32_t rcCreateColorBufferDMA(uint32_t width, uint32_t height, GLenum internalFormat, int framew…
112 uint32_t rcCreateWindowSurface(uint32_t config, uint32_t width, uint32_t height) in rcCreateWindowSurface() argument
115 return ctx->rcCreateWindowSurface(ctx, config, width, height); in rcCreateWindowSurface()
124 uint32_t rcCreateColorBuffer(uint32_t width, uint32_t height, GLenum internalFormat) in rcCreateColorBuffer() argument
127 return ctx->rcCreateColorBuffer(ctx, width, height, internalFormat); in rcCreateColorBuffer()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c66 int height; member
74 int height; member
233 size_t size = (size_t)(CEILING16(p_input->width) * CEILING16(p_input->height)); in decode_init()
240 p_obj->height = p_input->height; in decode_init()
275 p_params->dest_buf[0].offset.mp[0].scanline = CEILING16(p_input->height); in decode_init()
277 p_params->dest_buf[0].offset.mp[1].scanline = CEILING16(p_input->height); in decode_init()
299 p_job_params->main_dim.src_dim.height = p_obj->height; in decode_init()
301 p_job_params->main_dim.dst_dim.height = p_obj->height; in decode_init()
305 p_job_params->main_dim.crop.height = p_obj->height; in decode_init()
353 p_test->height = atoi(optarg); in mm_jpegdec_test_get_input()
[all …]
Dmm_jpeg_test.c65 int height; member
105 int height; member
248 size_t size = (size_t)(p_input->width * p_input->height); in encode_init()
258 p_obj->height = p_input->height; in encode_init()
287 p_params->src_main_buf[i].offset.mp[0].scanline = p_input->height; in encode_init()
298 p_params->src_thumb_buf[i].offset.mp[0].scanline = p_input->height; in encode_init()
355 p_job_params->main_dim.src_dim.height = p_obj->height; in encode_init()
357 p_job_params->main_dim.dst_dim.height = p_obj->height; in encode_init()
361 p_job_params->main_dim.crop.height = p_obj->height; in encode_init()
367 p_job_params->thumb_dim.src_dim.height = p_obj->height; in encode_init()
[all …]
/device/google/marlin/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c74 int height; member
82 int height; member
241 size_t size = (size_t)(CEILING16(p_input->width) * CEILING16(p_input->height)); in decode_init()
248 p_obj->height = p_input->height; in decode_init()
283 p_params->dest_buf[0].offset.mp[0].scanline = CEILING16(p_input->height); in decode_init()
285 p_params->dest_buf[0].offset.mp[1].scanline = CEILING16(p_input->height); in decode_init()
307 p_job_params->main_dim.src_dim.height = p_obj->height; in decode_init()
309 p_job_params->main_dim.dst_dim.height = p_obj->height; in decode_init()
313 p_job_params->main_dim.crop.height = p_obj->height; in decode_init()
361 p_test->height = atoi(optarg); in mm_jpegdec_test_get_input()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c66 int height; member
74 int height; member
233 size_t size = (size_t)(CEILING16(p_input->width) * CEILING16(p_input->height)); in decode_init()
240 p_obj->height = p_input->height; in decode_init()
275 p_params->dest_buf[0].offset.mp[0].scanline = CEILING16(p_input->height); in decode_init()
277 p_params->dest_buf[0].offset.mp[1].scanline = CEILING16(p_input->height); in decode_init()
299 p_job_params->main_dim.src_dim.height = p_obj->height; in decode_init()
301 p_job_params->main_dim.dst_dim.height = p_obj->height; in decode_init()
305 p_job_params->main_dim.crop.height = p_obj->height; in decode_init()
353 p_test->height = atoi(optarg); in mm_jpegdec_test_get_input()
[all …]
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c2049 scanline = PAD_TO_SIZE(dim->height, CAM_PAD_TO_2); in mm_stream_calc_offset_preview()
2058 buf_planes->plane_info.mp[0].height = dim->height; in mm_stream_calc_offset_preview()
2061 scanline = PAD_TO_SIZE(dim->height / 2, CAM_PAD_TO_2); in mm_stream_calc_offset_preview()
2070 buf_planes->plane_info.mp[1].height = dim->height / 2; in mm_stream_calc_offset_preview()
2082 scanline = PAD_TO_SIZE(dim->height, CAM_PAD_TO_32); in mm_stream_calc_offset_preview()
2091 buf_planes->plane_info.mp[0].height = dim->height; in mm_stream_calc_offset_preview()
2094 scanline = PAD_TO_SIZE(dim->height / 2, CAM_PAD_TO_32); in mm_stream_calc_offset_preview()
2103 buf_planes->plane_info.mp[1].height = dim->height / 2; in mm_stream_calc_offset_preview()
2115 scanline = PAD_TO_SIZE(dim->height, CAM_PAD_TO_2); in mm_stream_calc_offset_preview()
2123 buf_planes->plane_info.mp[0].height = dim->height; in mm_stream_calc_offset_preview()
[all …]
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c2049 scanline = PAD_TO_SIZE(dim->height, CAM_PAD_TO_2); in mm_stream_calc_offset_preview()
2058 buf_planes->plane_info.mp[0].height = dim->height; in mm_stream_calc_offset_preview()
2061 scanline = PAD_TO_SIZE(dim->height / 2, CAM_PAD_TO_2); in mm_stream_calc_offset_preview()
2070 buf_planes->plane_info.mp[1].height = dim->height / 2; in mm_stream_calc_offset_preview()
2082 scanline = PAD_TO_SIZE(dim->height, CAM_PAD_TO_32); in mm_stream_calc_offset_preview()
2091 buf_planes->plane_info.mp[0].height = dim->height; in mm_stream_calc_offset_preview()
2094 scanline = PAD_TO_SIZE(dim->height / 2, CAM_PAD_TO_32); in mm_stream_calc_offset_preview()
2103 buf_planes->plane_info.mp[1].height = dim->height / 2; in mm_stream_calc_offset_preview()
2115 scanline = PAD_TO_SIZE(dim->height, CAM_PAD_TO_2); in mm_stream_calc_offset_preview()
2123 buf_planes->plane_info.mp[0].height = dim->height; in mm_stream_calc_offset_preview()
[all …]
/device/generic/goldfish/camera/jpeg-stub/
DCompressor.cpp29 int width, int height, int quality, in compress() argument
31 if (!configureCompressor(width, height, quality)) { in compress()
44 bool Compressor::configureCompressor(int width, int height, int quality) { in configureCompressor() argument
59 mCompressInfo.image_height = height; in configureCompressor()
85 int height, int stride) { in deinterleave() argument
86 int numRows = (height - rowIndex) / 2; in deinterleave()
109 int height = mCompressInfo.image_height; in compressData() local
111 const uint8_t* vuPlanar = data + (width * height); in compressData()
133 width, height, width); in compressData()
DJpegStub.cpp39 int height, in JpegStub_compress() argument
46 width, height, quality, exifData)) { in JpegStub_compress()
48 __FUNCTION__, (width * height * 12) / 8, in JpegStub_compress()
49 width, height, compressor->getCompressedData().size()); in JpegStub_compress()
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DGLESTextureUtils.cpp202 static int computePackingOffset(GLenum format, GLenum type, GLsizei width, GLsizei height, int alig… in computePackingOffset() argument
205 (skipImages * height + skipRows); in computePackingOffset()
210 GLsizei width, GLsizei height, GLsizei depth, in computeTextureStartEnd() argument
223 GLsizei inputHeight = (unpackImageHeight == 0) ? height : unpackImageHeight; in computeTextureStartEnd()
225 …ALOGV("%s: input idim %d %d %d w p h %d %d %d:", __FUNCTION__, width, height, depth, inputWidth, i… in computeTextureStartEnd()
238 GLsizei width, GLsizei height, GLsizei depth, in computeTotalImageSize() argument
249 width, height, depth, in computeTotalImageSize()
263 GLsizei width, GLsizei height, GLsizei depth, in computeNeededBufferSize() argument
274 width, height, depth, in computeNeededBufferSize()
/device/generic/goldfish-opengl/system/include/ETC1/
Detc1.h58 etc1_uint32 etc1_get_encoded_data_size(etc1_uint32 width, etc1_uint32 height);
67 int etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height,
79 etc1_uint32 width, etc1_uint32 height,
88 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height);
/device/google/marlin/camera/QCamera2/stack/mm-lib2d-interface/src/
Dmm_lib2d.c206 p_frame->info.height = rgb_buffer->height; in lib2d_fill_img_frame()
213 rgb_buffer->height); in lib2d_fill_img_frame()
215 p_frame->frame[0].plane[0].height = rgb_buffer->height; in lib2d_fill_img_frame()
218 p_frame->frame[0].plane[0].scanline = rgb_buffer->height; in lib2d_fill_img_frame()
224 p_frame->info.height = yuv_buffer->height; in lib2d_fill_img_frame()
231 yuv_buffer->height); in lib2d_fill_img_frame()
233 p_frame->frame[0].plane[0].height = yuv_buffer->height; in lib2d_fill_img_frame()
236 p_frame->frame[0].plane[0].scanline = yuv_buffer->height; in lib2d_fill_img_frame()
246 yuv_buffer->height / 2); in lib2d_fill_img_frame()
248 p_frame->frame[0].plane[1].height = yuv_buffer->height; in lib2d_fill_img_frame()
[all …]
/device/google/marlin/camera/QCamera2/HAL/test/
Dqcamera_test.cpp260 for (unsigned int i = 0; i < (unsigned int)src->height(); i++) { in PiPCopyToOneFile()
921 mHeightTmp = currentPictureSize.height;
1075 srcYScanLines = calcYScanLines(currentVideoSize.height);
1076 srcUVScanLines = calcUVScanLines(currentVideoSize.height);
1078 mInterpr->mViVBuff.srcHeight = (size_t)currentVideoSize.height;
1094 dstYScanLines = calcYScanLines(currentVideoSize.height);
1095 dstUVScanLines = calcUVScanLines(currentVideoSize.height);
1148 for (i = 0; i < (size_t)currentVideoSize.height; i++) {
1157 dstBaseOffset = dstUVStride * (size_t)currentVideoSize.height;
1159 for (i = 0; i < (size_t)currentVideoSize.height / 2; i++) {
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/webchecker/
Dtktools.py98 corner = Frame(vbarframe, width=sbwidth, height=sbwidth)
134 def make_text_box(parent, width=0, height=0, hbar=0, vbar=1, argument
155 if height: widget.config(height=height)
163 def make_list_box(parent, width=0, height=0, hbar=0, vbar=1, argument
177 if height: widget.config(height=height)
185 def make_canvas(parent, width=0, height=0, hbar=1, vbar=1, argument
199 widget = Canvas(frame, scrollregion=(0, 0, width, height), name="canvas")
201 if height: widget.config(height=height)
/device/generic/goldfish/camera/fake-pipeline2/
DBase.h37 uint32_t width, height; member
48 uint32_t width, height; member
55 uint32_t width, height; member
/device/generic/goldfish-opengl/system/egl/
DClientAPIExts.in126 (GLenum target, GLenum internalformat, GLsizei width, GLsizei height),
127 (target, internalformat, width, height))
172 (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height),
173 (x, y, z, width, height))
176 (GLint x, GLint y, GLint z, GLint width, GLint height),
177 (x, y, z, width, height))
180 (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height),
181 (x, y, z, width, height))
184 (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height),
185 (x, y, z, width, height))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dyuvconvert.c5 yuv_sv411_to_cl422dc(int invert, void *data, void *yuv, int width, int height) in yuv_sv411_to_cl422dc() argument
12 for (i = height / 2; i--; ) { in yuv_sv411_to_cl422dc()
43 int width, int height) in yuv_sv411_to_cl422dc_quartersize() argument
53 for (i = height / 4; i--; ) { in yuv_sv411_to_cl422dc_quartersize()
82 int width, int height) in yuv_sv411_to_cl422dc_sixteenthsize() argument
93 for (i = height / 8; i--; ) { in yuv_sv411_to_cl422dc_sixteenthsize()

123456789