Lines Matching defs:rowBytes
739 int rowBytes = width * height * 4;
744 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
751 // 6. OH_Drawing_BitmapCreateFromPixels, initialize the Bitmap with rowBytes greater than the image.
755 int rowBytes = 600 * 600 * 4;
757 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
796 int rowBytes = width * height * 4;
798 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
809 rowBytes = width * height * 4;
811 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
818 // 48*48, and set rowBytes as 47.
822 rowBytes = 47;
824 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
952 int rowBytes = width * height * 4;
957 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
964 // 6. OH_Drawing_BitmapCreateFromPixels, initialize the Bitmap with rowBytes greater than the image.
966 int rowBytes = 600 * 600 * 4;
968 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
1013 // 7. OH_Drawing_BitmapCreateFromPixels, initialize Bitmap with a rowBytes larger than the image
1017 int rowBytes = 600 * 600 * 4;
1019 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
1074 int rowBytes = width * height * 4;
1077 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
1087 rowBytes = width * height * 4;
1090 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
1096 // 48*48, and set rowBytes as 47.
1100 rowBytes = 47;
1103 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);
1278 // 7. OH_Drawing_BitmapCreateFromPixels, initialize Bitmap with a rowBytes larger than the image
1282 int rowBytes = 600 * 600 * 4;
1284 bitmap = OH_Drawing_BitmapCreateFromPixels(&imageInfo, pixels, rowBytes);