/frameworks/av/media/libstagefright/filters/ |
ColorConvert.cpp | 51 const int32_t bytes_per_pixel = 2; local 56 int32_t u = *(pUV + (i/2) * width + bytes_per_pixel * (j/2)); 57 int32_t v = *(pUV + (i/2) * width + bytes_per_pixel * (j/2) + 1); 73 const int32_t bytes_per_pixel = 2; local 78 int32_t u = *(pUV + (i/2) * width + bytes_per_pixel * (j/2)); 79 int32_t v = *(pUV + (i/2) * width + bytes_per_pixel * (j/2) + 1);
|
/external/webrtc/webrtc/modules/desktop_capture/ |
differ.h | 30 // and bytes_per_pixel. 31 Differ(int width, int height, int bytes_per_pixel, int stride); 36 int bytes_per_pixel() { return bytes_per_pixel_; } function in class:webrtc::Differ
|
screen_capturer_mac.mm | 71 int bytes_per_pixel, 76 const int x_offset = bytes_per_pixel * rect.left(); 81 const int bytes_per_line = bytes_per_pixel * rect.width(); [all...] |
/external/ImageMagick/coders/ |
sgi.c | 80 bytes_per_pixel; 171 static MagickBooleanType SGIDecode(const size_t bytes_per_pixel, 187 if (bytes_per_pixel == 2) 288 bytes_per_pixel, 335 iris_info.bytes_per_pixel=(unsigned char) ReadBlobByte(image); 336 if ((iris_info.bytes_per_pixel == 0) || (iris_info.bytes_per_pixel > 2)) 362 iris_info.bytes_per_pixel,MAGICKCORE_QUANTUM_DEPTH); 366 image->colors=iris_info.bytes_per_pixel > 1 ? 65535 : 256; 377 bytes_per_pixel=(size_t) iris_info.bytes_per_pixel 78 bytes_per_pixel; member in struct:_SGIInfo 284 bytes_per_pixel, local [all...] |
viff.c | 244 bytes_per_pixel, 405 case VFF_MAPTYP_1_BYTE: bytes_per_pixel=1; break; 406 case VFF_MAPTYP_2_BYTE: bytes_per_pixel=2; break; 407 case VFF_MAPTYP_4_BYTE: bytes_per_pixel=4; break; 408 case VFF_MAPTYP_FLOAT: bytes_per_pixel=4; break; 409 case VFF_MAPTYP_DOUBLE: bytes_per_pixel=8; break; 410 default: bytes_per_pixel=1; break; 416 (viff_info.map_rows*bytes_per_pixel*sizeof(*viff_colormap))) 419 viff_info.map_rows*bytes_per_pixel*sizeof(*viff_colormap)); 425 count=ReadBlob(image,bytes_per_pixel*image->colors*viff_info.map_rows 240 bytes_per_pixel, local [all...] |
sun.c | 559 bytes_per_pixel; 561 bytes_per_pixel=3; 563 bytes_per_pixel++; 565 bytes_per_line=bytes_per_pixel*image->columns; 598 if (((bytes_per_pixel*image->columns) % 2) != 0) 880 bytes_per_pixel, 889 bytes_per_pixel=3; 891 bytes_per_pixel++; 914 if (((bytes_per_pixel*image->columns) & 0x01) != 0 554 bytes_per_pixel; local 872 bytes_per_pixel, local [all...] |
xcf.c | 119 bytes_per_pixel; 432 bytes_per_pixel, 444 bytes_per_pixel=(ssize_t) inDocInfo->bytes_per_pixel; 453 for (i=0; i < (ssize_t) bytes_per_pixel; i++) 727 bytes_per_pixel; 733 bytes_per_pixel=inDocInfo->bytes_per_pixel=ReadBlobMSBLong(image); 734 (void) bytes_per_pixel; 117 bytes_per_pixel; member in struct:__anon5284 427 bytes_per_pixel, local 722 bytes_per_pixel; local [all...] |
pict.c | 436 bytes_per_pixel, 457 bytes_per_pixel=1; 460 bytes_per_pixel=2; 541 number_pixels=length*bytes_per_pixel; 546 j+=(ssize_t) (length*bytes_per_pixel+1); 551 number_pixels=bytes_per_pixel; 559 j+=(ssize_t) bytes_per_pixel+1; 433 bytes_per_pixel, local [all...] |
/system/extras/tests/framebuffer/ |
fb_test.c | 56 int bytes_per_pixel; local 94 bytes_per_pixel = vi.bits_per_pixel >> 3; 98 fb->stride = fi.line_length / bytes_per_pixel; 106 fb->stride = fi.line_length / bytes_per_pixel; 108 vi.yres * vi.xres * bytes_per_pixel);
|
/prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/ |
SDL_test_images.h | 53 unsigned int bytes_per_pixel; /* 3:RGB, 4:RGBA */ member in struct:SDLTest_SurfaceImage_s
|
/prebuilts/misc/windows/sdl2/i686-w64-mingw32/include/SDL2/ |
SDL_test_images.h | 53 unsigned int bytes_per_pixel; /* 3:RGB, 4:RGBA */ member in struct:SDLTest_SurfaceImage_s
|
/prebuilts/misc/windows/sdl2/include/ |
SDL_test_images.h | 53 unsigned int bytes_per_pixel; /* 3:RGB, 4:RGBA */ member in struct:SDLTest_SurfaceImage_s
|
/prebuilts/misc/windows/sdl2/x86_64-w64-mingw32/include/SDL2/ |
SDL_test_images.h | 53 unsigned int bytes_per_pixel; /* 3:RGB, 4:RGBA */ member in struct:SDLTest_SurfaceImage_s
|
/external/opencv3/3rdparty/libpng/ |
pngwtran.c | 578 int bytes_per_pixel; local 586 bytes_per_pixel = 3; 589 bytes_per_pixel = 4; 594 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel) 608 bytes_per_pixel = 6; 611 bytes_per_pixel = 8; 616 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
|
/external/pdfium/third_party/lpng_v163/ |
pngwtran.c | 581 int bytes_per_pixel;
local 589 bytes_per_pixel = 3;
592 bytes_per_pixel = 4;
597 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
611 bytes_per_pixel = 6;
614 bytes_per_pixel = 8;
619 for (i = 0, rp = row; i < row_width; i++, rp += bytes_per_pixel)
|
/external/autotest/client/site_tests/graphics_Gbm/src/ |
gbmtest.c | 448 const int bytes_per_pixel = 4; local 449 const int size = width * height * bytes_per_pixel; 461 fd_data.stride = width * bytes_per_pixel;
|
/development/tools/yuv420sp2rgb/ |
yuv420sp2rgb.c | 48 const int bytes_per_pixel = 2; variable 84 nV = *(pUV + (i/2) * width + bytes_per_pixel * (j/2)); 85 nU = *(pUV + (i/2) * width + bytes_per_pixel * (j/2) + 1);
|
/external/opencv3/3rdparty/libwebp/dec/ |
vp8l.c | 1126 size_t bytes_per_pixel = sizeof(uint32_t); \/\/ Default: BGRA mode. local 1203 const size_t bytes_per_pixel = sizeof(uint32_t); local [all...] |
/external/mesa3d/src/mesa/main/ |
image.c | 156 GLint bytes_per_pixel, bytes_per_row, remainder, bytes_per_image; local 159 bytes_per_pixel = _mesa_bytes_per_pixel( format, type ); 162 assert(bytes_per_pixel > 0); 164 bytes_per_row = pixels_per_row * bytes_per_pixel; 186 + (skippixels + column) * bytes_per_pixel;
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
FramebufferTest.java | 57 final int BYTES_PER_PIXEL = 4; 91 ByteBuffer pixelBuf = ByteBuffer.allocateDirect(WIDTH * HEIGHT * BYTES_PER_PIXEL); 101 pixelBuf.position((WIDTH * (HEIGHT / 2) + (WIDTH / 2)) * BYTES_PER_PIXEL); 112 pixelBuf.position((WIDTH * (HEIGHT / 2) + (WIDTH / 2)) * BYTES_PER_PIXEL);
|
/external/mesa3d/src/egl/drivers/dri2/ |
egl_dri2.h | 164 int bytes_per_pixel; member in struct:dri2_egl_surface
|
platform_x11.c | 65 dri2_surf->bytes_per_pixel = 4; 68 dri2_surf->bytes_per_pixel = 2; 71 dri2_surf->bytes_per_pixel = 1; 74 dri2_surf->bytes_per_pixel = 0; 140 w*h*dri2_surf->bytes_per_pixel, (const uint8_t *)data); [all...] |
/external/mesa3d/src/mesa/drivers/dri/common/ |
utils.c | 239 static const uint8_t bytes_per_pixel[6] = { local 312 switch ( bytes_per_pixel[ index ] ) {
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
VideoDumpView.java | 91 public static final int BYTES_PER_PIXEL = 484 int image_size = mWidth * mHeight * VideoDumpConfig.BYTES_PER_PIXEL; 501 Integer.toString(VideoDumpConfig.BYTES_PER_PIXEL));
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
PageContentRepository.java | 62 private static final int BYTES_PER_PIXEL = 4; 533 * BYTES_PER_PIXEL; 776 * mRenderSpec.bitmapHeight * BYTES_PER_PIXEL; [all...] |