Lines Matching refs:transform

105 static int rgz_get_orientation(unsigned int transform);
106 static int rgz_get_flip_flags(unsigned int transform, int use_src2_flags);
242 l->compositionType, l->flags, l->handle, l->transform, l->blending, in dump_layer()
352 srcgeom->orientation = rgz_get_orientation(hwc_layer->transform); in rgz_set_src_data()
354 if (hwc_layer->transform & HAL_TRANSFORM_ROT_90) in rgz_set_src_data()
424 e->bp.flags |= rgz_get_flip_flags(hwc_src1->transform, 0); in rgz_hwc_subregion_copy()
459 e->bp.flags |= rgz_get_flip_flags(hwc_src1->transform, 0); in rgz_hwc_subregion_blend()
481 e->bp.flags |= rgz_get_flip_flags(hwc_src2->transform, 1); in rgz_hwc_subregion_blend()
596 if (layer->transform & HWC_TRANSFORM_ROT_90) in getscalew()
607 if (layer->transform & HWC_TRANSFORM_ROT_90) in getscaleh()
744 if (layer->transform & HWC_TRANSFORM_ROT_90) in rgz_hwc_scaled()
763 if (layer->transform) { in rgz_in_valid_hwc_layer()
764 …int is_flipped = !!(layer->transform & HWC_TRANSFORM_FLIP_H) ^ !!(layer->transform & HWC_TRANSFORM… in rgz_in_valid_hwc_layer()
766 ALOGE("Layer %p is flipped %d", layer, layer->transform); in rgz_in_valid_hwc_layer()
1038 l->transform & HWC_TRANSFORM_ROT_90 ? "90" : in rgz_print_layer()
1039 l->transform & HWC_TRANSFORM_ROT_180 ? "180" : in rgz_print_layer()
1040 l->transform & HWC_TRANSFORM_ROT_270 ? "270" : "none"); in rgz_print_layer()
1043 strcat(flip, l->transform & HWC_TRANSFORM_FLIP_H ? "H" : ""); in rgz_print_layer()
1044 strcat(flip, l->transform & HWC_TRANSFORM_FLIP_V ? "V" : ""); in rgz_print_layer()
1045 if (!(l->transform & (HWC_TRANSFORM_FLIP_V|HWC_TRANSFORM_FLIP_H))) in rgz_print_layer()
1171 static int rgz_get_orientation(unsigned int transform) in rgz_get_orientation() argument
1174 if ((transform & HWC_TRANSFORM_FLIP_H) && (transform & HWC_TRANSFORM_FLIP_V)) in rgz_get_orientation()
1176 if (transform & HWC_TRANSFORM_ROT_90) in rgz_get_orientation()
1182 static int rgz_get_flip_flags(unsigned int transform, int use_src2_flags) in rgz_get_flip_flags() argument
1189 if (transform & HWC_TRANSFORM_FLIP_H) in rgz_get_flip_flags()
1191 if (transform & HWC_TRANSFORM_FLIP_V) in rgz_get_flip_flags()
1242 if (layer->transform & HAL_TRANSFORM_ROT_90) in rgz_get_src_rect()
1255 switch(layer->transform) { in rgz_get_src_rect()
1273 OUTE("Invalid transform value %d", layer->transform); in rgz_get_src_rect()