Home
last modified time | relevance | path

Searched refs:u32_y_inc (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/libvideoeditor/vss/video_filters/src/
DM4VIFI_ResizeYUVtoBGR565.c69 M4VIFI_UInt32 u32_x_inc[PLANES], u32_y_inc[PLANES]; in M4VIFI_ResizeBilinearYUV420toBGR565() local
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()
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()
168 u32_y_inc[VPlane] = u32_y_inc[UPlane]; in M4VIFI_ResizeBilinearYUV420toBGR565()
175 if (u32_y_inc[YPlane] > MAX_SHORT) in M4VIFI_ResizeBilinearYUV420toBGR565()
181 u32_y_accum_Y = u32_y_inc[YPlane] & 0xffff; in M4VIFI_ResizeBilinearYUV420toBGR565()
182 u32_y_accum_U = u32_y_inc[UPlane] & 0xffff; in M4VIFI_ResizeBilinearYUV420toBGR565()
247 u32_rgb_temp3 = u32_y_accum_Y + (u32_y_inc[YPlane]); in M4VIFI_ResizeBilinearYUV420toBGR565()
[all …]
DM4VIFI_ResizeYUVtoRGB565.c72 M4VIFI_UInt32 u32_x_inc[PLANES], u32_y_inc[PLANES]; in M4VIFI_ResizeBilinearYUV420toRGB565() local
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()
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()
172 u32_y_inc[VPlane] = u32_y_inc[UPlane]; in M4VIFI_ResizeBilinearYUV420toRGB565()
179 if (u32_y_inc[YPlane] > MAX_SHORT) in M4VIFI_ResizeBilinearYUV420toRGB565()
185 u32_y_accum_Y = u32_y_inc[YPlane] & 0xffff; in M4VIFI_ResizeBilinearYUV420toRGB565()
186 u32_y_accum_U = u32_y_inc[UPlane] & 0xffff; in M4VIFI_ResizeBilinearYUV420toRGB565()
251 u32_rgb_temp3 = u32_y_accum_Y + (u32_y_inc[YPlane]); in M4VIFI_ResizeBilinearYUV420toRGB565()
[all …]
DM4VIFI_ResizeRGB888toRGB888.c66 M4VIFI_UInt32 u32_x_inc, u32_y_inc; in M4VIFI_ResizeBilinearRGB888toRGB888() local
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()
138 u32_y_accum = u32_y_inc & 0xffff; in M4VIFI_ResizeBilinearRGB888toRGB888()
267 u32_y_accum += u32_y_inc; in M4VIFI_ResizeBilinearRGB888toRGB888()
DM4VIFI_ResizeRGB565toRGB565.c53 M4VIFI_UInt32 u32_x_inc, u32_y_inc; in M4VIFI_ResizeBilinearRGB565toRGB565() local
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()
116 u32_y_accum = u32_y_inc & 0xffff; in M4VIFI_ResizeBilinearRGB565toRGB565()
245 u32_y_accum += u32_y_inc; in M4VIFI_ResizeBilinearRGB565toRGB565()
/frameworks/av/libvideoeditor/vss/src/
DM4AIR_API.c80 M4OSA_UInt32 u32_y_inc[4]; /**< ratio between input and ouput height for YUV */ member
295 pC->u32_y_inc[i] = ((u32_height_in - 1) * 0x10000) / (u32_height_out-1); in M4AIR_configure()
299 pC->u32_y_inc[i] = (u32_height_in * 0x10000) / (u32_height_out); in M4AIR_configure()
306 if (pC->u32_y_inc[i] >= 0x10000) in M4AIR_configure()
312 pC->u32_y_accum_start[i] = pC->u32_y_inc[i] & 0xffff; in M4AIR_configure()
675 pC->u32_y_accum[i] += pC->u32_y_inc[i]; in M4AIR_get()
720 u32_y_accum += pC->u32_y_inc[i]; in M4AIR_get()
750 u32_y_accum += pC->u32_y_inc[i]; in M4AIR_get()
845 pC->u32_y_accum[i] += pC->u32_y_inc[i]; in M4AIR_get()
893 u32_y_accum += pC->u32_y_inc[i]; in M4AIR_get()
[all …]
/frameworks/av/libvideoeditor/lvpp/
DVideoEditorTools.cpp1449 M4VIFI_UInt32 u32_x_inc, u32_y_inc; in M4VIFI_ResizeBilinearYUV420toYUV420() local
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()
1555 u32_y_accum = u32_y_inc & 0xffff; in M4VIFI_ResizeBilinearYUV420toYUV420()
1644 u32_y_accum += u32_y_inc; in M4VIFI_ResizeBilinearYUV420toYUV420()
1979 M4OSA_UInt32 u32_y_inc[4]; /**< ratio between input and ouput height for YUV */ member
2180 pC->u32_y_inc[i] = ((u32_height_in - 1) * 0x10000) / (u32_height_out-1); in M4AIR_configure()
2184 pC->u32_y_inc[i] = (u32_height_in * 0x10000) / (u32_height_out); in M4AIR_configure()
2191 if (pC->u32_y_inc[i] >= 0x10000) in M4AIR_configure()
[all …]