Lines Matching refs:rhs
494 const struct copybit_image_t *rhs, in set_image() argument
497 struct private_handle_t* handle = (struct private_handle_t*)rhs->handle; in set_image()
505 c2d_format = get_c2d_format_for_yuv_destination(rhs->format); in set_image()
507 c2d_format = get_format(rhs->format); in set_image()
531 if(is_supported_rgb_format(rhs->format) == COPYBIT_SUCCESS) { in set_image()
542 surfaceDef.width = rhs->w; in set_image()
543 surfaceDef.height = rhs->h; in set_image()
553 } else if (is_supported_yuv_format(rhs->format) == COPYBIT_SUCCESS) { in set_image()
560 info.width = rhs->w; in set_image()
561 info.height = rhs->h; in set_image()
562 info.format = rhs->format; in set_image()
571 surfaceDef.width = rhs->w; in set_image()
572 surfaceDef.height = rhs->h; in set_image()
580 if (3 == get_num_planes(rhs->format)) { in set_image()
593 ALOGE("%s: invalid format 0x%x", __FUNCTION__, rhs->format); in set_image()
1033 struct copybit_image_t const *rhs, in copy_image() argument
1043 switch(rhs->format) { in copy_image()
1049 return convert_yuv_c2d_to_yuv_android(src_handle, rhs); in copy_image()
1051 return convert_yuv_android_to_yuv_c2d(src_handle, rhs); in copy_image()
1056 ALOGE("%s: invalid format 0x%x", __FUNCTION__, rhs->format); in copy_image()