Home
last modified time | relevance | path

Searched refs:y (Results 1 – 25 of 84) sorted by relevance

1234

/device/sample/skins/WVGAMedDpi/
Dlayout18 y 0
30 y 142
35 y 142
40 y 142
45 y 53
50 y 106
55 y 53
60 y 53
65 y 81
70 y 71
[all …]
/device/generic/goldfish/camera/
DConverters.cpp39 for (int y = 0; y < height; y++) { in _YUV420SToRGB565() local
48 if (y & 0x1) { in _YUV420SToRGB565()
69 for (int y = 0; y < height; y++) { in _YUV420SToRGB32() local
78 if (y & 0x1) { in _YUV420SToRGB32()
144 const uint8_t* y = reinterpret_cast<const uint8_t*>(nv12); in NV12ToRGB565() local
145 _NVXXToRGB565(y, y + pix_total, y + pix_total + 1, in NV12ToRGB565()
152 const uint8_t* y = reinterpret_cast<const uint8_t*>(nv12); in NV12ToRGB32() local
153 _NVXXToRGB32(y, y + pix_total, y + pix_total + 1, in NV12ToRGB32()
160 const uint8_t* y = reinterpret_cast<const uint8_t*>(nv21); in NV21ToRGB565() local
161 _NVXXToRGB565(y, y + pix_total + 1, y + pix_total, in NV21ToRGB565()
[all …]
DConverters.h153 R8G8B8ToYUV(uint8_t r, uint8_t g, uint8_t b, uint8_t* y, uint8_t* u, uint8_t* v) in R8G8B8ToYUV() argument
155 *y = RGB2Y((int)r, (int)g, (int)b); in R8G8B8ToYUV()
162 RGB565ToYUV(uint16_t rgb, uint8_t* y, uint8_t* u, uint8_t* v) in RGB565ToYUV() argument
164 R8G8B8ToYUV(R16_32(rgb), G16_32(rgb), B16_32(rgb), y, u, v); in RGB565ToYUV()
169 RGB32ToYUV(uint32_t rgb, uint8_t* y, uint8_t* u, uint8_t* v) in RGB32ToYUV() argument
173 R8G8B8ToYUV(rgb_c.r, rgb_c.g, rgb_c.b, y, u, v); in RGB32ToYUV()
199 #define YUV2R(y, u, v) clamp((298 * ((y)-16) + 409 * ((v)-128) + 128) >> 8) argument
200 #define YUV2G(y, u, v) clamp((298 * ((y)-16) - 100 * ((u)-128) - 208 * ((v)-128) + 128) >> 8) argument
201 #define YUV2B(y, u, v) clamp((298 * ((y)-16) + 516 * ((u)-128) + 128) >> 8) argument
206 YUVToRGB565(int y, int u, int v) in YUVToRGB565() argument
[all …]
DEmulatedFakeCameraDevice.cpp269 for(int y = 0; y < mFrameHeight; y++) { in drawCheckerboard() local
287 if (y & 0x1) { in drawCheckerboard()
314 int y, in drawSquare() argument
319 const int square_ystop = min(mFrameHeight, y + size); in drawSquare()
320 uint8_t* Y_pos = mCurrentFrame + y * mFrameWidth + x; in drawSquare()
326 for (; y < square_ystop; y++) { in drawSquare()
327 const int iUV = (y / 2) * mUVInRow + (x / 2) * mUVStep; in drawSquare()
366 for (int y = 0; y < mFrameHeight; y++, pY += mFrameWidth) { in drawStripes() local
369 const int color_index = y / change_color_at; in drawStripes()
389 const int uv_off = (y / 2) * mUVInRow; in drawStripes()
DEmulatedQemuCamera.cpp104 const int y = atoi(sep + 1); in Initialize() local
105 mParameters.setPreviewSize(x, y); in Initialize()
106 mParameters.setPictureSize(x, y); in Initialize()
109 __FUNCTION__, device_name, x, y); in Initialize()
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_display.c112 overlayp->src_rect.y = e->src_rect.y; in overlay_set_params()
117 overlayp->dst_rect.y = e->dst_rect.y; in overlay_set_params()
137 overlayp->src_rect.x, overlayp->src_rect.y, overlayp->src_rect.w, overlayp->src_rect.h, in overlay_set_params()
138 overlayp->dst_rect.x, overlayp->dst_rect.y, overlayp->dst_rect.w, overlayp->dst_rect.h in overlay_set_params()
206 e->src_rect.y = (crop->out2_h - crop->in2_h + 1) / 2 - 1; in test_app_camframe_callback()
212 CDBG("e->src_rect.y = %d\n", e->src_rect.y); in test_app_camframe_callback()
217 e->dst_rect.y = 0; in test_app_camframe_callback()
222 e->src_rect.y = 0; in test_app_camframe_callback()
227 e->dst_rect.y = 0; in test_app_camframe_callback()
405 int x, int y, int dx, int dy) in draw_rect() argument
[all …]
/device/generic/goldfish/camera/fake-pipeline2/
DSensor.cpp406 for (unsigned int y = 0; y < kResolution[1]; y++ ) { in captureRaw() local
407 int *bayerRow = bayerSelect + (y & 0x1) * 2; in captureRaw()
408 uint16_t *px = (uint16_t*)img + y * stride; in captureRaw()
445 for (unsigned int y = 0, outY = 0; y < kResolution[1]; y+=inc, outY++ ) { in captureRGBA() local
447 mScene.setReadoutPixel(0, y); in captureRGBA()
475 for (unsigned int y = 0, outY = 0; y < kResolution[1]; y += inc, outY++ ) { in captureRGB() local
476 mScene.setReadoutPixel(0, y); in captureRGB()
517 for (unsigned int y = 0, outY = 0; in captureNV21() local
518 y < kResolution[1]; y+=inc, outY++) { in captureNV21()
521 mScene.setReadoutPixel(0,y); in captureNV21()
[all …]
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraParameters.cpp343 void QCameraParameters::setTouchIndexAec(int x, int y) in setTouchIndexAec() argument
346 snprintf(str, sizeof(str), "%dx%d", x, y); in setTouchIndexAec()
350 void QCameraParameters::getTouchIndexAec(int *x, int *y) const in getTouchIndexAec()
353 *y = -1; in getTouchIndexAec()
363 *y = tempY; in getTouchIndexAec()
367 void QCameraParameters::setTouchIndexAf(int x, int y) in setTouchIndexAf() argument
370 snprintf(str, sizeof(str), "%dx%d", x, y); in setTouchIndexAf()
374 void QCameraParameters::getTouchIndexAf(int *x, int *y) const in getTouchIndexAf()
377 *y = -1; in getTouchIndexAf()
387 *y = tempY; in getTouchIndexAf()
[all …]
/device/lge/hammerhead/camera/
DQCameraParameters.h247 void setTouchIndexAec(int x, int y);
248 void getTouchIndexAec(int *x, int *y) const;
249 void setTouchIndexAf(int x, int y);
250 void getTouchIndexAf(int *x, int *y) const;
251 void getMeteringAreaCenter(int * x, int *y) const;
/device/moto/shamu/camera/QCamera/HAL2/core/inc/
DQCameraParameters.h244 void setTouchIndexAec(int x, int y);
245 void getTouchIndexAec(int *x, int *y) const;
246 void setTouchIndexAf(int x, int y);
247 void getTouchIndexAf(int *x, int *y) const;
248 void getMeteringAreaCenter(int * x, int *y) const;
/device/moto/shamu/camera/
DQCameraParameters.h247 void setTouchIndexAec(int x, int y);
248 void getTouchIndexAec(int *x, int *y) const;
249 void setTouchIndexAf(int x, int y);
250 void getTouchIndexAf(int *x, int *y) const;
251 void getMeteringAreaCenter(int * x, int *y) const;
/device/asus/flo/camera/
DQCameraParameters.h247 void setTouchIndexAec(int x, int y);
248 void getTouchIndexAec(int *x, int *y) const;
249 void setTouchIndexAf(int x, int y);
250 void getTouchIndexAf(int *x, int *y) const;
251 void getMeteringAreaCenter(int * x, int *y) const;
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
DJoystickView.java34 public void setPosition(int x, int y) { in setPosition() argument
36 fY = y; in setPosition()
73 int y = h / 2 + 4 + fY; in onDraw() local
74 Utilities.centerAround(x, y, indicator); in onDraw()
76 canvas.drawText(mLabelText, x + 12, y + 8, mLabelPaint); in onDraw()
DInputController.java77 public void joystickMoved(int x, int y) { in joystickMoved() argument
78 mJoystickView.setPosition(x, y); in joystickMoved()
97 public void onStickMoved(int x, int y) { in onStickMoved() argument
98 joystickMoved(x, y); in onStickMoved()
DUtilities.java6 static void centerAround(int x, int y, Drawable d) { in centerAround() argument
10 int top = y - h / 2; in centerAround()
DDemoKitActivity.java106 private int y; field in DemoKitActivity.JoyMsg
108 public JoyMsg(int x, int y) { in JoyMsg() argument
110 this.y = y; in JoyMsg()
118 return y; in getY()
/device/generic/goldfish/opengl/tests/gles_android_wrapper/
Dgles.cpp211 void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) in glRotatef() argument
213 getDispatch()->glRotatef(angle, x, y, z); in glRotatef()
216 void glScalef(GLfloat x, GLfloat y, GLfloat z) in glScalef() argument
218 getDispatch()->glScalef(x, y, z); in glScalef()
241 void glTranslatef(GLfloat x, GLfloat y, GLfloat z) in glTranslatef() argument
243 getDispatch()->glTranslatef(x, y, z); in glTranslatef()
341 void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei … in glCopyTexImage2D() argument
343 getDispatch()->glCopyTexImage2D(target, level, internalformat, x, y, width, height, border); in glCopyTexImage2D()
346 void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y in glCopyTexSubImage2D() argument
348 getDispatch()->glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); in glCopyTexSubImage2D()
[all …]
/device/generic/goldfish/opengl/system/egl/
DClientAPIExts.in172 (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/generic/goldfish/opengl/system/GLESv2_enc/
Dgl2_entry.cpp32 …void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei…
33 …2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsi…
101 …void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLv…
105 void glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
124 void glUniform2f(GLint location, GLfloat x, GLfloat y);
126 void glUniform2i(GLint location, GLint x, GLint y);
128 void glUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z);
130 void glUniform3i(GLint location, GLint x, GLint y, GLint z);
132 void glUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
134 void glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w);
[all …]
/device/lge/hammerhead/camera/hdr/include/
Dmorpho_image_data.h18 void * y; /**< Y�摜�̐擪�|�C���^ */ member
24 void * y; /**< Y�摜�̐擪�|�C���^ */ member
Dmorpho_image_data_ex.h20 int y; member
26 int y; member
/device/asus/flo/camera/hdr/include/
Dmorpho_image_data.h18 void * y; /**< Y�摜�̐擪�|�C���^ */ member
24 void * y; /**< Y�摜�̐擪�|�C���^ */ member
Dmorpho_image_data_ex.h20 int y; member
26 int y; member
/device/generic/goldfish/opengl/system/GLESv1_enc/
Dgl_entry.cpp40 void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
41 void glScalef(GLfloat x, GLfloat y, GLfloat z);
46 void glTranslatef(GLfloat x, GLfloat y, GLfloat z);
65 …void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei…
66 …2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsi…
128 …void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLv…
129 void glRotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
132 void glScalex(GLfixed x, GLfixed y, GLfixed z);
133 void glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
149 void glTranslatex(GLfixed x, GLfixed y, GLfixed z);
[all …]
/device/generic/goldfish/opengl/system/renderControl_enc/
DrenderControl_entry.cpp32 …void rcReadColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum f…
33 …int rcUpdateColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum …
182 void rcReadColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum fo… in rcReadColorBuffer() argument
185 ctx->rcReadColorBuffer(ctx, colorbuffer, x, y, width, height, format, type, pixels); in rcReadColorBuffer()
188 int rcUpdateColorBuffer(uint32_t colorbuffer, GLint x, GLint y, GLint width, GLint height, GLenum f… in rcUpdateColorBuffer() argument
191 return ctx->rcUpdateColorBuffer(ctx, colorbuffer, x, y, width, height, format, type, pixels); in rcUpdateColorBuffer()

1234