Lines Matching refs:pixels

743             void *pixels = OH_Drawing_BitmapGetPixels(bitmap);
744 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
756 void *pixels = new int[width * height];
757 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
791 // 5. OH_Drawing_BitmapCreateFromPixels, initialize the image with a size of 48*48, and allocate memory for pixels
797 void *pixels = new int[47 * 48];
798 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
804 // 7. OH_Drawing_BitmapCreateFromPixels, initialize the image with a size of 48*48, and allocate memory for pixels
810 pixels = new int[48 * 47];
811 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
817 // 9. OH_Drawing_BitmapCreateFromPixels, initialize the image with a size of 48*48, allocate memory for pixels as
823 pixels = new int[48 * 48];
824 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
956 void *pixels = OH_Drawing_BitmapGetPixels(bitmap);
957 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
967 void *pixels = new int[width * height];
968 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
1018 void *pixels = new int[width * height];
1019 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
1069 // 5. OH_Drawing_BitmapCreateFromPixels, initialize the image with a size of 48*48, and allocate memory for pixels
1075 void *pixels = new int[47 * 48];
1077 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
1082 // 7. OH_Drawing_BitmapCreateFromPixels, initialize the image with a size of 48*48, and allocate memory for pixels
1088 pixels = new int[48 * 47];
1090 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
1095 // 9. OH_Drawing_BitmapCreateFromPixels, initialize the image with a size of 48*48, allocate memory for pixels as
1101 pixels = new int[48 * 48];
1103 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
1283 void *pixels = new int[width * height];
1284 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);