/frameworks/av/media/libaudioprocessing/ |
H A D | AudioResamplerDyn.cpp | 415 // stride is the minimum number of filter coefficients processed per loop iteration. 416 // We currently only allow a stride of 16 to match with SIMD processing. 420 // Note: A stride of 2 is achieved with non-SIMD processing. 421 int stride = ((c.mHalfNumCoefs & 7) == 0) ? 16 : 2; local 422 LOG_ALWAYS_FATAL_IF(stride < 16, "Resampler stride must be 16 or more"); 425 // stride 16 (falls back to stride 2 for machines that do not support NEON) 482 printf("channels:%d %s stride:%d %s coef:%d shift:%d\n", 484 stride, useS3 [all...] |
/frameworks/av/media/libaudioprocessing/tests/ |
H A D | resampler_tests.cpp | 44 const size_t stride = 8; local 46 for (size_t j = 0; j < stride && i < size; ++j) { 163 double signalEnergy(T *start, T *end, unsigned stride) argument 167 for (T *p = start; p < end; p += stride) { 170 unsigned count = (end - start + stride - 1) / stride;
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 1653 int32_t width, height, stride, sliceHeight, colorFormat; local 1656 CHECK(meta->findInt32(kKeyStride, &stride)); 1662 format->setInt32("stride", stride); 1668 format->setInt32("stride", mVideoWidth);
|
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 3757 int32_t stride; local 3758 if (!msg->findInt32("stride", &stride)) { 3759 stride = width; 3762 video_def->nStride = stride; 4787 notify->setInt32("stride", videoDef->nStride);
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | transform.c | 440 Word16 stride) /*!< Stride of input vector */ 447 absVal = abs_s(vector[i*stride]); 438 getScalefactorOfShortVectorStride(const Word16 *vector, Word16 len, Word16 stride) argument
|
/frameworks/av/media/libstagefright/codecs/avcdec/ |
H A D | SoftAVCDec.cpp | 141 status_t SoftAVC::setParams(size_t stride) { argument 145 s_ctl_ip.u4_disp_wd = (UWORD32)stride; 155 ALOGV("Set the run-time (dynamic) parameters stride = %zu", stride);
|
/frameworks/av/media/libstagefright/codecs/hevcdec/ |
H A D | SoftHEVC.cpp | 137 status_t SoftHEVC::setParams(size_t stride) { argument 141 s_ctl_ip.u4_disp_wd = (UWORD32)stride; 151 ALOGV("Set the run-time (dynamic) parameters stride = %zu", stride);
|
/frameworks/av/media/libstagefright/codecs/mpeg2dec/ |
H A D | SoftMPEG2.cpp | 144 status_t SoftMPEG2::setParams(size_t stride) { argument 148 s_ctl_ip.u4_disp_wd = (UWORD32)stride; 158 ALOGV("Set the run-time (dynamic) parameters stride = %zu", stride);
|
/frameworks/av/media/libstagefright/filters/ |
H A D | ColorConvert.cpp | 94 uint8_t *src, int32_t width, int32_t height, uint32_t stride, 107 src += (stride - width) * 4; 93 convertRGBAToARGB( uint8_t *src, int32_t width, int32_t height, uint32_t stride, uint8_t *dest) argument
|
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 351 static void fillYV12Buffer(uint8_t* buf, int w, int h, int stride) ; 353 int stride, const android_native_rect_t& rect) ; 536 void SurfaceMediaSourceTest::fillYV12Buffer(uint8_t* buf, int w, int h, int stride) { argument 540 int yuvTexStrideY = stride; 567 int h, int stride, const android_native_rect_t& rect) { 569 int yuvTexStrideY = stride; 566 fillYV12BufferRect(uint8_t* buf, int w, int h, int stride, const android_native_rect_t& rect) argument
|
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | Camera2Client.cpp | 2020 int format, int stride) { 2029 size_t ySize = stride * height; 2030 size_t uvStride = (stride / 2 + 0xF) & ~0xF; 2019 calculateBufferSize(int width, int height, int format, int stride) argument
|
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.cpp | 229 uint32_t stride = 0; local 236 stride = anb->stride; 239 _hidl_cb(s, bufferId, buf, stride); 882 buffer_handle_t** buffer, int *stride) 890 *stride = anb->stride; 881 sDequeueBuffer(struct preview_stream_ops* w, buffer_handle_t** buffer, int *stride) argument
|
/frameworks/base/core/java/android/view/ |
H A D | RecordingCanvas.java | 146 public final void drawBitmap(@NonNull int[] colors, int offset, int stride, float x, float y, argument 155 if (Math.abs(stride) < width) { 156 throw new IllegalArgumentException("abs(stride) must be >= width"); 158 int lastScanline = offset + (height - 1) * stride; 169 nDrawBitmap(mNativeCanvasWrapper, colors, offset, stride, x, y, width, height, hasAlpha, 176 public final void drawBitmap(@NonNull int[] colors, int offset, int stride, int x, int y, argument 179 drawBitmap(colors, offset, stride, (float) x, (float) y, width, height, 546 private static native void nDrawBitmap(long nativeCanvas, int[] colors, int offset, int stride, argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.cpp | 250 info->stride = localBitmap->rowBytes(); 714 jint offset, jint stride, jint width, jint height, 720 if (n < SkAbs32(stride) * (size_t)height) { 750 GraphicsJNI::SetPixels(env, jColors, offset, stride, 0, 0, width, height, bitmap); 1386 jintArray pixelArray, jint offset, jint stride, 1410 d += stride; 1424 d += stride; 1464 jintArray pixelArray, jint offset, jint stride, 1468 GraphicsJNI::SetPixels(env, pixelArray, offset, stride, 713 Bitmap_creator(JNIEnv* env, jobject, jintArray jColors, jint offset, jint stride, jint width, jint height, jint configHandle, jboolean isMutable, jfloatArray xyzD50, jobject transferParameters) argument 1385 Bitmap_getPixels(JNIEnv* env, jobject, jlong bitmapHandle, jintArray pixelArray, jint offset, jint stride, jint x, jint y, jint width, jint height) argument 1463 Bitmap_setPixels(JNIEnv* env, jobject, jlong bitmapHandle, jintArray pixelArray, jint offset, jint stride, jint x, jint y, jint width, jint height) argument
|
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfRenderer.cpp | 88 const int stride = skBitmap.width() * 4; local 91 FPDFBitmap_BGRA, skBitmap.getPixels(), stride);
|
/frameworks/base/core/jni/android/opengl/ |
H A D | util.cpp | 957 * pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset; 962 jint pixelSize, jint stride, jobject out) { 970 jint imageSize = stride * height; 977 etc1_encode_image((etc1_byte*) inB.getData(), width, height, pixelSize, stride, 987 * pixel (x,y) is at pIn + pixelSize * x + stride * y. Must be 993 jint pixelSize, jint stride) { 1001 jint imageSize = stride * height; 1009 width, height, pixelSize, stride); 960 etc1_encodeImage(JNIEnv *env, jclass clazz, jobject in, jint width, jint height, jint pixelSize, jint stride, jobject out) argument 990 etc1_decodeImage(JNIEnv *env, jclass clazz, jobject in, jobject out, jint width, jint height, jint pixelSize, jint stride) argument
|
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 440 jintArray jcolors, jint offset, jint stride, 454 if (!GraphicsJNI::SetPixels(env, jcolors, offset, stride, 0, 0, width, height, bitmap)) { 439 drawBitmapArray(JNIEnv* env, jobject, jlong canvasHandle, jintArray jcolors, jint offset, jint stride, jfloat x, jfloat y, jint width, jint height, jboolean hasAlpha, jlong paintHandle) argument
|
H A D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 269 uint32_t stride = buf->getStride(); local 270 ALOGV("%s: stride is: %" PRIu32, __FUNCTION__, stride); 271 LOG_ALWAYS_FATAL_IF(stride % 16, "Stride is not 16 pixel aligned %d", stride); 273 uint32_t cStride = ALIGN(stride / 2, 16); 277 uint8_t* crPlane = img + static_cast<uint32_t>(height) * stride; 281 crPlane, cbPlane, chromaStep, stride, cStride);
|
H A D | android_opengl_GLES10.cpp | 49 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, 51 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride, 54 GLsizei stride, const GLvoid *pointer, GLsizei count); 56 GLsizei stride, const GLvoid *pointer, GLsizei count); 58 GLsizei stride, const GLvoid *pointer, GLsizei count); 60 GLsizei stride, const GLvoid *pointer, GLsizei count); 62 GLsizei stride, const GLvoid *pointer, GLsizei count); 66 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) { 67 glVertexAttribPointer(indx, size, type, normalized, stride, pointer); 72 GLsizei stride, cons 65 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 71 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 614 android_glColorPointerBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument 2687 android_glNormalPointerBounds__IILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint type, jint stride, jobject pointer_buf, jint remaining) argument 2966 android_glTexCoordPointerBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument 3370 android_glVertexPointerBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument [all...] |
H A D | android_opengl_GLES10Ext.cpp | 49 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, 51 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride, 54 GLsizei stride, const GLvoid *pointer, GLsizei count); 56 GLsizei stride, const GLvoid *pointer, GLsizei count); 58 GLsizei stride, const GLvoid *pointer, GLsizei count); 60 GLsizei stride, const GLvoid *pointer, GLsizei count); 62 GLsizei stride, const GLvoid *pointer, GLsizei count); 66 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) { 67 glVertexAttribPointer(indx, size, type, normalized, stride, pointer); 72 GLsizei stride, cons 65 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 71 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument [all...] |
H A D | android_opengl_GLES11.cpp | 49 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, 51 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride, 54 GLsizei stride, const GLvoid *pointer, GLsizei count); 56 GLsizei stride, const GLvoid *pointer, GLsizei count); 58 GLsizei stride, const GLvoid *pointer, GLsizei count); 60 GLsizei stride, const GLvoid *pointer, GLsizei count); 62 GLsizei stride, const GLvoid *pointer, GLsizei count); 66 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) { 67 glVertexAttribPointer(indx, size, type, normalized, stride, pointer); 72 GLsizei stride, cons 65 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 71 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 728 android_glColorPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument 2561 android_glNormalPointer__III(JNIEnv *_env, jobject _this, jint type, jint stride, jint offset) argument 2776 android_glPointSizePointerOESBounds__IILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint type, jint stride, jobject pointer_buf, jint remaining) argument 2805 android_glTexCoordPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument 3237 android_glVertexPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument [all...] |
H A D | android_opengl_GLES11Ext.cpp | 49 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, 51 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride, 54 GLsizei stride, const GLvoid *pointer, GLsizei count); 56 GLsizei stride, const GLvoid *pointer, GLsizei count); 58 GLsizei stride, const GLvoid *pointer, GLsizei count); 60 GLsizei stride, const GLvoid *pointer, GLsizei count); 62 GLsizei stride, const GLvoid *pointer, GLsizei count); 66 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) { 67 glVertexAttribPointer(indx, size, type, normalized, stride, pointer); 72 GLsizei stride, cons 65 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 71 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 3205 android_glMatrixIndexPointerOESBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument 3235 android_glWeightPointerOESBounds__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument [all...] |
H A D | android_opengl_GLES20.cpp | 49 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, 51 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride, 54 GLsizei stride, const GLvoid *pointer, GLsizei count); 56 GLsizei stride, const GLvoid *pointer, GLsizei count); 58 GLsizei stride, const GLvoid *pointer, GLsizei count); 60 GLsizei stride, const GLvoid *pointer, GLsizei count); 62 GLsizei stride, const GLvoid *pointer, GLsizei count); 66 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) { 67 glVertexAttribPointer(indx, size, type, normalized, stride, pointer); 72 GLsizei stride, cons 65 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 71 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 6425 android_glVertexAttribPointer__IIIZII(JNIEnv *_env, jobject _this, jint indx, jint size, jint type, jboolean normalized, jint stride, jint offset) argument 6439 android_glVertexAttribPointerBounds__IIIZILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint indx, jint size, jint type, jboolean normalized, jint stride, jobject ptr_buf, jint remaining) argument [all...] |
H A D | android_opengl_GLES30.cpp | 49 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, 51 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride, 54 GLsizei stride, const GLvoid *pointer, GLsizei count); 56 GLsizei stride, const GLvoid *pointer, GLsizei count); 58 GLsizei stride, const GLvoid *pointer, GLsizei count); 60 GLsizei stride, const GLvoid *pointer, GLsizei count); 62 GLsizei stride, const GLvoid *pointer, GLsizei count); 66 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) { 67 glVertexAttribPointer(indx, size, type, normalized, stride, pointer); 72 GLsizei stride, cons 65 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 71 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 2512 android_glVertexAttribIPointerBounds__IIIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint index, jint size, jint type, jint stride, jobject pointer_buf, jint remaining) argument 2543 android_glVertexAttribIPointer__IIIII(JNIEnv *_env, jobject _this, jint index, jint size, jint type, jint stride, jint offset) argument [all...] |
H A D | android_opengl_GLES31.cpp | 47 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, 49 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride, 52 GLsizei stride, const GLvoid *pointer, GLsizei count); 54 GLsizei stride, const GLvoid *pointer, GLsizei count); 56 GLsizei stride, const GLvoid *pointer, GLsizei count); 58 GLsizei stride, const GLvoid *pointer, GLsizei count); 60 GLsizei stride, const GLvoid *pointer, GLsizei count); 64 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) { 65 glVertexAttribPointer(indx, size, type, normalized, stride, pointer); 70 GLsizei stride, cons 63 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 69 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 3629 android_glBindVertexBuffer__IIJI(JNIEnv *_env, jobject _this, jint bindingindex, jint buffer, jlong offset, jint stride) argument [all...] |