/external/libpng/powerpc/ |
D | filter_vsx_intrinsics.c | 164 …e vsx_char_to_short(vec,offset,bpp) (vector unsigned short)vec_perm((vec),VSX_CHAR_ZERO,VSX_CHAR_T… argument 165 …e vsx_short_to_char(vec,offset,bpp) vec_perm(((vector unsigned char)(vec)),VSX_CHAR_ZERO,VSX_SHORT… argument 176 const png_byte bpp = 4; in png_read_filter_row_sub4_vsx() local 181 vsx_declare_common_vars(row_info,row,prev_row,bpp) in png_read_filter_row_sub4_vsx() 191 *rp = (png_byte)(((int)(*rp) + (int)(*(rp-bpp))) & 0xff); in png_read_filter_row_sub4_vsx() 198 for(i=0;i < bpp ; i++) in png_read_filter_row_sub4_vsx() 200 *rp = (png_byte)(((int)(*rp) + (int)(*(rp-bpp))) & 0xff); in png_read_filter_row_sub4_vsx() 203 rp -= bpp; in png_read_filter_row_sub4_vsx() 224 *rp = (png_byte)(((int)(*rp) + (int)(*(rp - bpp))) & 0xff); in png_read_filter_row_sub4_vsx() 233 const png_byte bpp = 3; in png_read_filter_row_sub3_vsx() local [all …]
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | format_traits.h | 58 static const uint32_t bpp{ 0 }; 78 static const uint32_t bpp{ 128 }; 100 static const uint32_t bpp{ 128 }; 122 static const uint32_t bpp{ 128 }; 144 static const uint32_t bpp{ 128 }; 166 static const uint32_t bpp{ 128 }; 188 static const uint32_t bpp{ 128 }; 210 static const uint32_t bpp{ 128 }; 232 static const uint32_t bpp{ 128 }; 254 static const uint32_t bpp{ 96 }; [all …]
|
D | backend.h | 69 (KNOB_TILE_X_DIM * KNOB_TILE_Y_DIM * FormatTraits<KNOB_COLOR_HOT_TILE_FORMAT>::bpp / 8), in RasterTileColorOffset() 70 (KNOB_TILE_X_DIM * KNOB_TILE_Y_DIM * FormatTraits<KNOB_COLOR_HOT_TILE_FORMAT>::bpp / 8) * 2, in RasterTileColorOffset() 71 (KNOB_TILE_X_DIM * KNOB_TILE_Y_DIM * FormatTraits<KNOB_COLOR_HOT_TILE_FORMAT>::bpp / 8) * 3, in RasterTileColorOffset() 72 (KNOB_TILE_X_DIM * KNOB_TILE_Y_DIM * FormatTraits<KNOB_COLOR_HOT_TILE_FORMAT>::bpp / 8) * 4, in RasterTileColorOffset() 73 (KNOB_TILE_X_DIM * KNOB_TILE_Y_DIM * FormatTraits<KNOB_COLOR_HOT_TILE_FORMAT>::bpp / 8) * 5, in RasterTileColorOffset() 74 (KNOB_TILE_X_DIM * KNOB_TILE_Y_DIM * FormatTraits<KNOB_COLOR_HOT_TILE_FORMAT>::bpp / 8) * 6, in RasterTileColorOffset() 75 (KNOB_TILE_X_DIM * KNOB_TILE_Y_DIM * FormatTraits<KNOB_COLOR_HOT_TILE_FORMAT>::bpp / 8) * 7, in RasterTileColorOffset() 76 (KNOB_TILE_X_DIM * KNOB_TILE_Y_DIM * FormatTraits<KNOB_COLOR_HOT_TILE_FORMAT>::bpp / 8) * 8, in RasterTileColorOffset() 77 (KNOB_TILE_X_DIM * KNOB_TILE_Y_DIM * FormatTraits<KNOB_COLOR_HOT_TILE_FORMAT>::bpp / 8) * 9, in RasterTileColorOffset() 78 (KNOB_TILE_X_DIM * KNOB_TILE_Y_DIM * FormatTraits<KNOB_COLOR_HOT_TILE_FORMAT>::bpp / 8) * 10, in RasterTileColorOffset() [all …]
|
/external/libvncserver/libvncserver/ |
D | hextile.c | 92 #define DEFINE_SEND_HEXTILES(bpp) \ argument 95 static rfbBool subrectEncode##bpp(rfbClientPtr cli, uint##bpp##_t *data, \ 96 int w, int h, uint##bpp##_t bg, uint##bpp##_t fg, rfbBool mono);\ 97 static void testColours##bpp(uint##bpp##_t *data, int size, rfbBool *mono, \ 98 rfbBool *solid, uint##bpp##_t *bg, uint##bpp##_t *fg); \ 106 sendHextiles##bpp(rfbClientPtr cl, int rx, int ry, int rw, int rh) { \ 110 uint##bpp##_t bg = 0, fg = 0, newBg, newFg; \ 114 uint##bpp##_t clientPixelData[16*16*(bpp/8)]; \ 124 if ((cl->ublen + 1 + (2 + 16 * 16) * (bpp/8)) > \ 142 testColours##bpp(clientPixelData, w * h, \ [all …]
|
D | rre.c | 41 static uint32_t getBgColour(char *data, int size, int bpp); 171 #define DEFINE_SUBRECT_ENCODE(bpp) \ argument 173 subrectEncode##bpp(rfbClientPtr client, uint##bpp##_t *data, int w, int h) { \ 174 uint##bpp##_t cl; \ 180 uint##bpp##_t *seg; \ 181 uint##bpp##_t *line; \ 186 uint##bpp##_t bg = (uint##bpp##_t)getBgColour((char*)data,w*h,bpp); \ 188 *((uint##bpp##_t*)client->afterEncBuf) = bg; \ 190 client->afterEncBufLen = (bpp/8); \ 235 newLen = client->afterEncBufLen + (bpp/8) + sz_rfbRectangle; \ [all …]
|
D | corre.c | 42 static uint32_t getBgColour(char *data, int size, int bpp); 204 #define DEFINE_SUBRECT_ENCODE(bpp) \ argument 206 subrectEncode##bpp(rfbClientPtr client, uint##bpp##_t *data, int w, int h) { \ 207 uint##bpp##_t cl; \ 213 uint##bpp##_t *seg; \ 214 uint##bpp##_t *line; \ 219 uint##bpp##_t bg = (uint##bpp##_t)getBgColour((char*)data,w*h,bpp); \ 221 *((uint##bpp##_t*)client->afterEncBuf) = bg; \ 223 client->afterEncBufLen = (bpp/8); \ 268 newLen = client->afterEncBufLen + (bpp/8) + sz_rfbCoRRERectangle; \ [all …]
|
D | cursor.c | 373 int i,j,w=(cursor->width+7)/8,bpp=format->bitsPerPixel/8, in rfbMakeXCursorFromRichCursor() local 374 width=cursor->width*bpp; in rfbMakeXCursorFromRichCursor() 386 back+=4-bpp; in rfbMakeXCursorFromRichCursor() 392 if (format->trueColour && (bpp == 1 || bpp == 2 || bpp == 4)) { in rfbMakeXCursorFromRichCursor() 413 unsigned char *p = cursor->richSource+j*width+i*bpp; in rfbMakeXCursorFromRichCursor() 414 if (bpp == 1) { in rfbMakeXCursorFromRichCursor() 417 } else if (bpp == 2) { in rfbMakeXCursorFromRichCursor() 420 } else if (bpp == 4) { in rfbMakeXCursorFromRichCursor() 432 } else if(memcmp(cursor->richSource+j*width+i*bpp, back, bpp)) { in rfbMakeXCursorFromRichCursor() 443 int i,j,w=(cursor->width+7)/8,bpp=format->bitsPerPixel/8; in rfbMakeRichCursorFromXCursor() local [all …]
|
D | draw.c | 5 int rowstride = s->paddedWidthInBytes, bpp = s->bitsPerPixel>>3; in rfbFillRect() local 10 colour += 4-bpp; in rfbFillRect() 13 memcpy(s->frameBuffer+j*rowstride+i*bpp,colour,bpp); in rfbFillRect() 18 memcpy(s->frameBuffer+(y)*rowstride+(x)*bpp,colour,bpp) 22 int rowstride = s->paddedWidthInBytes, bpp = s->bitsPerPixel>>3; in rfbDrawPixel() local 26 colour += 4-bpp; in rfbDrawPixel() 33 int rowstride = s->paddedWidthInBytes, bpp = s->bitsPerPixel>>3; in rfbDrawLine() local 38 colour += 4-bpp; in rfbDrawLine()
|
D | font.c | 10 int bpp=rfbScreen->serverFormat.bitsPerPixel/8; in rfbDrawChar() local 14 colour += 4-bpp; in rfbDrawChar() 29 memcpy(rfbScreen->frameBuffer+(y+j)*rowstride+(x+i)*bpp,colour,bpp); in rfbDrawChar() 57 int bpp=rfbScreen->serverFormat.bitsPerPixel/8,extra_bytes=0; in rfbDrawCharWithClip() local 62 colour+=4-bpp; in rfbDrawCharWithClip() 63 bcolour+=4-bpp; in rfbDrawCharWithClip() 89 memcpy(rfbScreen->frameBuffer+(y+j)*rowstride+(x+i)*bpp, in rfbDrawCharWithClip() 90 colour,bpp); in rfbDrawCharWithClip() 92 memcpy(rfbScreen->frameBuffer+(y+j)*rowstride+(x+i)*bpp, in rfbDrawCharWithClip() 93 bcolour,bpp); in rfbDrawCharWithClip()
|
D | tight.c | 211 static int PaletteInsert (uint32_t rgb, int numPixels, int bpp); 579 #define DEFINE_CHECK_SOLID_FUNCTION(bpp) \ argument 582 CheckSolidTile##bpp(rfbClientPtr cl, int x, int y, int w, int h, \ 585 uint##bpp##_t *fbptr; \ 586 uint##bpp##_t colorValue; \ 589 fbptr = (uint##bpp##_t *)&cl->scaledScreen->frameBuffer \ 590 [y * cl->scaledScreen->paddedWidthInBytes + x * (bpp/8)]; \ 601 fbptr = (uint##bpp##_t *)((uint8_t *)fbptr \ 1169 #define DEFINE_FILL_PALETTE_FUNCTION(bpp) \ argument 1172 FillPalette##bpp(int count) { \ [all …]
|
/external/libvncserver/examples/ |
D | example.c | 37 static const int bpp=4; variable 48 buffer[(j*maxx+i)*bpp+0]=(i+j)*128/(maxx+maxy); /* red */ in initBuffer() 49 buffer[(j*maxx+i)*bpp+1]=i*128/maxx; /* green */ in initBuffer() 50 buffer[(j*maxx+i)*bpp+2]=j*256/maxy; /* blue */ in initBuffer() 52 buffer[j*maxx*bpp+0]=0xff; in initBuffer() 53 buffer[j*maxx*bpp+1]=0xff; in initBuffer() 54 buffer[j*maxx*bpp+2]=0xff; in initBuffer() 55 buffer[j*maxx*bpp+3]=0xff; in initBuffer() 88 newfb = (unsigned char*)malloc(maxx * maxy * bpp); in newframebuffer() 90 rfbNewFramebuffer(screen, (char*)newfb, maxx, maxy, 8, 3, bpp); in newframebuffer() [all …]
|
D | zippy.c | 7 static int maxx=400, maxy=400, bpp=4; variable 28 if(!rfbProcessSizeArguments(&maxx,&maxy,&bpp,&argc,argv)) in main() 31 server = rfbGetScreen (&argc, argv, maxx, maxy, 8, 3, bpp); in main() 35 server->frameBuffer = (char*)malloc(maxx*maxy*bpp); in main() 52 for (i=0; i < maxx * maxy * bpp; i++) frame_buffer[i]=(char) 0; in blank_framebuffer() 60 current_pixel = (i*x2 + j) * bpp; in draw_primary_colors() 106 #define ADDR(x,y) s->frameBuffer+(x)*bpp+(y)*s->paddedWidthInBytes in draw_primary_colours_generic_fast() 107 memcpy(ADDR(i,j+y1),ADDR(x1,y1),bpp); in draw_primary_colours_generic_fast() 108 memcpy(ADDR(i,j+y3),ADDR(x1,y3),bpp); in draw_primary_colours_generic_fast() 109 memcpy(ADDR(i,j+y4),ADDR(x1,y4),bpp); in draw_primary_colours_generic_fast() [all …]
|
/external/libvncserver/test/ |
D | cursortest.c | 27 static const int bpp=4; variable 37 buffer[(j*maxx+i)*bpp+0]=(i+j)*128/(maxx+maxy); /* red */ in initBuffer() 38 buffer[(j*maxx+i)*bpp+1]=i*128/maxx; /* green */ in initBuffer() 39 buffer[(j*maxx+i)*bpp+2]=j*256/maxy; /* blue */ in initBuffer() 182 c->richSource = (char*)malloc(w*h*bpp); in SetRichCursor() 185 c->richSource[j*w*bpp+i*bpp+0]=i*0xff/w; in SetRichCursor() 186 c->richSource[j*w*bpp+i*bpp+1]=(i+j)*0xff/(w+h); in SetRichCursor() 187 c->richSource[j*w*bpp+i*bpp+2]=j*0xff/h; in SetRichCursor() 188 c->richSource[j*w*bpp+i*bpp+3]=0; in SetRichCursor() 221 c->richSource = (char*)malloc(w*h*bpp); in SetRichCursor2() [all …]
|
/external/skqp/src/codec/ |
D | SkSwizzler.cpp | 15 static void copy(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in copy() argument 19 SkASSERT(deltaSrc == bpp); in copy() 21 memcpy(dst, src + offset, width * bpp); in copy() 24 static void sample1(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample1() argument 34 static void sample2(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample2() argument 44 static void sample4(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample4() argument 54 static void sample6(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample6() argument 65 static void sample8(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample8() argument 85 int bpp, int deltaSrc, int offset, const SkPMColor* /*ctable*/) { in swizzle_bit_to_grayscale() argument 110 int bpp, int deltaSrc, int offset, const SkPMColor* /*ctable*/) { in swizzle_bit_to_n32() argument [all …]
|
/external/skia/src/codec/ |
D | SkSwizzler.cpp | 19 static void copy(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in copy() argument 23 SkASSERT(deltaSrc == bpp); in copy() 25 memcpy(dst, src + offset, width * bpp); in copy() 28 static void sample1(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample1() argument 38 static void sample2(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample2() argument 48 static void sample4(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample4() argument 58 static void sample6(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample6() argument 69 static void sample8(void* dst, const uint8_t* src, int width, int bpp, int deltaSrc, int offset, in sample8() argument 89 int bpp, int deltaSrc, int offset, const SkPMColor* /*ctable*/) { in swizzle_bit_to_grayscale() argument 114 int bpp, int deltaSrc, int offset, const SkPMColor* /*ctable*/) { in swizzle_bit_to_n32() argument [all …]
|
/external/syslinux/efi/ |
D | vesa.c | 161 mi->bpp = sizeof(EFI_GRAPHICS_OUTPUT_BLT_PIXEL) * 8; in efi_vesacon_set_mode() 167 mi->logical_scan = lfb_line_size = (mode_info->PixelsPerScanLine * mi->bpp) / 8; in efi_vesacon_set_mode() 169 …dprintf("bpp %d pixperScanLine %d logical_scan %d bytesperPix %d\n", mi->bpp, mode_info->PixelsPer… in efi_vesacon_set_mode() 170 mi->logical_scan, (mi->bpp + 7)>>3); in efi_vesacon_set_mode() 175 mi->bpp = sizeof(EFI_GRAPHICS_OUTPUT_BLT_PIXEL) * 8; in efi_vesacon_set_mode() 181 mi->logical_scan = lfb_line_size = (mode_info->PixelsPerScanLine * mi->bpp) / 8; in efi_vesacon_set_mode() 183 …dprintf("bpp %d pixperScanLine %d logical_scan %d bytesperPix %d\n", mi->bpp, mode_info->PixelsPer… in efi_vesacon_set_mode() 184 mi->logical_scan, (mi->bpp + 7)>>3); in efi_vesacon_set_mode() 201 mi->bpp = lfb_rsize + lfb_gsize + in efi_vesacon_set_mode() 203 mi->logical_scan = lfb_line_size = (mode_info->PixelsPerScanLine * mi->bpp) / 8; in efi_vesacon_set_mode() [all …]
|
/external/mesa3d/src/amd/addrlib/core/ |
D | addrelemlib.cpp | 1136 UINT_32 bpp; in AdjustSurfaceInfo() local 1144 bpp = *pBpp; in AdjustSurfaceInfo() 1149 packedBits = bpp / expandX / expandY; in AdjustSurfaceInfo() 1153 packedBits = bpp * expandX * expandY; in AdjustSurfaceInfo() 1157 packedBits = bpp; // 32-bit packed ==> 2 32-bit result in AdjustSurfaceInfo() 1174 packedBits = bpp; in AdjustSurfaceInfo() 1177 packedBits = bpp; in AdjustSurfaceInfo() 1259 UINT_32 bpp; in RestoreSurfaceInfo() local 1266 bpp = *pBpp; in RestoreSurfaceInfo() 1271 originalBits = bpp * expandX * expandY; in RestoreSurfaceInfo() [all …]
|
D | addrlib.cpp | 404 if (pIn->bpp > 128) in ComputeSurfaceInfo() 449 pOut->pixelBits = localIn.bpp; in ComputeSurfaceInfo() 464 localIn.bpp = GetElemLib()->GetBitsPerPixel(localIn.format, in ComputeSurfaceInfo() 485 &localIn.bpp, in ComputeSurfaceInfo() 492 else if (localIn.bpp != 0) in ComputeSurfaceInfo() 526 localIn.bpp, in ComputeSurfaceInfo() 575 pOut->bpp = localIn.bpp; in ComputeSurfaceInfo() 602 &localIn.bpp, in ComputeSurfaceInfo() 693 input.bpp, in ComputeSurfaceAddrFromCoord() 773 input.bpp, in ComputeSurfaceCoordFromAddr() [all …]
|
/external/libvncserver/client_examples/ |
D | ppmtest.c | 21 int bpp=pf->bitsPerPixel/8; in SaveFramebufferAsPPM() local 22 int row_stride=client->width*bpp; in SaveFramebufferAsPPM() 32 if(bpp!=4 && bpp!=2) { in SaveFramebufferAsPPM() 33 rfbClientLog("bpp = %d (!=4)\n",bpp); in SaveFramebufferAsPPM() 45 for(i=0;i<client->width*bpp;i+=bpp) { in SaveFramebufferAsPPM() 48 if(bpp==4) in SaveFramebufferAsPPM() 50 else if(bpp==2) in SaveFramebufferAsPPM()
|
/external/mesa3d/src/amd/addrlib/r800/ |
D | egbaddrlib.cpp | 86 UINT_32 bpp = pIn->bpp; in DispatchComputeSurfaceInfo() local 101 tileMode = DegradeLargeThickTile(tileMode, bpp); in DispatchComputeSurfaceInfo() 140 bpp, in DispatchComputeSurfaceInfo() 231 pIn->bpp, in ComputeSurfaceInfoLinear() 255 pIn->bpp, in ComputeSurfaceInfoLinear() 274 pIn->bpp, in ComputeSurfaceInfoLinear() 353 pIn->bpp, in ComputeSurfaceInfoMicroTiled() 369 pIn->bpp, in ComputeSurfaceInfoMicroTiled() 383 pIn->bpp, in ComputeSurfaceInfoMicroTiled() 444 pIn->bpp, in ComputeSurfaceInfoMacroTiled() [all …]
|
D | egbaddrlib.h | 144 UINT_32 offset, UINT_32 bpp, UINT_32 numSamples, 159 UINT_32 bpp, UINT_32 pitch, UINT_32 height, UINT_32 numSamples, 164 virtual UINT_32 HwlGetPitchAlignmentLinear(UINT_32 bpp, ADDR_SURFACE_FLAGS flags) const = 0; 169 UINT_32 bpp, UINT_32 numSamples, UINT_32 baseAlign, UINT_32 pitchAlign, 173 AddrTileMode tileMode, UINT_32 bpp, ADDR_SURFACE_FLAGS flags, UINT_32 numSamples) const; 176 UINT_32 thickness, UINT_32 bpp, ADDR_SURFACE_FLAGS flags, UINT_32 numSamples, 235 UINT_32 tileSize, UINT_32 bpp, ADDR_SURFACE_FLAGS flags, UINT_32 numSamples, 243 AddrTileMode baseTileMode, UINT_32 bpp, 286 UINT_32 pitch, UINT_32 height, UINT_32 bpp, 314 AddrTileMode tileMode, UINT_32 bpp, ADDR_SURFACE_FLAGS flags, [all …]
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | cik_sdma.c | 151 unsigned bpp = rdst->surface.bpe; in cik_sdma_copy_texture() local 166 uint64_t dst_slice_pitch = rdst->surface.level[dst_level].slice_size / bpp; in cik_sdma_copy_texture() 167 uint64_t src_slice_pitch = rsrc->surface.level[src_level].slice_size / bpp; in cik_sdma_copy_texture() 186 dst_slice_pitch * bpp * (dstz + src_box->depth) <= in cik_sdma_copy_texture() 189 src_slice_pitch * bpp * (srcz + src_box->depth) <= in cik_sdma_copy_texture() 234 (util_logbase2(bpp) << 29)); in cik_sdma_copy_texture() 281 unsigned xalign = MAX2(1, 4 / bpp); in cik_sdma_copy_texture() 299 bpp == 16) in cik_sdma_copy_texture() 329 granularity = bpp == 1 ? 64 / (8*bpp) : in cik_sdma_copy_texture() 330 128 / (8*bpp); in cik_sdma_copy_texture() [all …]
|
/external/drm_gralloc/ |
D | gralloc_drm.h | 50 int bpp; in gralloc_drm_get_bpp() local 56 bpp = 4; in gralloc_drm_get_bpp() 59 bpp = 3; in gralloc_drm_get_bpp() 63 bpp = 2; in gralloc_drm_get_bpp() 70 bpp = 1; in gralloc_drm_get_bpp() 73 bpp = 0; in gralloc_drm_get_bpp() 77 return bpp; in gralloc_drm_get_bpp()
|
/external/ImageMagick/coders/ |
D | wpg.c | 267 static void InsertRow(Image *image,unsigned char *p,ssize_t y,int bpp, in InsertRow() argument 282 switch (bpp) in InsertRow() 440 InsertRow(image,BImgBuff,(ssize_t) y,bpp,exception); \ 446 static int UnpackWPGRaster(Image *image,int bpp,ExceptionInfo *exception) in UnpackWPGRaster() argument 464 ldblk=(ssize_t) ((bpp*image->columns+7)/8); in UnpackWPGRaster() 523 InsertRow(image,BImgBuff,y-1,bpp,exception); in UnpackWPGRaster() 547 InsertRow(image,BImgBuff,(ssize_t) y,bpp,exception); \ 553 static int UnpackWPG2Raster(Image *image,int bpp,ExceptionInfo *exception) in UnpackWPG2Raster() argument 577 ldblk=(ssize_t) ((bpp*image->columns+7)/8); in UnpackWPG2Raster() 634 bpp,exception); in UnpackWPG2Raster() [all …]
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | r600_test_dma.c | 61 struct pipe_resource *templ, int bpp) in alloc_cpu_texture() argument 63 tex->stride = align(templ->width0 * bpp, RAND_NUM_SIZE); in alloc_cpu_texture() 104 struct cpu_texture *cpu, int bpp) in compare_textures() argument 122 if (memcmp(ptr, cpu_ptr, tex->width0 * bpp)) { in compare_textures() 133 static enum pipe_format get_format_from_bpp(int bpp) in get_format_from_bpp() argument 135 switch (bpp) { in get_format_from_bpp() 220 unsigned bpp, max_width, max_height, max_depth, j, num; in r600_test_dma() local 230 bpp = 1 << (rand() % 5); in r600_test_dma() 231 tsrc.format = tdst.format = get_format_from_bpp(bpp); in r600_test_dma() 266 if ((uint64_t)tsrc.width0 * tsrc.height0 * tsrc.array_size * bpp + in r600_test_dma() [all …]
|