/frameworks/media/libvideoeditor/vss/mcs/src/ |
D | M4MCS_VideoPreProcessing.c | 71 M4VIFI_ImagePlane* pPlaneOut) in M4MCS_intApplyVPP() argument 93 memset((void *)pPlaneOut[0].pac_data,Y_PLANE_BORDER_VALUE, in M4MCS_intApplyVPP() 94 (pPlaneOut[0].u_height*pPlaneOut[0].u_stride)); in M4MCS_intApplyVPP() 95 memset((void *)pPlaneOut[1].pac_data,U_PLANE_BORDER_VALUE, in M4MCS_intApplyVPP() 96 (pPlaneOut[1].u_height*pPlaneOut[1].u_stride)); in M4MCS_intApplyVPP() 97 memset((void *)pPlaneOut[2].pac_data,V_PLANE_BORDER_VALUE, in M4MCS_intApplyVPP() 98 (pPlaneOut[2].u_height*pPlaneOut[2].u_stride)); in M4MCS_intApplyVPP() 106 memset((void *)pPlaneOut[0].pac_data,0, in M4MCS_intApplyVPP() 107 pPlaneOut[0].u_stride * pPlaneOut[0].u_height); in M4MCS_intApplyVPP() 108 memset((void *)pPlaneOut[1].pac_data,0, in M4MCS_intApplyVPP() [all …]
|
/frameworks/media/libvideoeditor/vss/video_filters/src/ |
D | M4VIFI_BGR565toYUV420.c | 54 M4VIFI_ImagePlane *pPlaneOut) in M4VIFI_BGR565toYUV420() argument 73 if( (pPlaneIn->u_height != pPlaneOut[0].u_height) || in M4VIFI_BGR565toYUV420() 74 (pPlaneOut[0].u_height != (pPlaneOut[1].u_height<<1)) || in M4VIFI_BGR565toYUV420() 75 (pPlaneOut[0].u_height != (pPlaneOut[2].u_height<<1))) in M4VIFI_BGR565toYUV420() 81 if( (pPlaneIn->u_width != pPlaneOut[0].u_width) || in M4VIFI_BGR565toYUV420() 82 (pPlaneOut[0].u_width != (pPlaneOut[1].u_width<<1)) || in M4VIFI_BGR565toYUV420() 83 (pPlaneOut[0].u_width != (pPlaneOut[2].u_width<<1))) in M4VIFI_BGR565toYUV420() 89 pu8_y_data = pPlaneOut[0].pac_data + pPlaneOut[0].u_topleft; in M4VIFI_BGR565toYUV420() 90 pu8_u_data = pPlaneOut[1].pac_data + pPlaneOut[1].u_topleft; in M4VIFI_BGR565toYUV420() 91 pu8_v_data = pPlaneOut[2].pac_data + pPlaneOut[2].u_topleft; in M4VIFI_BGR565toYUV420() [all …]
|
D | M4VIFI_RGB565toYUV420.c | 55 M4VIFI_ImagePlane *pPlaneOut) in M4VIFI_RGB565toYUV420() argument 74 if ((pPlaneIn->u_height != pPlaneOut[0].u_height) || in M4VIFI_RGB565toYUV420() 75 (pPlaneOut[0].u_height != (pPlaneOut[1].u_height<<1)) || in M4VIFI_RGB565toYUV420() 76 (pPlaneOut[0].u_height != (pPlaneOut[2].u_height<<1))) in M4VIFI_RGB565toYUV420() 82 if ((pPlaneIn->u_width != pPlaneOut[0].u_width) || in M4VIFI_RGB565toYUV420() 83 (pPlaneOut[0].u_width != (pPlaneOut[1].u_width<<1)) || in M4VIFI_RGB565toYUV420() 84 (pPlaneOut[0].u_width != (pPlaneOut[2].u_width<<1))) in M4VIFI_RGB565toYUV420() 90 pu8_y_data = pPlaneOut[0].pac_data + pPlaneOut[0].u_topleft; in M4VIFI_RGB565toYUV420() 91 pu8_u_data = pPlaneOut[1].pac_data + pPlaneOut[1].u_topleft; in M4VIFI_RGB565toYUV420() 92 pu8_v_data = pPlaneOut[2].pac_data + pPlaneOut[2].u_topleft; in M4VIFI_RGB565toYUV420() [all …]
|
D | M4VFL_transition.c | 283 M4ViComImagePlane *pPlaneOut, in M4VIFI_ImageBlendingonYUV420() argument 304 (IS_EVEN(pPlaneOut[0].u_height) == FALSE) || in M4VIFI_ImageBlendingonYUV420() 305 (pPlaneIn1[0].u_height != pPlaneOut[0].u_height) || in M4VIFI_ImageBlendingonYUV420() 306 (pPlaneIn2[0].u_height != pPlaneOut[0].u_height) ) in M4VIFI_ImageBlendingonYUV420() 314 (IS_EVEN(pPlaneOut[0].u_width) == FALSE) || in M4VIFI_ImageBlendingonYUV420() 315 (pPlaneIn1[0].u_width != pPlaneOut[0].u_width) || in M4VIFI_ImageBlendingonYUV420() 316 (pPlaneIn2[0].u_width != pPlaneOut[0].u_width) ) in M4VIFI_ImageBlendingonYUV420() 332 pu8_data_Y_start3 = pPlaneOut[0].pac_data + pPlaneOut[0].u_topleft; in M4VIFI_ImageBlendingonYUV420() 333 pu8_data_U_start3 = pPlaneOut[1].pac_data + pPlaneOut[1].u_topleft; in M4VIFI_ImageBlendingonYUV420() 334 pu8_data_V_start3 = pPlaneOut[2].pac_data + pPlaneOut[2].u_topleft; in M4VIFI_ImageBlendingonYUV420() [all …]
|
D | M4VIFI_ResizeYUVtoBGR565.c | 61 M4VIFI_ImagePlane *pPlaneOut) in M4VIFI_ResizeBilinearYUV420toBGR565() argument 98 pPlaneOut->u_height = pPlaneOut->u_height & 0xFFFFFFFE; in M4VIFI_ResizeBilinearYUV420toBGR565() 99 pPlaneOut->u_width = pPlaneOut->u_width & 0xFFFFFFFE; in M4VIFI_ResizeBilinearYUV420toBGR565() 100 pPlaneOut->u_stride = pPlaneOut->u_stride & 0xFFFFFFFC; in M4VIFI_ResizeBilinearYUV420toBGR565() 103 pu8_data_out = pPlaneOut->pac_data + pPlaneOut->u_topleft; in M4VIFI_ResizeBilinearYUV420toBGR565() 105 u32_width_out = pPlaneOut->u_width; in M4VIFI_ResizeBilinearYUV420toBGR565() 107 u32_height_out = pPlaneOut->u_height; in M4VIFI_ResizeBilinearYUV420toBGR565() 109 u32_width2_RGB = pPlaneOut->u_width >> 1; in M4VIFI_ResizeBilinearYUV420toBGR565() 110 u32_height2_RGB = pPlaneOut->u_height >> 1; in M4VIFI_ResizeBilinearYUV420toBGR565() 112 u32_stride_out = pPlaneOut->u_stride >> 1; in M4VIFI_ResizeBilinearYUV420toBGR565() [all …]
|
D | M4VIFI_ResizeYUVtoRGB565.c | 64 M4VIFI_ImagePlane *pPlaneOut) in M4VIFI_ResizeBilinearYUV420toRGB565() argument 101 pPlaneOut->u_height = pPlaneOut->u_height & 0xFFFFFFFE; in M4VIFI_ResizeBilinearYUV420toRGB565() 102 pPlaneOut->u_width = pPlaneOut->u_width & 0xFFFFFFFE; in M4VIFI_ResizeBilinearYUV420toRGB565() 103 pPlaneOut->u_stride = pPlaneOut->u_stride & 0xFFFFFFFC; in M4VIFI_ResizeBilinearYUV420toRGB565() 106 pu8_data_out = pPlaneOut->pac_data + pPlaneOut->u_topleft; in M4VIFI_ResizeBilinearYUV420toRGB565() 108 u32_width_out = pPlaneOut->u_width; in M4VIFI_ResizeBilinearYUV420toRGB565() 110 u32_height_out = pPlaneOut->u_height; in M4VIFI_ResizeBilinearYUV420toRGB565() 113 u32_width2_RGB = pPlaneOut->u_width >> 1; in M4VIFI_ResizeBilinearYUV420toRGB565() 114 u32_height2_RGB = pPlaneOut->u_height >> 1; in M4VIFI_ResizeBilinearYUV420toRGB565() 116 u32_stride_out = pPlaneOut->u_stride >> 1; in M4VIFI_ResizeBilinearYUV420toRGB565() [all …]
|
D | M4VIFI_ResizeRGB888toRGB888.c | 60 M4VIFI_ImagePlane *pPlaneOut) in M4VIFI_ResizeBilinearRGB888toRGB888() argument 81 (IS_EVEN(pPlaneOut->u_height) == FALSE)) in M4VIFI_ResizeBilinearRGB888toRGB888() 87 (IS_EVEN(pPlaneOut->u_width) == FALSE)) in M4VIFI_ResizeBilinearRGB888toRGB888() 95 pu8_data_out = (M4VIFI_UInt8*)(pPlaneOut->pac_data + pPlaneOut->u_topleft); in M4VIFI_ResizeBilinearRGB888toRGB888() 99 u32_stride_out = pPlaneOut->u_stride; in M4VIFI_ResizeBilinearRGB888toRGB888() 105 u32_width_out = pPlaneOut->u_width; in M4VIFI_ResizeBilinearRGB888toRGB888() 106 u32_height_out = pPlaneOut->u_height; in M4VIFI_ResizeBilinearRGB888toRGB888()
|
D | M4VIFI_ResizeRGB565toRGB565.c | 47 M4VIFI_ImagePlane *pPlaneOut) in M4VIFI_ResizeBilinearRGB565toRGB565() argument 69 (IS_EVEN(pPlaneOut->u_height) == FALSE)) { in M4VIFI_ResizeBilinearRGB565toRGB565() 74 (IS_EVEN(pPlaneOut->u_width) == FALSE)) { in M4VIFI_ResizeBilinearRGB565toRGB565() 80 pu16_data_out = (M4VIFI_UInt16*)(pPlaneOut->pac_data + pPlaneOut->u_topleft); in M4VIFI_ResizeBilinearRGB565toRGB565() 84 u32_stride_out = pPlaneOut->u_stride; in M4VIFI_ResizeBilinearRGB565toRGB565() 90 u32_width_out = pPlaneOut->u_width; in M4VIFI_ResizeBilinearRGB565toRGB565() 91 u32_height_out = pPlaneOut->u_height; in M4VIFI_ResizeBilinearRGB565toRGB565()
|
/frameworks/media/libvideoeditor/vss/common/inc/ |
D | M4VIFI_FiltersAPI.h | 189 M4VIFI_ImagePlane *pPlaneIn, M4VIFI_ImagePlane *pPlaneOut); 191 M4VIFI_ImagePlane *pPlaneIn, M4VIFI_ImagePlane *pPlaneOut); 193 M4VIFI_ImagePlane *pPlaneIn, M4VIFI_ImagePlane *pPlaneOut); 195 M4VIFI_ImagePlane *pPlaneIn, M4VIFI_ImagePlane *pPlaneOut); 197 M4VIFI_ImagePlane *pPlaneIn, M4VIFI_ImagePlane *pPlaneOut); 199 M4VIFI_ImagePlane *pPlaneIn, M4VIFI_ImagePlane *pPlaneOut); 201 M4VIFI_ImagePlane *pPlaneIn, M4VIFI_ImagePlane *pPlaneOut); 203 M4VIFI_ImagePlane *pPlaneIn, M4VIFI_ImagePlane *pPlaneOut); 205 M4VIFI_ImagePlane *pPlaneIn, M4VIFI_ImagePlane *pPlaneOut); 207 M4VIFI_ImagePlane *pPlaneIn, M4VIFI_ImagePlane *pPlaneOut); [all …]
|
D | M4VPP_API.h | 76 M4VIFI_ImagePlane* pPlaneOut); 109 M4VIFI_ImagePlane* pPlaneOut);
|
D | M4VFL_transition.h | 96 M4ViComImagePlane *pPlaneOut, UInt32 Progress);
|
/frameworks/media/libvideoeditor/vss/src/ |
D | M4VIFI_xVSS_RGB565toYUV420.c | 55 M4VIFI_ImagePlane *pPlaneOut) in M4VIFI_xVSS_RGB565toYUV420() argument 75 if( (pPlaneIn->u_height != pPlaneOut[0].u_height) || in M4VIFI_xVSS_RGB565toYUV420() 76 (pPlaneOut[0].u_height != (pPlaneOut[1].u_height<<1)) || in M4VIFI_xVSS_RGB565toYUV420() 77 (pPlaneOut[0].u_height != (pPlaneOut[2].u_height<<1))) in M4VIFI_xVSS_RGB565toYUV420() 83 if( (pPlaneIn->u_width != pPlaneOut[0].u_width) || in M4VIFI_xVSS_RGB565toYUV420() 84 (pPlaneOut[0].u_width != (pPlaneOut[1].u_width<<1)) || in M4VIFI_xVSS_RGB565toYUV420() 85 (pPlaneOut[0].u_width != (pPlaneOut[2].u_width<<1))) in M4VIFI_xVSS_RGB565toYUV420() 91 pu8_y_data = pPlaneOut[0].pac_data + pPlaneOut[0].u_topleft; in M4VIFI_xVSS_RGB565toYUV420() 92 pu8_u_data = pPlaneOut[1].pac_data + pPlaneOut[1].u_topleft; in M4VIFI_xVSS_RGB565toYUV420() 93 pu8_v_data = pPlaneOut[2].pac_data + pPlaneOut[2].u_topleft; in M4VIFI_xVSS_RGB565toYUV420() [all …]
|
D | M4PTO3GPP_VideoPreProcessing.c | 61 M4VIFI_ImagePlane* pPlaneOut) in M4PTO3GPP_applyVPP() argument 83 err = pC->m_Params.pPictureCallbackFct(pC->m_Params.pPictureCallbackCtxt, pPlaneOut, in M4PTO3GPP_applyVPP() 106 pC->pSavedPlane = pPlaneOut; /* Save the last YUV plane ptr */ in M4PTO3GPP_applyVPP() 122 memcpy((void *)pPlaneOut[i].pac_data, in M4PTO3GPP_applyVPP() 124 pPlaneOut[i].u_stride * pPlaneOut[i].u_height); in M4PTO3GPP_applyVPP()
|
D | M4VSS3GPP_EditVideo.c | 69 M4VIFI_ImagePlane *pPlaneOut, M4OSA_Bool bSkipFramingEffect); 73 M4VIFI_ImagePlane *pPlaneOut ); 106 M4VIFI_ImagePlane *pPlaneOut); 117 M4VIFI_ImagePlane *pPlaneOut); 1063 M4VIFI_ImagePlane *pPlaneOut ) in M4VSS3GPP_intVPP() argument 1096 memset((void *)pPlaneOut[0].pac_data,0, in M4VSS3GPP_intVPP() 1097 pPlaneOut[0].u_stride * pPlaneOut[0].u_height); in M4VSS3GPP_intVPP() 1098 memset((void *)pPlaneOut[1].pac_data,0, in M4VSS3GPP_intVPP() 1099 pPlaneOut[1].u_stride * pPlaneOut[1].u_height); in M4VSS3GPP_intVPP() 1100 memset((void *)pPlaneOut[2].pac_data,0, in M4VSS3GPP_intVPP() [all …]
|
D | M4xVSS_internal.c | 54 M4VIFI_ImagePlane *pPlaneOut); 4014 M4VIFI_ImagePlane *pPlaneOut, in M4VSS3GPP_externalVideoEffectFifties() argument 4030 M4OSA_DEBUG_IF2((pPlaneOut == M4OSA_NULL),M4ERR_PARAMETER, in M4VSS3GPP_externalVideoEffectFifties() 4037 pOutY = pPlaneOut[0].pac_data; in M4VSS3GPP_externalVideoEffectFifties() 4062 pOutCr = pPlaneOut[plane_number].pac_data + pPlaneOut[plane_number].u_topleft; in M4VSS3GPP_externalVideoEffectFifties() 4064 for (x = 0; x < pPlaneOut[plane_number].u_height; x++) in M4VSS3GPP_externalVideoEffectFifties() 4072 pOutCr += pPlaneOut[plane_number].u_stride; in M4VSS3GPP_externalVideoEffectFifties() 4114 pOutY += pPlaneOut[0].u_stride; in M4VSS3GPP_externalVideoEffectFifties()
|
/frameworks/media/libvideoeditor/lvpp/ |
D | VideoEditorTools.cpp | 739 M4VIFI_ImagePlane *pPlaneOut, M4VSS3GPP_ExternalProgress *pProgress, in M4VSS3GPP_externalVideoEffectFifties() argument 753 pOutY = pPlaneOut[0].pac_data; in M4VSS3GPP_externalVideoEffectFifties() 777 pOutCr = pPlaneOut[plane_number].pac_data + pPlaneOut[plane_number].u_topleft; in M4VSS3GPP_externalVideoEffectFifties() 779 for (x = 0; x < pPlaneOut[plane_number].u_height; x++) in M4VSS3GPP_externalVideoEffectFifties() 787 pOutCr += pPlaneOut[plane_number].u_stride; in M4VSS3GPP_externalVideoEffectFifties() 827 pOutY += pPlaneOut[0].u_stride; in M4VSS3GPP_externalVideoEffectFifties() 1083 M4VIFI_ImagePlane *pPlaneOut) in M4VIFI_xVSS_RGB565toYUV420() argument 1103 if( (pPlaneIn->u_height != pPlaneOut[0].u_height) || in M4VIFI_xVSS_RGB565toYUV420() 1104 (pPlaneOut[0].u_height != (pPlaneOut[1].u_height<<1)) || in M4VIFI_xVSS_RGB565toYUV420() 1105 (pPlaneOut[0].u_height != (pPlaneOut[2].u_height<<1))) in M4VIFI_xVSS_RGB565toYUV420() [all …]
|
D | VideoEditorTools.h | 81 … M4OSA_Void *pUserData, M4VIFI_ImagePlane *pPlaneIn, M4VIFI_ImagePlane *pPlaneOut, M4VSS3GPP_Exter… 87 M4VIFI_ImagePlane *pPlaneOut); 96 M4OSA_ERR applyRenderingMode(M4VIFI_ImagePlane* pPlaneIn, M4VIFI_ImagePlane* pPlaneOut, M4xVSS_Medi… 102 M4VIFI_ImagePlane *pPlaneOut); 143 M4VIFI_ImagePlane *pPlaneIn, M4VIFI_ImagePlane *pPlaneOut); 146 M4VIFI_ImagePlane *pPlaneIn, M4VIFI_ImagePlane *pPlaneOut); 149 M4VIFI_ImagePlane *pPlaneIn, M4VIFI_ImagePlane *pPlaneOut);
|
/frameworks/media/libvideoeditor/vss/inc/ |
D | M4PTO3GPP_InternalTypes.h | 215 M4VIFI_ImagePlane* pPlaneOut);
|
D | M4xVSS_API.h | 469 M4VIFI_ImagePlane *pPlaneOut,
|
D | M4VSS3GPP_InternalFunctions.h | 644 M4VIFI_ImagePlane* pPlaneOut);
|
/frameworks/media/libvideoeditor/vss/mcs/inc/ |
D | M4MCS_InternalFunctions.h | 53 M4VIFI_ImagePlane* pPlaneOut);
|