Lines Matching refs:data_kind
482 rs_data_type data_type, rs_data_kind data_kind) { in rsCreatePixelElement() argument
492 if (data_kind != RS_KIND_PIXEL_L && in rsCreatePixelElement()
493 data_kind != RS_KIND_PIXEL_A && in rsCreatePixelElement()
494 data_kind != RS_KIND_PIXEL_LA && in rsCreatePixelElement()
495 data_kind != RS_KIND_PIXEL_RGB && in rsCreatePixelElement()
496 data_kind != RS_KIND_PIXEL_RGBA && in rsCreatePixelElement()
497 data_kind != RS_KIND_PIXEL_DEPTH && in rsCreatePixelElement()
498 data_kind != RS_KIND_PIXEL_YUV) { in rsCreatePixelElement()
503 if (data_type == RS_TYPE_UNSIGNED_5_6_5 && data_kind != RS_KIND_PIXEL_RGB) { in rsCreatePixelElement()
504 rsDebug("Bad data_type and data_kind combo", data_type, data_kind); in rsCreatePixelElement()
508 data_kind != RS_KIND_PIXEL_RGBA) { in rsCreatePixelElement()
510 rsDebug("Bad data_type and data_kind combo", data_type, data_kind); in rsCreatePixelElement()
514 data_kind != RS_KIND_PIXEL_RGBA) { in rsCreatePixelElement()
516 rsDebug("Bad data_type and data_kind combo", data_type, data_kind); in rsCreatePixelElement()
519 if (data_type == RS_TYPE_UNSIGNED_16 && data_kind != RS_KIND_PIXEL_DEPTH) { in rsCreatePixelElement()
520 rsDebug("Bad data_type and data_kind combo", data_type, data_kind); in rsCreatePixelElement()
525 switch (data_kind) { in rsCreatePixelElement()
542 return rsCreateElement(data_type, data_kind, true, vector_width); in rsCreatePixelElement()