Home
last modified time | relevance | path

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

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