osd char

osdchar.c

  1 #include<stdio.h>
  2 #include "TimeNewRoman.h"
  3
  4 #define  TNR    0x00   //Time New Roman.
  5 #define  ST     0x01  //Song Ti.
  6 #define  FST    0x02   // Fang Song Ti.
  7 #define  YY     0x03  // You Yuan.
  8
  9 char OsdY = 0;
 10 char OsdU = 0;
 11 char OsdV = 0;
 12 char *currentENFront;
 13
 14 char OSDCharYUV422(int column, int row, int imageWidth, int imageHeight, char ascii, char *buffer)
 15 {
 16      int  MapAddress = 0;
 17      int  pixelCount    = 0;
 18      int  charHeight   = 0;
 19      int  charWidth     = 0;
 20      int  multiple        = 0;
 21      int  index,i,j;
 22      char *frontBuffer;
 23
 24     ascii -= 0x20;
 25     charHeight  = currentENFront[7];
 26     charWidth   = currentENFront[ascii*4+9];
 27     MapAddress  = currentENFront[ascii*4+10]+currentENFront[ascii*4+11]*256;
 28     frontBuffer = &currentENFront[MapAddress];
 29     multiple    = (charWidth-1)/8+1;
 30
 31     if (((imageWidth-row)<charWidth)||((imageHeight-column)<charHeight))
 32     {
 33         return -1;
 34     }
 35
 36     for (index = 0; index < charHeight; index++)
 37     {
 38         pixelCount = 0;
 39         for (j=0; j<(multiple-1); j++)
 40         {
 41             for (i=0; i<8; i++)
 42             {
 43                 if((frontBuffer[index*multiple+j]&(0x80>>i)) != 0x00)
 44                 {
 45                     buffer[((index+column)*imageWidth+row+pixelCount)*2] = OsdU;
 46                     buffer[((index+column)*imageWidth+row+pixelCount)*2+1] = OsdY;
 47                 }
 48
 49                 pixelCount++;
 50             }
 51
 52             for (i=0; i < (charWidth-(multiple-1)*8); i++)
 53             {
 54                 if ((frontBuffer[index*multiple+j]&(0x80>>i)) != 0x00)
 55                 {
 56                     buffer[((index+column)*imageWidth+row+pixelCount)*2] = OsdU;
 57                     buffer[((index+column)*imageWidth+row+pixelCount)*2+1] = OsdY;
 58                 }
 59                 pixelCount++;
 60             }
 61         }
 62     }
 63
 64     return 0;
 65 }
 66
 67 /*******************************************************************************
 68 * Function Name  : FrontSetup
 69 * Description    : Setup a Front LIB on OSD.
 70 * Input          : - FontID: This parameter can be one of the following values:
 71 *                    :
 72 * Output         : None
 73 * Return         : None
 74 *******************************************************************************/
 75 void FrontSetup(char FontID)
 76 {
 77     switch(FontID)
 78     {
 79     case TNR://Time New Roman.
 80          currentENFront = (char *)TimeNewRoman;
 81          break;
 82
 83     case ST://Song Ti.
 84          //CurrentCHFront = ASCII_chinese_Table;
 85          break;
 86
 87     case FST:// Fang Song Ti.
 88          break;
 89
 90     case YY:// You Yuan.
 91          break;
 92     }
 93 }
 94
 95 void OSDSetTextColor(char OsdR, char OsdG, char OsdB)
 96 {
 97     OsdY = 0.25*OsdR+0.504*OsdG+0.098*OsdB+16;
 98     OsdU = -0.148*OsdR-0.291*OsdG+0.439*OsdB+128;
 99     OsdV = 0.439*OsdR-0.368*OsdG-0.071*OsdB+128;
100 }

TimeNewRoman.h

   1 const char TimeNewRoman[] ={
   2 //////////////////////////////////////////
   3 // FONT HEADER
   4 //////////////////////////////////////////
   5 0x00,
   6 0x00,
   7 0x20,0x00,
   8 0x7F,0x00,
   9 0xA5,
  10 0x12,
  11 //////////////////////////////////////////
  12 // CHARACTER TABLE
  13 //////////////////////////////////////////
  14 0x00,0x04,0x88,0x01,
  15 0x00,0x05,0x9A,0x01,
  16 0x00,0x05,0xAC,0x01,
  17 0x00,0x07,0xBE,0x01,
  18 0x00,0x07,0xD0,0x01,
  19 0x00,0x0C,0xE2,0x01,
  20 0x00,0x0B,0x06,0x02,
  21 0x00,0x03,0x2A,0x02,
  22 0x00,0x05,0x3C,0x02,
  23 0x00,0x05,0x4E,0x02,
  24 0x00,0x07,0x60,0x02,
  25 0x00,0x08,0x72,0x02,
  26 0x00,0x04,0x84,0x02,
  27 0x00,0x05,0x96,0x02,
  28 0x00,0x04,0xA8,0x02,
  29 0x00,0x04,0xBA,0x02,
  30 0x00,0x07,0xCC,0x02,
  31 0x00,0x07,0xDE,0x02,
  32 0x00,0x07,0xF0,0x02,
  33 0x00,0x07,0x02,0x03,
  34 0x00,0x07,0x14,0x03,
  35 0x00,0x07,0x26,0x03,
  36 0x00,0x07,0x38,0x03,
  37 0x00,0x07,0x4A,0x03,
  38 0x00,0x07,0x5C,0x03,
  39 0x00,0x07,0x6E,0x03,
  40 0x00,0x03,0x80,0x03,
  41 0x00,0x04,0x92,0x03,
  42 0x00,0x08,0xA4,0x03,
  43 0x00,0x08,0xB6,0x03,
  44 0x00,0x08,0xC8,0x03,
  45 0x00,0x06,0xDA,0x03,
  46 0x00,0x0D,0xEC,0x03,
  47 0x00,0x09,0x10,0x04,
  48 0x00,0x08,0x34,0x04,
  49 0x00,0x09,0x46,0x04,
  50 0x00,0x0A,0x6A,0x04,
  51 0x00,0x08,0x8E,0x04,
  52 0x00,0x08,0xA0,0x04,
  53 0x00,0x0A,0xB2,0x04,
  54 0x00,0x09,0xD6,0x04,
  55 0x00,0x05,0xFA,0x04,
  56 0x00,0x06,0x0C,0x05,
  57 0x00,0x09,0x1E,0x05,
  58 0x00,0x08,0x42,0x05,
  59 0x00,0x0C,0x54,0x05,
  60 0x00,0x0A,0x78,0x05,
  61 0x00,0x0A,0x9C,0x05,
  62 0x00,0x08,0xC0,0x05,
  63 0x00,0x0A,0xD2,0x05,
  64 0x00,0x09,0xF6,0x05,
  65 0x00,0x08,0x1A,0x06,
  66 0x00,0x09,0x2C,0x06,
  67 0x00,0x09,0x50,0x06,
  68 0x00,0x09,0x74,0x06,
  69 0x00,0x0D,0x98,0x06,
  70 0x00,0x0A,0xBC,0x06,
  71 0x00,0x09,0xE0,0x06,
  72 0x00,0x08,0x04,0x07,
  73 0x00,0x05,0x16,0x07,
  74 0x00,0x04,0x28,0x07,
  75 0x00,0x05,0x3A,0x07,
  76 0x00,0x06,0x4C,0x07,
  77 0x00,0x07,0x5E,0x07,
  78 0x00,0x04,0x70,0x07,
  79 0x00,0x06,0x82,0x07,
  80 0x00,0x07,0x94,0x07,
  81 0x00,0x07,0xA6,0x07,
  82 0x00,0x07,0xB8,0x07,
  83 0x00,0x06,0xCA,0x07,
  84 0x00,0x05,0xDC,0x07,
  85 0x00,0x07,0xEE,0x07,
  86 0x00,0x07,0x00,0x08,
  87 0x00,0x03,0x12,0x08,
  88 0x00,0x03,0x24,0x08,
  89 0x00,0x07,0x36,0x08,
  90 0x00,0x03,0x48,0x08,
  91 0x00,0x0B,0x5A,0x08,
  92 0x00,0x07,0x7E,0x08,
  93 0x00,0x07,0x90,0x08,
  94 0x00,0x07,0xA2,0x08,
  95 0x00,0x07,0xB4,0x08,
  96 0x00,0x05,0xC6,0x08,
  97 0x00,0x06,0xD8,0x08,
  98 0x00,0x04,0xEA,0x08,
  99 0x00,0x07,0xFC,0x08,
 100 0x00,0x07,0x0E,0x09,
 101 0x00,0x0B,0x20,0x09,
 102 0x00,0x07,0x44,0x09,
 103 0x00,0x07,0x56,0x09,
 104 0x00,0x06,0x68,0x09,
 105 0x00,0x07,0x7A,0x09,
 106 0x00,0x03,0x8C,0x09,
 107 0x00,0x07,0x9E,0x09,
 108 0x00,0x08,0xB0,0x09,
 109 0x00,0x07,0xC2,0x09,
 110 //////////////////////////////////////////
 111 // FONT BITMAP
 112 //////////////////////////////////////////
 113 0x00,
 114 0x00,
 115 0x00,
 116 0x00,
 117 0x00,
 118 0x00,
 119 0x00,
 120 0x00,
 121 0x00,
 122 0x00,
 123 0x00,
 124 0x00,
 125 0x00,
 126 0x00,
 127 0x00,
 128 0x00,
 129 0x00,
 130 0x00,
 131 0x00,
 132 0x00,
 133 0x00,
 134 0x00,
 135 0x00,
 136 0x20,
 137 0x20,
 138 0x20,
 139 0x20,
 140 0x20,
 141 0x20,
 142 0x20,
 143 0x20,
 144 0x00,
 145 0x20,
 146 0x00,
 147 0x00,
 148 0x00,
 149 0x00,
 150 0x00,
 151 0x00,
 152 0x00,
 153 0x00,
 154 0x50,
 155 0x50,
 156 0x50,
 157 0x50,
 158 0x00,
 159 0x00,
 160 0x00,
 161 0x00,
 162 0x00,
 163 0x00,
 164 0x00,
 165 0x00,
 166 0x00,
 167 0x00,
 168 0x00,
 169 0x00,
 170 0x00,
 171 0x00,
 172 0x12,
 173 0x12,
 174 0x24,
 175 0xFE,
 176 0x24,
 177 0x24,
 178 0xFE,
 179 0x48,
 180 0x48,
 181 0x48,
 182 0x00,
 183 0x00,
 184 0x00,
 185 0x00,
 186 0x00,
 187 0x00,
 188 0x00,
 189 0x10,
 190 0x38,
 191 0x54,
 192 0x54,
 193 0x50,
 194 0x30,
 195 0x18,
 196 0x14,
 197 0x14,
 198 0x54,
 199 0x38,
 200 0x10,
 201 0x00,
 202 0x00,
 203 0x00,0x00,
 204 0x00,0x00,
 205 0x00,0x00,
 206 0x00,0x00,
 207 0x00,0x00,
 208 0x60,0x80,
 209 0x91,0x00,
 210 0x91,0x00,
 211 0x92,0x00,
 212 0x64,0x00,
 213 0x08,0xC0,
 214 0x09,0x20,
 215 0x11,0x20,
 216 0x21,0x20,
 217 0x20,0xC0,
 218 0x00,0x00,
 219 0x00,0x00,
 220 0x00,0x00,
 221 0x00,0x00,
 222 0x00,0x00,
 223 0x00,0x00,
 224 0x00,0x00,
 225 0x00,0x00,
 226 0x0E,0x00,
 227 0x12,0x00,
 228 0x12,0x00,
 229 0x0D,0xC0,
 230 0x18,0x80,
 231 0x25,0x00,
 232 0x45,0x00,
 233 0x42,0x00,
 234 0x63,0x20,
 235 0x3D,0xC0,
 236 0x00,0x00,
 237 0x00,0x00,
 238 0x00,0x00,
 239 0x00,
 240 0x00,
 241 0x00,
 242 0x00,
 243 0x00,
 244 0x40,
 245 0x40,
 246 0x40,
 247 0x40,
 248 0x00,
 249 0x00,
 250 0x00,
 251 0x00,
 252 0x00,
 253 0x00,
 254 0x00,
 255 0x00,
 256 0x00,
 257 0x00,
 258 0x00,
 259 0x00,
 260 0x00,
 261 0x00,
 262 0x10,
 263 0x20,
 264 0x40,
 265 0x80,
 266 0x80,
 267 0x80,
 268 0x80,
 269 0x80,
 270 0x80,
 271 0x40,
 272 0x40,
 273 0x20,
 274 0x10,
 275 0x00,
 276 0x00,
 277 0x00,
 278 0x00,
 279 0x00,
 280 0x80,
 281 0x40,
 282 0x20,
 283 0x20,
 284 0x10,
 285 0x10,
 286 0x10,
 287 0x10,
 288 0x10,
 289 0x20,
 290 0x20,
 291 0x40,
 292 0x80,
 293 0x00,
 294 0x00,
 295 0x00,
 296 0x00,
 297 0x00,
 298 0x10,
 299 0x54,
 300 0x38,
 301 0x54,
 302 0x10,
 303 0x00,
 304 0x00,
 305 0x00,
 306 0x00,
 307 0x00,
 308 0x00,
 309 0x00,
 310 0x00,
 311 0x00,
 312 0x00,
 313 0x00,
 314 0x00,
 315 0x00,
 316 0x00,
 317 0x00,
 318 0x10,
 319 0x10,
 320 0x10,
 321 0xFE,
 322 0x10,
 323 0x10,
 324 0x10,
 325 0x00,
 326 0x00,
 327 0x00,
 328 0x00,
 329 0x00,
 330 0x00,
 331 0x00,
 332 0x00,
 333 0x00,
 334 0x00,
 335 0x00,
 336 0x00,
 337 0x00,
 338 0x00,
 339 0x00,
 340 0x00,
 341 0x00,
 342 0x00,
 343 0x60,
 344 0x20,
 345 0x40,
 346 0x00,
 347 0x00,
 348 0x00,
 349 0x00,
 350 0x00,
 351 0x00,
 352 0x00,
 353 0x00,
 354 0x00,
 355 0x00,
 356 0x00,
 357 0x00,
 358 0x70,
 359 0x00,
 360 0x00,
 361 0x00,
 362 0x00,
 363 0x00,
 364 0x00,
 365 0x00,
 366 0x00,
 367 0x00,
 368 0x00,
 369 0x00,
 370 0x00,
 371 0x00,
 372 0x00,
 373 0x00,
 374 0x00,
 375 0x00,
 376 0x00,
 377 0x00,
 378 0x00,
 379 0x40,
 380 0x00,
 381 0x00,
 382 0x00,
 383 0x00,
 384 0x00,
 385 0x00,
 386 0x00,
 387 0x00,
 388 0x10,
 389 0x10,
 390 0x20,
 391 0x20,
 392 0x20,
 393 0x40,
 394 0x40,
 395 0x40,
 396 0x80,
 397 0x80,
 398 0x00,
 399 0x00,
 400 0x00,
 401 0x00,
 402 0x00,
 403 0x00,
 404 0x00,
 405 0x00,
 406 0x38,
 407 0x44,
 408 0x44,
 409 0x44,
 410 0x44,
 411 0x44,
 412 0x44,
 413 0x44,
 414 0x44,
 415 0x38,
 416 0x00,
 417 0x00,
 418 0x00,
 419 0x00,
 420 0x00,
 421 0x00,
 422 0x00,
 423 0x00,
 424 0x10,
 425 0x30,
 426 0x10,
 427 0x10,
 428 0x10,
 429 0x10,
 430 0x10,
 431 0x10,
 432 0x10,
 433 0x38,
 434 0x00,
 435 0x00,
 436 0x00,
 437 0x00,
 438 0x00,
 439 0x00,
 440 0x00,
 441 0x00,
 442 0x38,
 443 0x44,
 444 0x04,
 445 0x04,
 446 0x04,
 447 0x08,
 448 0x08,
 449 0x10,
 450 0x24,
 451 0x7C,
 452 0x00,
 453 0x00,
 454 0x00,
 455 0x00,
 456 0x00,
 457 0x00,
 458 0x00,
 459 0x00,
 460 0x38,
 461 0x44,
 462 0x04,
 463 0x08,
 464 0x18,
 465 0x04,
 466 0x04,
 467 0x04,
 468 0x04,
 469 0x78,
 470 0x00,
 471 0x00,
 472 0x00,
 473 0x00,
 474 0x00,
 475 0x00,
 476 0x00,
 477 0x00,
 478 0x08,
 479 0x18,
 480 0x28,
 481 0x28,
 482 0x48,
 483 0x88,
 484 0xFC,
 485 0x08,
 486 0x08,
 487 0x08,
 488 0x00,
 489 0x00,
 490 0x00,
 491 0x00,
 492 0x00,
 493 0x00,
 494 0x00,
 495 0x00,
 496 0x3C,
 497 0x20,
 498 0x40,
 499 0x70,
 500 0x08,
 501 0x04,
 502 0x04,
 503 0x04,
 504 0x08,
 505 0x70,
 506 0x00,
 507 0x00,
 508 0x00,
 509 0x00,
 510 0x00,
 511 0x00,
 512 0x00,
 513 0x00,
 514 0x0C,
 515 0x10,
 516 0x20,
 517 0x58,
 518 0x64,
 519 0x44,
 520 0x44,
 521 0x44,
 522 0x44,
 523 0x38,
 524 0x00,
 525 0x00,
 526 0x00,
 527 0x00,
 528 0x00,
 529 0x00,
 530 0x00,
 531 0x00,
 532 0x7C,
 533 0x84,
 534 0x08,
 535 0x08,
 536 0x08,
 537 0x10,
 538 0x10,
 539 0x10,
 540 0x20,
 541 0x20,
 542 0x00,
 543 0x00,
 544 0x00,
 545 0x00,
 546 0x00,
 547 0x00,
 548 0x00,
 549 0x00,
 550 0x38,
 551 0x44,
 552 0x44,
 553 0x28,
 554 0x10,
 555 0x28,
 556 0x44,
 557 0x44,
 558 0x44,
 559 0x38,
 560 0x00,
 561 0x00,
 562 0x00,
 563 0x00,
 564 0x00,
 565 0x00,
 566 0x00,
 567 0x00,
 568 0x38,
 569 0x44,
 570 0x44,
 571 0x44,
 572 0x44,
 573 0x44,
 574 0x3C,
 575 0x08,
 576 0x10,
 577 0x60,
 578 0x00,
 579 0x00,
 580 0x00,
 581 0x00,
 582 0x00,
 583 0x00,
 584 0x00,
 585 0x00,
 586 0x00,
 587 0x00,
 588 0x00,
 589 0x40,
 590 0x00,
 591 0x00,
 592 0x00,
 593 0x00,
 594 0x00,
 595 0x40,
 596 0x00,
 597 0x00,
 598 0x00,
 599 0x00,
 600 0x00,
 601 0x00,
 602 0x00,
 603 0x00,
 604 0x00,
 605 0x00,
 606 0x00,
 607 0x40,
 608 0x00,
 609 0x00,
 610 0x00,
 611 0x00,
 612 0x00,
 613 0x60,
 614 0x20,
 615 0x40,
 616 0x00,
 617 0x00,
 618 0x00,
 619 0x00,
 620 0x00,
 621 0x00,
 622 0x00,
 623 0x00,
 624 0x02,
 625 0x0C,
 626 0x30,
 627 0x40,
 628 0x30,
 629 0x0C,
 630 0x02,
 631 0x00,
 632 0x00,
 633 0x00,
 634 0x00,
 635 0x00,
 636 0x00,
 637 0x00,
 638 0x00,
 639 0x00,
 640 0x00,
 641 0x00,
 642 0x00,
 643 0x00,
 644 0xFF,
 645 0x00,
 646 0xFF,
 647 0x00,
 648 0x00,
 649 0x00,
 650 0x00,
 651 0x00,
 652 0x00,
 653 0x00,
 654 0x00,
 655 0x00,
 656 0x00,
 657 0x00,
 658 0x00,
 659 0x00,
 660 0x40,
 661 0x30,
 662 0x0C,
 663 0x02,
 664 0x0C,
 665 0x30,
 666 0x40,
 667 0x00,
 668 0x00,
 669 0x00,
 670 0x00,
 671 0x00,
 672 0x00,
 673 0x00,
 674 0x00,
 675 0x00,
 676 0x70,
 677 0x88,
 678 0x88,
 679 0x08,
 680 0x10,
 681 0x20,
 682 0x20,
 683 0x20,
 684 0x00,
 685 0x20,
 686 0x00,
 687 0x00,
 688 0x00,
 689 0x00,0x00,
 690 0x00,0x00,
 691 0x00,0x00,
 692 0x00,0x00,
 693 0x00,0x00,
 694 0x0F,0xC0,
 695 0x10,0x20,
 696 0x27,0x50,
 697 0x48,0x90,
 698 0x90,0x90,
 699 0x90,0x90,
 700 0x90,0x90,
 701 0x91,0x10,
 702 0x93,0x20,
 703 0x4C,0xC8,
 704 0x20,0x10,
 705 0x10,0x20,
 706 0x0F,0xC0,
 707 0x00,0x00,
 708 0x00,0x00,
 709 0x00,0x00,
 710 0x00,0x00,
 711 0x00,0x00,
 712 0x08,0x00,
 713 0x08,0x00,
 714 0x14,0x00,
 715 0x14,0x00,
 716 0x22,0x00,
 717 0x22,0x00,
 718 0x3E,0x00,
 719 0x41,0x00,
 720 0x41,0x00,
 721 0xE3,0x80,
 722 0x00,0x00,
 723 0x00,0x00,
 724 0x00,0x00,
 725 0x00,
 726 0x00,
 727 0x00,
 728 0x00,
 729 0x00,
 730 0xF8,
 731 0x44,
 732 0x44,
 733 0x44,
 734 0x7C,
 735 0x42,
 736 0x42,
 737 0x42,
 738 0x42,
 739 0xFC,
 740 0x00,
 741 0x00,
 742 0x00,
 743 0x00,0x00,
 744 0x00,0x00,
 745 0x00,0x00,
 746 0x00,0x00,
 747 0x00,0x00,
 748 0x1D,0x00,
 749 0x23,0x00,
 750 0x41,0x00,
 751 0x40,0x00,
 752 0x40,0x00,
 753 0x40,0x00,
 754 0x40,0x00,
 755 0x41,0x00,
 756 0x22,0x00,
 757 0x1C,0x00,
 758 0x00,0x00,
 759 0x00,0x00,
 760 0x00,0x00,
 761 0x00,0x00,
 762 0x00,0x00,
 763 0x00,0x00,
 764 0x00,0x00,
 765 0x00,0x00,
 766 0xFC,0x00,
 767 0x42,0x00,
 768 0x41,0x00,
 769 0x40,0x80,
 770 0x40,0x80,
 771 0x40,0x80,
 772 0x40,0x80,
 773 0x41,0x00,
 774 0x42,0x00,
 775 0xFC,0x00,
 776 0x00,0x00,
 777 0x00,0x00,
 778 0x00,0x00,
 779 0x00,
 780 0x00,
 781 0x00,
 782 0x00,
 783 0x00,
 784 0xFE,
 785 0x42,
 786 0x40,
 787 0x48,
 788 0x78,
 789 0x48,
 790 0x40,
 791 0x40,
 792 0x41,
 793 0xFE,
 794 0x00,
 795 0x00,
 796 0x00,
 797 0x00,
 798 0x00,
 799 0x00,
 800 0x00,
 801 0x00,
 802 0xFE,
 803 0x42,
 804 0x40,
 805 0x48,
 806 0x78,
 807 0x48,
 808 0x40,
 809 0x40,
 810 0x40,
 811 0xE0,
 812 0x00,
 813 0x00,
 814 0x00,
 815 0x00,0x00,
 816 0x00,0x00,
 817 0x00,0x00,
 818 0x00,0x00,
 819 0x00,0x00,
 820 0x1D,0x00,
 821 0x23,0x00,
 822 0x41,0x00,
 823 0x40,0x00,
 824 0x40,0x00,
 825 0x43,0x80,
 826 0x41,0x00,
 827 0x41,0x00,
 828 0x21,0x00,
 829 0x1E,0x00,
 830 0x00,0x00,
 831 0x00,0x00,
 832 0x00,0x00,
 833 0x00,0x00,
 834 0x00,0x00,
 835 0x00,0x00,
 836 0x00,0x00,
 837 0x00,0x00,
 838 0xE3,0x80,
 839 0x41,0x00,
 840 0x41,0x00,
 841 0x41,0x00,
 842 0x7F,0x00,
 843 0x41,0x00,
 844 0x41,0x00,
 845 0x41,0x00,
 846 0x41,0x00,
 847 0xE3,0x80,
 848 0x00,0x00,
 849 0x00,0x00,
 850 0x00,0x00,
 851 0x00,
 852 0x00,
 853 0x00,
 854 0x00,
 855 0x00,
 856 0x70,
 857 0x20,
 858 0x20,
 859 0x20,
 860 0x20,
 861 0x20,
 862 0x20,
 863 0x20,
 864 0x20,
 865 0x70,
 866 0x00,
 867 0x00,
 868 0x00,
 869 0x00,
 870 0x00,
 871 0x00,
 872 0x00,
 873 0x00,
 874 0x38,
 875 0x10,
 876 0x10,
 877 0x10,
 878 0x10,
 879 0x10,
 880 0x10,
 881 0x10,
 882 0x90,
 883 0xE0,
 884 0x00,
 885 0x00,
 886 0x00,
 887 0x00,0x00,
 888 0x00,0x00,
 889 0x00,0x00,
 890 0x00,0x00,
 891 0x00,0x00,
 892 0xE7,0x80,
 893 0x42,0x00,
 894 0x44,0x00,
 895 0x48,0x00,
 896 0x70,0x00,
 897 0x50,0x00,
 898 0x48,0x00,
 899 0x44,0x00,
 900 0x42,0x00,
 901 0xE7,0x80,
 902 0x00,0x00,
 903 0x00,0x00,
 904 0x00,0x00,
 905 0x00,
 906 0x00,
 907 0x00,
 908 0x00,
 909 0x00,
 910 0xE0,
 911 0x40,
 912 0x40,
 913 0x40,
 914 0x40,
 915 0x40,
 916 0x40,
 917 0x41,
 918 0x42,
 919 0xFE,
 920 0x00,
 921 0x00,
 922 0x00,
 923 0x00,0x00,
 924 0x00,0x00,
 925 0x00,0x00,
 926 0x00,0x00,
 927 0x00,0x00,
 928 0xE0,0x70,
 929 0x60,0x60,
 930 0x50,0xA0,
 931 0x50,0xA0,
 932 0x48,0xA0,
 933 0x49,0x20,
 934 0x49,0x20,
 935 0x45,0x20,
 936 0x46,0x20,
 937 0xE2,0x70,
 938 0x00,0x00,
 939 0x00,0x00,
 940 0x00,0x00,
 941 0x00,0x00,
 942 0x00,0x00,
 943 0x00,0x00,
 944 0x00,0x00,
 945 0x00,0x00,
 946 0xC1,0xC0,
 947 0x40,0x80,
 948 0x60,0x80,
 949 0x50,0x80,
 950 0x48,0x80,
 951 0x44,0x80,
 952 0x42,0x80,
 953 0x41,0x80,
 954 0x40,0x80,
 955 0xE0,0x80,
 956 0x00,0x00,
 957 0x00,0x00,
 958 0x00,0x00,
 959 0x00,0x00,
 960 0x00,0x00,
 961 0x00,0x00,
 962 0x00,0x00,
 963 0x00,0x00,
 964 0x1E,0x00,
 965 0x21,0x00,
 966 0x40,0x80,
 967 0x40,0x80,
 968 0x40,0x80,
 969 0x40,0x80,
 970 0x40,0x80,
 971 0x40,0x80,
 972 0x21,0x00,
 973 0x1E,0x00,
 974 0x00,0x00,
 975 0x00,0x00,
 976 0x00,0x00,
 977 0x00,
 978 0x00,
 979 0x00,
 980 0x00,
 981 0x00,
 982 0xFC,
 983 0x42,
 984 0x42,
 985 0x42,
 986 0x42,
 987 0x7C,
 988 0x40,
 989 0x40,
 990 0x40,
 991 0xE0,
 992 0x00,
 993 0x00,
 994 0x00,
 995 0x00,0x00,
 996 0x00,0x00,
 997 0x00,0x00,
 998 0x00,0x00,
 999 0x00,0x00,
1000 0x1E,0x00,
1001 0x21,0x00,
1002 0x40,0x80,
1003 0x40,0x80,
1004 0x40,0x80,
1005 0x40,0x80,
1006 0x40,0x80,
1007 0x40,0x80,
1008 0x21,0x00,
1009 0x1E,0x00,
1010 0x04,0x00,
1011 0x02,0x00,
1012 0x01,0x80,
1013 0x00,0x00,
1014 0x00,0x00,
1015 0x00,0x00,
1016 0x00,0x00,
1017 0x00,0x00,
1018 0xFC,0x00,
1019 0x42,0x00,
1020 0x42,0x00,
1021 0x42,0x00,
1022 0x7C,0x00,
1023 0x48,0x00,
1024 0x44,0x00,
1025 0x44,0x00,
1026 0x42,0x00,
1027 0xE1,0x80,
1028 0x00,0x00,
1029 0x00,0x00,
1030 0x00,0x00,
1031 0x00,
1032 0x00,
1033 0x00,
1034 0x00,
1035 0x00,
1036 0x3A,
1037 0x46,
1038 0x42,
1039 0x40,
1040 0x30,
1041 0x0C,
1042 0x02,
1043 0x42,
1044 0x62,
1045 0x5C,
1046 0x00,
1047 0x00,
1048 0x00,
1049 0x00,0x00,
1050 0x00,0x00,
1051 0x00,0x00,
1052 0x00,0x00,
1053 0x00,0x00,
1054 0x7F,0x00,
1055 0x49,0x00,
1056 0x08,0x00,
1057 0x08,0x00,
1058 0x08,0x00,
1059 0x08,0x00,
1060 0x08,0x00,
1061 0x08,0x00,
1062 0x08,0x00,
1063 0x1C,0x00,
1064 0x00,0x00,
1065 0x00,0x00,
1066 0x00,0x00,
1067 0x00,0x00,
1068 0x00,0x00,
1069 0x00,0x00,
1070 0x00,0x00,
1071 0x00,0x00,
1072 0xE3,0x80,
1073 0x41,0x00,
1074 0x41,0x00,
1075 0x41,0x00,
1076 0x41,0x00,
1077 0x41,0x00,
1078 0x41,0x00,
1079 0x41,0x00,
1080 0x22,0x00,
1081 0x1C,0x00,
1082 0x00,0x00,
1083 0x00,0x00,
1084 0x00,0x00,
1085 0x00,0x00,
1086 0x00,0x00,
1087 0x00,0x00,
1088 0x00,0x00,
1089 0x00,0x00,
1090 0xE3,0x80,
1091 0x41,0x00,
1092 0x41,0x00,
1093 0x22,0x00,
1094 0x22,0x00,
1095 0x22,0x00,
1096 0x14,0x00,
1097 0x14,0x00,
1098 0x08,0x00,
1099 0x08,0x00,
1100 0x00,0x00,
1101 0x00,0x00,
1102 0x00,0x00,
1103 0x00,0x00,
1104 0x00,0x00,
1105 0x00,0x00,
1106 0x00,0x00,
1107 0x00,0x00,
1108 0xE7,0x38,
1109 0x42,0x10,
1110 0x42,0x10,
1111 0x42,0x20,
1112 0x25,0x20,
1113 0x25,0x20,
1114 0x29,0x40,
1115 0x29,0x40,
1116 0x10,0x80,
1117 0x10,0x80,
1118 0x00,0x00,
1119 0x00,0x00,
1120 0x00,0x00,
1121 0x00,0x00,
1122 0x00,0x00,
1123 0x00,0x00,
1124 0x00,0x00,
1125 0x00,0x00,
1126 0x71,0xC0,
1127 0x20,0x80,
1128 0x11,0x00,
1129 0x0A,0x00,
1130 0x04,0x00,
1131 0x04,0x00,
1132 0x0A,0x00,
1133 0x11,0x00,
1134 0x20,0x80,
1135 0xF1,0xC0,
1136 0x00,0x00,
1137 0x00,0x00,
1138 0x00,0x00,
1139 0x00,0x00,
1140 0x00,0x00,
1141 0x00,0x00,
1142 0x00,0x00,
1143 0x00,0x00,
1144 0x73,0x80,
1145 0x21,0x00,
1146 0x22,0x00,
1147 0x12,0x00,
1148 0x14,0x00,
1149 0x08,0x00,
1150 0x08,0x00,
1151 0x08,0x00,
1152 0x08,0x00,
1153 0x1C,0x00,
1154 0x00,0x00,
1155 0x00,0x00,
1156 0x00,0x00,
1157 0x00,
1158 0x00,
1159 0x00,
1160 0x00,
1161 0x00,
1162 0x7E,
1163 0x42,
1164 0x44,
1165 0x08,
1166 0x10,
1167 0x10,
1168 0x20,
1169 0x41,
1170 0x41,
1171 0xFF,
1172 0x00,
1173 0x00,
1174 0x00,
1175 0x00,
1176 0x00,
1177 0x00,
1178 0x00,
1179 0x00,
1180 0x70,
1181 0x40,
1182 0x40,
1183 0x40,
1184 0x40,
1185 0x40,
1186 0x40,
1187 0x40,
1188 0x40,
1189 0x40,
1190 0x40,
1191 0x40,
1192 0x70,
1193 0x00,
1194 0x00,
1195 0x00,
1196 0x00,
1197 0x00,
1198 0x80,
1199 0x80,
1200 0x40,
1201 0x40,
1202 0x40,
1203 0x20,
1204 0x20,
1205 0x20,
1206 0x10,
1207 0x10,
1208 0x00,
1209 0x00,
1210 0x00,
1211 0x00,
1212 0x00,
1213 0x00,
1214 0x00,
1215 0x00,
1216 0xE0,
1217 0x20,
1218 0x20,
1219 0x20,
1220 0x20,
1221 0x20,
1222 0x20,
1223 0x20,
1224 0x20,
1225 0x20,
1226 0x20,
1227 0x20,
1228 0xE0,
1229 0x00,
1230 0x00,
1231 0x00,
1232 0x00,
1233 0x00,
1234 0x30,
1235 0x48,
1236 0x48,
1237 0x84,
1238 0x84,
1239 0x00,
1240 0x00,
1241 0x00,
1242 0x00,
1243 0x00,
1244 0x00,
1245 0x00,
1246 0x00,
1247 0x00,
1248 0x00,
1249 0x00,
1250 0x00,
1251 0x00,
1252 0x00,
1253 0x00,
1254 0x00,
1255 0x00,
1256 0x00,
1257 0x00,
1258 0x00,
1259 0x00,
1260 0x00,
1261 0x00,
1262 0x00,
1263 0x00,
1264 0xFE,
1265 0x00,
1266 0x00,
1267 0x00,
1268 0x00,
1269 0x00,
1270 0x00,
1271 0x40,
1272 0x20,
1273 0x00,
1274 0x00,
1275 0x00,
1276 0x00,
1277 0x00,
1278 0x00,
1279 0x00,
1280 0x00,
1281 0x00,
1282 0x00,
1283 0x00,
1284 0x00,
1285 0x00,
1286 0x00,
1287 0x00,
1288 0x00,
1289 0x00,
1290 0x00,
1291 0x70,
1292 0x88,
1293 0x08,
1294 0x78,
1295 0x88,
1296 0x88,
1297 0x7C,
1298 0x00,
1299 0x00,
1300 0x00,
1301 0x00,
1302 0x00,
1303 0x00,
1304 0x00,
1305 0x00,
1306 0x40,
1307 0xC0,
1308 0x40,
1309 0x58,
1310 0x64,
1311 0x44,
1312 0x44,
1313 0x44,
1314 0x44,
1315 0x38,
1316 0x00,
1317 0x00,
1318 0x00,
1319 0x00,
1320 0x00,
1321 0x00,
1322 0x00,
1323 0x00,
1324 0x00,
1325 0x00,
1326 0x00,
1327 0x38,
1328 0x44,
1329 0x40,
1330 0x40,
1331 0x40,
1332 0x44,
1333 0x38,
1334 0x00,
1335 0x00,
1336 0x00,
1337 0x00,
1338 0x00,
1339 0x00,
1340 0x00,
1341 0x00,
1342 0x04,
1343 0x0C,
1344 0x04,
1345 0x34,
1346 0x4C,
1347 0x44,
1348 0x44,
1349 0x44,
1350 0x4E,
1351 0x34,
1352 0x00,
1353 0x00,
1354 0x00,
1355 0x00,
1356 0x00,
1357 0x00,
1358 0x00,
1359 0x00,
1360 0x00,
1361 0x00,
1362 0x00,
1363 0x38,
1364 0x44,
1365 0x7C,
1366 0x40,
1367 0x40,
1368 0x44,
1369 0x38,
1370 0x00,
1371 0x00,
1372 0x00,
1373 0x00,
1374 0x00,
1375 0x00,
1376 0x00,
1377 0x00,
1378 0x18,
1379 0x20,
1380 0x20,
1381 0x78,
1382 0x20,
1383 0x20,
1384 0x20,
1385 0x20,
1386 0x20,
1387 0x70,
1388 0x00,
1389 0x00,
1390 0x00,
1391 0x00,
1392 0x00,
1393 0x00,
1394 0x00,
1395 0x00,
1396 0x00,
1397 0x00,
1398 0x00,
1399 0x3E,
1400 0x44,
1401 0x44,
1402 0x44,
1403 0x38,
1404 0x40,
1405 0x7C,
1406 0x42,
1407 0x42,
1408 0x3C,
1409 0x00,
1410 0x00,
1411 0x00,
1412 0x00,
1413 0x00,
1414 0x40,
1415 0xC0,
1416 0x40,
1417 0x58,
1418 0x64,
1419 0x44,
1420 0x44,
1421 0x44,
1422 0x44,
1423 0xEE,
1424 0x00,
1425 0x00,
1426 0x00,
1427 0x00,
1428 0x00,
1429 0x00,
1430 0x00,
1431 0x00,
1432 0x40,
1433 0x00,
1434 0x00,
1435 0x40,
1436 0xC0,
1437 0x40,
1438 0x40,
1439 0x40,
1440 0x40,
1441 0xE0,
1442 0x00,
1443 0x00,
1444 0x00,
1445 0x00,
1446 0x00,
1447 0x00,
1448 0x00,
1449 0x00,
1450 0x40,
1451 0x00,
1452 0x00,
1453 0x40,
1454 0xC0,
1455 0x40,
1456 0x40,
1457 0x40,
1458 0x40,
1459 0x40,
1460 0x40,
1461 0x40,
1462 0x80,
1463 0x00,
1464 0x00,
1465 0x00,
1466 0x00,
1467 0x00,
1468 0x40,
1469 0xC0,
1470 0x40,
1471 0x4E,
1472 0x48,
1473 0x50,
1474 0x70,
1475 0x48,
1476 0x44,
1477 0xEE,
1478 0x00,
1479 0x00,
1480 0x00,
1481 0x00,
1482 0x00,
1483 0x00,
1484 0x00,
1485 0x00,
1486 0x40,
1487 0xC0,
1488 0x40,
1489 0x40,
1490 0x40,
1491 0x40,
1492 0x40,
1493 0x40,
1494 0x40,
1495 0xE0,
1496 0x00,
1497 0x00,
1498 0x00,
1499 0x00,0x00,
1500 0x00,0x00,
1501 0x00,0x00,
1502 0x00,0x00,
1503 0x00,0x00,
1504 0x00,0x00,
1505 0x00,0x00,
1506 0x00,0x00,
1507 0x59,0x80,
1508 0xE6,0x40,
1509 0x44,0x40,
1510 0x44,0x40,
1511 0x44,0x40,
1512 0x44,0x40,
1513 0xEE,0xE0,
1514 0x00,0x00,
1515 0x00,0x00,
1516 0x00,0x00,
1517 0x00,
1518 0x00,
1519 0x00,
1520 0x00,
1521 0x00,
1522 0x00,
1523 0x00,
1524 0x00,
1525 0x58,
1526 0xE4,
1527 0x44,
1528 0x44,
1529 0x44,
1530 0x44,
1531 0xEE,
1532 0x00,
1533 0x00,
1534 0x00,
1535 0x00,
1536 0x00,
1537 0x00,
1538 0x00,
1539 0x00,
1540 0x00,
1541 0x00,
1542 0x00,
1543 0x38,
1544 0x44,
1545 0x44,
1546 0x44,
1547 0x44,
1548 0x44,
1549 0x38,
1550 0x00,
1551 0x00,
1552 0x00,
1553 0x00,
1554 0x00,
1555 0x00,
1556 0x00,
1557 0x00,
1558 0x00,
1559 0x00,
1560 0x00,
1561 0x58,
1562 0xE4,
1563 0x44,
1564 0x44,
1565 0x44,
1566 0x64,
1567 0x58,
1568 0x40,
1569 0x40,
1570 0xE0,
1571 0x00,
1572 0x00,
1573 0x00,
1574 0x00,
1575 0x00,
1576 0x00,
1577 0x00,
1578 0x00,
1579 0x34,
1580 0x4C,
1581 0x44,
1582 0x44,
1583 0x44,
1584 0x4C,
1585 0x34,
1586 0x04,
1587 0x04,
1588 0x0E,
1589 0x00,
1590 0x00,
1591 0x00,
1592 0x00,
1593 0x00,
1594 0x00,
1595 0x00,
1596 0x00,
1597 0x58,
1598 0xE0,
1599 0x40,
1600 0x40,
1601 0x40,
1602 0x40,
1603 0xE0,
1604 0x00,
1605 0x00,
1606 0x00,
1607 0x00,
1608 0x00,
1609 0x00,
1610 0x00,
1611 0x00,
1612 0x00,
1613 0x00,
1614 0x00,
1615 0x38,
1616 0x48,
1617 0x40,
1618 0x30,
1619 0x08,
1620 0x48,
1621 0x70,
1622 0x00,
1623 0x00,
1624 0x00,
1625 0x00,
1626 0x00,
1627 0x00,
1628 0x00,
1629 0x00,
1630 0x00,
1631 0x40,
1632 0x40,
1633 0xE0,
1634 0x40,
1635 0x40,
1636 0x40,
1637 0x40,
1638 0x50,
1639 0x60,
1640 0x00,
1641 0x00,
1642 0x00,
1643 0x00,
1644 0x00,
1645 0x00,
1646 0x00,
1647 0x00,
1648 0x00,
1649 0x00,
1650 0x00,
1651 0xCC,
1652 0x44,
1653 0x44,
1654 0x44,
1655 0x44,
1656 0x4E,
1657 0x34,
1658 0x00,
1659 0x00,
1660 0x00,
1661 0x00,
1662 0x00,
1663 0x00,
1664 0x00,
1665 0x00,
1666 0x00,
1667 0x00,
1668 0x00,
1669 0xEE,
1670 0x44,
1671 0x44,
1672 0x28,
1673 0x28,
1674 0x28,
1675 0x10,
1676 0x00,
1677 0x00,
1678 0x00,
1679 0x00,0x00,
1680 0x00,0x00,
1681 0x00,0x00,
1682 0x00,0x00,
1683 0x00,0x00,
1684 0x00,0x00,
1685 0x00,0x00,
1686 0x00,0x00,
1687 0xEE,0xE0,
1688 0x44,0x40,
1689 0x44,0x40,
1690 0x2A,0x80,
1691 0x2A,0x80,
1692 0x33,0x00,
1693 0x11,0x00,
1694 0x00,0x00,
1695 0x00,0x00,
1696 0x00,0x00,
1697 0x00,
1698 0x00,
1699 0x00,
1700 0x00,
1701 0x00,
1702 0x00,
1703 0x00,
1704 0x00,
1705 0xEE,
1706 0x44,
1707 0x28,
1708 0x10,
1709 0x28,
1710 0x44,
1711 0xEE,
1712 0x00,
1713 0x00,
1714 0x00,
1715 0x00,
1716 0x00,
1717 0x00,
1718 0x00,
1719 0x00,
1720 0x00,
1721 0x00,
1722 0x00,
1723 0xEE,
1724 0x44,
1725 0x44,
1726 0x28,
1727 0x28,
1728 0x18,
1729 0x10,
1730 0x10,
1731 0x20,
1732 0xE0,
1733 0x00,
1734 0x00,
1735 0x00,
1736 0x00,
1737 0x00,
1738 0x00,
1739 0x00,
1740 0x00,
1741 0xFC,
1742 0x88,
1743 0x10,
1744 0x20,
1745 0x20,
1746 0x44,
1747 0xFC,
1748 0x00,
1749 0x00,
1750 0x00,
1751 0x00,
1752 0x00,
1753 0x00,
1754 0x00,
1755 0x00,
1756 0x08,
1757 0x10,
1758 0x20,
1759 0x20,
1760 0x20,
1761 0x20,
1762 0x40,
1763 0x20,
1764 0x20,
1765 0x20,
1766 0x20,
1767 0x10,
1768 0x08,
1769 0x00,
1770 0x00,
1771 0x00,
1772 0x00,
1773 0x00,
1774 0x40,
1775 0x40,
1776 0x40,
1777 0x40,
1778 0x40,
1779 0x40,
1780 0x40,
1781 0x40,
1782 0x40,
1783 0x40,
1784 0x40,
1785 0x40,
1786 0x40,
1787 0x00,
1788 0x00,
1789 0x00,
1790 0x00,
1791 0x00,
1792 0x40,
1793 0x20,
1794 0x10,
1795 0x10,
1796 0x10,
1797 0x10,
1798 0x08,
1799 0x10,
1800 0x10,
1801 0x10,
1802 0x10,
1803 0x20,
1804 0x40,
1805 0x00,
1806 0x00,
1807 0x00,
1808 0x00,
1809 0x00,
1810 0x00,
1811 0x00,
1812 0x00,
1813 0x00,
1814 0x00,
1815 0x71,
1816 0x8E,
1817 0x00,
1818 0x00,
1819 0x00,
1820 0x00,
1821 0x00,
1822 0x00,
1823 0x00,
1824 0x00,
1825 0x00,
1826 0x00,
1827 0x00,
1828 0x00,
1829 0x00,
1830 0x00,
1831 0x00,
1832 0x00,
1833 0x00,
1834 0x00,
1835 0x00,
1836 0x00,
1837 0x00,
1838 0x00,
1839 0x00,
1840 0x00
1841 };

时间: 2024-11-05 23:20:03

osd char的相关文章

ceph同步数据过程OSD进程异常退出记录

做的操作: ceph集群扩容了几个节点. 异常现象: ceph集群同步时,总是OSD进程异常的宕掉(同步一段时间数据后). ceph版本:  9.2.1 日志: 7月 25 09:25:57 ceph6 ceph-osd[26051]: 0> 2017-07-25 09:25:57.471502 7f46fe478700 -1 common/HeartbeatMap.cc: In function 'bool ceph::HeartbeatMap::_ch 7月 25 09:25:57 ceph

编译osd lyrics使其可以从虾米下载歌词

1. 下载osd lyrics源代码 可以从https://code.google.com/p/osd-lyrics/downloads/list下载,或者用git: git clone git://github.com/osdlyrics/osdlyrics.git 2. 解压源代码包 tar -zxf osdlyrics-0.4.3.tar.gz mv osdlyrics-0.4.3 osdlyrics cd osdlyrics (如果是用git下载的,直接进入源代码目录) 3. 修改src

DM36x IPNC OSD显示中文 --- 基本数据准备篇

经过上一篇的叙述,基本原理搞清楚后,便需要对我们在OSD上显示中文作数据准备,首先是需要将gb2312关键区(也就是实际有文字存在的区)中的汉字转换为图片,在实际的转换中,并不像上一篇中GB2312编码转换为UNICODE描述一样,使用libiconv库中的iconv函数将94x94的gb2312编码表直接传递给iconv函数会转换失败(错误提示不完整的多字节字符或宽字符).为了简化这其中的转换难度,目前使用的是查表的方法将GB2312编码转换为UNICODE编码,这样就要求先准备好GB2312

OSD(On Screen Display )技术(转)

源:OSD(On Screen Display )技术 OSD 是 On Screen Display 的缩写,是应用在 CRT/LCD 显示器上,在显示器的荧幕中产生一些特殊的 字形或图形,让使用者得到一些讯息.常见于家用电视机或个人 PC 电脑之显示荧幕上,当使用者操作电视机 换台或调整音量.画质等,电视荧幕就会显示目前状态让使用者知道,此控制 IC 可在荧幕上的任何位置显示 一些特殊字形与图形,成为人机界面上重要的讯息产生装置. OSD核心是利用字符发生芯片在显示器的屏幕上显示需要的字符.

ceph集群osd存储盘Input/output erro

描述: ceph集群osd硬盘损坏引起的写入错误. 日志信息: 2017-12-13 03:40:38.596764 7f5e32df2700 -1 filestore(/var/lib/ceph/osd/ceph-44) FileStore::_do_copy_range: write error at 1118208~-5, (5) Input/output error os/filestore/FileStore.cc: In function 'int FileStore::_do_co

C++ String 及其与char[]的比较

在学习C++之前  一般都是学过了C语言了 在C语言中   我们对字符串进行保存操作  使用的是char[] 但是在C++中    string比char[]的使用更为频繁  常见    下面稍微讲一下我对于string的认知 1.与其他的标准库类型一样   用户程序需要使用String类型对象  就必须包含相关的头文件   (为了编写方便   需要提供合适的using声明) #include <string> using std::string; 2.string对象的定义与初始化 stri

string8 string16 char*

jstring ifaceStr, jstring opPackageNameStr String16(opPackageName.c_str()),client, String8(iface.c_str()) 2.  String16 name16 = String16("HellOThEWrolD"); String8 name8 = String8(name16); 3.  string8 -> char* String8& initParam  initParam

C/C++中各种类型int、long、double、char表示范围(最大最小值)(转)

1 #include<iostream> 2 #include<string> 3 #include <limits> 4 using namespace std; 5 6 int main() 7 { 8 cout << "type: \t\t" << "************size**************"<< endl; 9 cout << "bool: \t

ceph集群osd故障修复实例演示

集群安装方式:1: ceph-deploy 方式安装ceph集群,模拟osd磁盘损坏: 分别采用如下两种方式修复: 1:使用ceph-deploy 方式修复故障osd: 2:手动修复故障osd: #######使用ceph-deploy方式修复过程演示######## 1:停止osd/etc/init.d/ceph stop osd.3 2:查看osd磁盘挂载情况:[[email protected] ceph]# lsblk NAME   MAJ:MIN RM  SIZE RO TYPE MO