| 574 | |
| 575 | |
| 576 | PF *pf_get(int id) |
| 577 | { |
| 578 | switch(id) |
| 579 | { |
| 580 | case PF_RGB: return &__format_RGB; |
| 581 | case PF_RGBX: return &__format_RGBX; |
| 582 | case PF_RGB10_X2: return &__format_RGB10_X2; |
| 583 | case PF_BGR: return &__format_BGR; |
| 584 | case PF_BGRX: return &__format_BGRX; |
| 585 | case PF_BGR10_X2: return &__format_BGR10_X2; |
| 586 | case PF_XBGR: return &__format_XBGR; |
| 587 | case PF_X2_BGR10: return &__format_X2_BGR10; |
| 588 | case PF_XRGB: return &__format_XRGB; |
| 589 | case PF_X2_RGB10: return &__format_X2_RGB10; |
| 590 | case PF_COMP: return &__format_COMP; |
| 591 | default: return &__format_NONE; |
| 592 | } |
| 593 | } |
no outgoing calls