Searched refs:MAX_SHORT (Results 1 - 7 of 7) sorted by relevance

/frameworks/av/libvideoeditor/vss/video_filters/src/
H A DM4VIFI_ResizeRGB565toRGB565.c95 u32_x_inc = ((u32_width_in-1) * MAX_SHORT) / (u32_width_out-1);
97 u32_x_inc = (u32_width_in * MAX_SHORT) / (u32_width_out);
102 u32_y_inc = ((u32_height_in - 1) * MAX_SHORT) / (u32_height_out-1);
104 u32_y_inc = (u32_height_in * MAX_SHORT) / (u32_height_out);
111 if (u32_y_inc >= MAX_SHORT) {
120 u32_y_accum = MAX_SHORT;
132 if (u32_x_inc >= MAX_SHORT) {
136 u32_x_accum_start = MAX_SHORT;
H A DM4VIFI_ResizeRGB888toRGB888.c111 u32_x_inc = ((u32_width_in-1) * MAX_SHORT) / (u32_width_out-1);
115 u32_x_inc = (u32_width_in * MAX_SHORT) / (u32_width_out);
121 u32_y_inc = ((u32_height_in - 1) * MAX_SHORT) / (u32_height_out-1);
125 u32_y_inc = (u32_height_in * MAX_SHORT) / (u32_height_out);
132 if (u32_y_inc >= MAX_SHORT)
142 u32_y_accum = MAX_SHORT;
157 if (u32_x_inc >= MAX_SHORT)
163 u32_x_accum_start = MAX_SHORT;
H A DM4VIFI_ResizeYUVtoBGR565.c130 u32_x_inc[YPlane] = ((u32_width_in[YPlane]-1) * MAX_SHORT) / (u32_width_out-1);
134 u32_x_inc[YPlane] = (u32_width_in[YPlane] * MAX_SHORT) / (u32_width_out);
140 u32_y_inc[YPlane] = ((u32_height_in[YPlane]-1) * MAX_SHORT) / (u32_height_out-1);
144 u32_y_inc[YPlane] = (u32_height_in[YPlane] * MAX_SHORT) / (u32_height_out);
150 u32_x_inc[UPlane] = ((u32_width_in[UPlane]-1) * MAX_SHORT) / (u32_width2_RGB-1);
154 u32_x_inc[UPlane] = (u32_width_in[UPlane] * MAX_SHORT) / (u32_width2_RGB);
161 u32_y_inc[UPlane] = ((u32_height_in[UPlane]-1) * MAX_SHORT) / (u32_height2_RGB-1);
165 u32_y_inc[UPlane] = (u32_height_in[UPlane] * MAX_SHORT) / (u32_height2_RGB);
175 if (u32_y_inc[YPlane] > MAX_SHORT)
186 u32_y_accum_Y = MAX_SHORT;
[all...]
H A DM4VIFI_ResizeYUVtoRGB565.c134 u32_x_inc[YPlane] = ((u32_width_in[YPlane]-1) * MAX_SHORT) / (u32_width_out-1);
138 u32_x_inc[YPlane] = (u32_width_in[YPlane] * MAX_SHORT) / (u32_width_out);
144 u32_y_inc[YPlane] = ((u32_height_in[YPlane]-1) * MAX_SHORT) / (u32_height_out-1);
148 u32_y_inc[YPlane] = (u32_height_in[YPlane] * MAX_SHORT) / (u32_height_out);
154 u32_x_inc[UPlane] = ((u32_width_in[UPlane]-1) * MAX_SHORT) / (u32_width2_RGB-1);
158 u32_x_inc[UPlane] = (u32_width_in[UPlane] * MAX_SHORT) / (u32_width2_RGB);
165 u32_y_inc[UPlane] = ((u32_height_in[UPlane]-1) * MAX_SHORT) / (u32_height2_RGB-1);
169 u32_y_inc[UPlane] = (u32_height_in[UPlane] * MAX_SHORT) / (u32_height2_RGB);
179 if (u32_y_inc[YPlane] > MAX_SHORT)
190 u32_y_accum_Y = MAX_SHORT;
[all...]
H A DM4VFL_transition.c267 #ifndef MAX_SHORT
268 #define MAX_SHORT 0x10000 macro
384 u32_blend_inc = ((u32_rangeA-1) * MAX_SHORT) / (u32_width - 1);
388 u32_blend_inc = (u32_rangeA * MAX_SHORT) / (u32_width);
/frameworks/av/libvideoeditor/vss/common/inc/
H A DM4VIFI_Defines.h147 #ifndef MAX_SHORT
148 #define MAX_SHORT 0x10000 macro
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorTools.cpp1517 u32_x_inc = ((u32_width_in-1) * MAX_SHORT) / (u32_width_out-1);
1521 u32_x_inc = (u32_width_in * MAX_SHORT) / (u32_width_out);
1537 u32_y_inc = ((u32_height_in - 1) * MAX_SHORT) / (u32_height_out-1);
1541 u32_y_inc = (u32_height_in * MAX_SHORT) / (u32_height_out);
1549 if (u32_y_inc >= MAX_SHORT)
1559 u32_y_accum = MAX_SHORT;
1575 if (u32_x_inc >= MAX_SHORT)
1581 u32_x_accum_start = MAX_SHORT;

Completed in 123 milliseconds