/frameworks/av/libvideoeditor/vss/common/inc/ |
M4VIFI_FiltersAPI.h | 44 typedef unsigned char M4VIFI_UInt8; 104 M4VIFI_UInt8 *pac_data; /**< Pointer to the data */ 188 M4VIFI_UInt8 M4VIFI_SepiaYUV420toYUV420(void *pUserData, 190 M4VIFI_UInt8 M4VIFI_GrayscaleYUV420toYUV420(void *pUserData, 192 M4VIFI_UInt8 M4VIFI_ContrastYUV420toYUV420(void *pUserData, 194 M4VIFI_UInt8 M4VIFI_NegativeYUV420toYUV420(void *pUserData, 196 M4VIFI_UInt8 M4VIFI_FlipYUV420toYUV420(void *pUserData, 198 M4VIFI_UInt8 M4VIFI_MirrorYUV420toYUV420(void *pUserData, 200 M4VIFI_UInt8 M4VIFI_Rotate180YUV420toYUV420(void *pUserData, 202 M4VIFI_UInt8 M4VIFI_Rotate90RightYUV420toYUV420(void *pUserData [all...] |
M4VIFI_Clip.h | 28 EXTERN CNST M4VIFI_UInt8 *M4VIFI_ClipTable_zero;
|
M4VIFI_Defines.h | 71 #define PACK_BGR24(rgb_ptr,Rx,Gx,Bx) {rgb_ptr[0] = (M4VIFI_UInt8)Bx; rgb_ptr[1] =\ 72 (M4VIFI_UInt8)Gx; rgb_ptr[2] = (M4VIFI_UInt8)Rx;} 73 #define PACK_RGB24(rgb_ptr,Rx,Gx,Bx) {rgb_ptr[0] = (M4VIFI_UInt8)Rx; rgb_ptr[1] =\ 74 (M4VIFI_UInt8)Gx; rgb_ptr[2] = (M4VIFI_UInt8)Bx;} 92 #define GET_RGB565(r, g, b, data) { b = (M4VIFI_UInt8)(((data) & 0x1F00) >> 8); g =\ 93 (M4VIFI_UInt8)((((data) & 0x7) << 3) | (((data) & 0xE000) >> 13)); r =\ 94 (M4VIFI_UInt8)(((data) & 0xF8) >> 3);}
|
/frameworks/av/libvideoeditor/lvpp/ |
VideoEditorTools.h | 54 M4VIFI_UInt8 *vidBuffer; 69 M4VIFI_UInt8* overlayFrameRGBBuffer; 70 M4VIFI_UInt8* overlayFrameYUVBuffer; 73 M4VIFI_UInt8 M4VIFI_YUV420PlanarToYUV420Semiplanar(void *user_data, M4VIFI_ImagePlane *PlaneIn, M4VIFI_ImagePlane *PlaneOut ); 74 M4VIFI_UInt8 M4VIFI_SemiplanarYUV420toYUV420(void *user_data, M4VIFI_ImagePlane *PlaneIn, M4VIFI_ImagePlane *PlaneOut ); 86 M4VIFI_UInt8 M4VIFI_xVSS_RGB565toYUV420(void *pUserData, M4VIFI_ImagePlane *pPlaneIn, 90 M4VIFI_UInt8 M4VIFI_RGB888toYUV420(void *pUserData, M4VIFI_ImagePlane *PlaneIn, M4VIFI_ImagePlane PlaneOut[3]); 99 M4VIFI_UInt8 M4VIFI_YUV420toYUV420(void *user_data, M4VIFI_ImagePlane PlaneIn[3], M4VIFI_ImagePlane *PlaneOut ); 100 M4VIFI_UInt8 M4VIFI_ResizeBilinearYUV420toYUV420(void *pUserData, 105 M4OSA_UInt32 width, M4OSA_UInt32 height, M4VIFI_UInt8 *buffer [all...] |
VideoEditorTools.cpp | 23 const M4VIFI_UInt8 M4VIFI_ClipTable[1256] 267 const M4VIFI_UInt8 *M4VIFI_ClipTable_zero 270 M4VIFI_UInt8 M4VIFI_YUV420PlanarToYUV420Semiplanar(void *user_data, 274 M4VIFI_UInt8 *p_buf_src, *p_buf_dest, *p_buf_src_u, *p_buf_src_v; 275 M4VIFI_UInt8 return_code = M4VIFI_OK; 300 M4VIFI_UInt8 M4VIFI_SemiplanarYUV420toYUV420(void *user_data, 304 M4VIFI_UInt8 *p_buf_src, *p_buf_dest, *p_buf_src_u, *p_buf_src_v; 305 M4VIFI_UInt8 *p_buf_dest_u,*p_buf_dest_v,*p_buf_src_uv; 306 M4VIFI_UInt8 return_code = M4VIFI_OK; 357 M4VIFI_UInt8 *p_buf_src, *p_buf_dest [all...] |
VideoEditorPreviewController.h | 128 M4VIFI_UInt8* mFrameRGBBuffer; 129 M4VIFI_UInt8* mFrameYUVBuffer;
|
PreviewPlayer.h | 235 M4VIFI_UInt8* mFrameRGBBuffer; 236 M4VIFI_UInt8* mFrameYUVBuffer;
|
VideoEditorPreviewController.cpp | 156 M4VIFI_UInt8 *tmp = NULL; 330 tmp = (M4VIFI_UInt8 *)M4OSA_32bitAlignedMalloc(rgbSize, M4VS, 779 (M4OSA_UInt32)outBufferStride, (M4VIFI_UInt8 *)outBuffer); 801 M4VIFI_UInt8 *pixelArray = NULL; [all...] |
/frameworks/av/libvideoeditor/vss/src/ |
M4VIFI_xVSS_RGB565toYUV420.c | 35 * M4VIFI_UInt8 M4VIFI_RGB565toYUV420 (void *pUserData, 54 M4VIFI_UInt8 M4VIFI_xVSS_RGB565toYUV420(void *pUserData, M4VIFI_ImagePlane *pPlaneIn, 68 M4VIFI_UInt8 *pu8_yn, *pu8_ys, *pu8_u, *pu8_v; 69 M4VIFI_UInt8 *pu8_y_data, *pu8_u_data, *pu8_v_data; 70 M4VIFI_UInt8 *pu8_rgbn_data, *pu8_rgbn; 72 M4VIFI_UInt8 count_null=0; 189 pu8_yn[0] = (M4VIFI_UInt8)i32_y00; 190 pu8_yn[1] = (M4VIFI_UInt8)i32_y10; 191 pu8_ys[0] = (M4VIFI_UInt8)i32_y01; 192 pu8_ys[1] = (M4VIFI_UInt8)i32_y11 [all...] |
M4AIR_API.c | 634 u32_temp_value = (M4VIFI_UInt8)(((pu8_src_top[1]*(16-u32_x_frac) + 639 *pu8_data_out++ = (M4VIFI_UInt8)u32_temp_value; 659 u32_temp_value = (M4VIFI_UInt8)(((pu8_src_top[0]*(16-u32_x_frac) + 664 *pu8_data_out++ = (M4VIFI_UInt8)u32_temp_value; 712 u32_temp_value = (M4VIFI_UInt8)(((pu8_src_top[1]*(16-u32_x_frac) + 717 *pu8_data_out++ = (M4VIFI_UInt8)u32_temp_value; 742 u32_temp_value = (M4VIFI_UInt8)(((pu8_src_top[0]*(16-u32_x_frac) + 747 *pu8_data_out++ = (M4VIFI_UInt8)u32_temp_value; 800 u32_temp_value = (M4VIFI_UInt8)(((pu8_src_top[1]*(16-u32_x_frac) + 807 *pu8_data_out++ = (M4VIFI_UInt8)u32_temp_value [all...] |
M4xVSS_internal.c | 53 M4VIFI_UInt8 M4VIFI_xVSS_RGB565toYUV420(void *pUserData, M4VIFI_ImagePlane *pPlaneIn, 323 rgbPlane1.pac_data = (M4VIFI_UInt8*)M4OSA_32bitAlignedMalloc(frameSize, M4VS, 352 rgbPlane2.pac_data = (M4VIFI_UInt8*)M4OSA_32bitAlignedMalloc(frameSize, M4VS, 448 yuvPlane[0].pac_data = (M4VIFI_UInt8*)M4OSA_32bitAlignedMalloc(yuvPlane[0].u_height \ 455 yuvPlane[1].pac_data = (M4VIFI_UInt8*)(yuvPlane[0].pac_data + yuvPlane[0].u_height \ 462 yuvPlane[2].pac_data = (M4VIFI_UInt8*)(yuvPlane[1].pac_data + yuvPlane[1].u_height \ [all...] |
M4VSS3GPP_EditVideo.c | [all...] |
M4VSS3GPP_Edit.c | [all...] |
M4xVSS_API.c | [all...] |
/frameworks/av/libvideoeditor/vss/video_filters/src/ |
M4VIFI_BGR565toYUV420.c | 34 * M4VIFI_UInt8 M4VIFI_BGR565toYUV420 (void *pUserData, M4VIFI_ImagePlane *pPlaneIn, 53 M4VIFI_UInt8 M4VIFI_BGR565toYUV420(void *pUserData, M4VIFI_ImagePlane *pPlaneIn, 67 M4VIFI_UInt8 *pu8_yn, *pu8_ys, *pu8_u, *pu8_v; 68 M4VIFI_UInt8 *pu8_y_data, *pu8_u_data, *pu8_v_data; 69 M4VIFI_UInt8 *pu8_bgrn_data, *pu8_bgrn; 165 pu8_yn[0] = (M4VIFI_UInt8)i32_y00; 166 pu8_yn[1] = (M4VIFI_UInt8)i32_y10; 167 pu8_ys[0] = (M4VIFI_UInt8)i32_y01; 168 pu8_ys[1] = (M4VIFI_UInt8)i32_y11; 171 *pu8_u = (M4VIFI_UInt8)((i32_u00 + i32_u01 + i32_u10 + i32_u11 + 2) >> 2) [all...] |
M4VIFI_RGB565toYUV420.c | 35 * M4VIFI_UInt8 M4VIFI_RGB565toYUV420 (void *pUserData, 54 M4VIFI_UInt8 M4VIFI_RGB565toYUV420(void *pUserData, M4VIFI_ImagePlane *pPlaneIn, 68 M4VIFI_UInt8 *pu8_yn, *pu8_ys, *pu8_u, *pu8_v; 69 M4VIFI_UInt8 *pu8_y_data, *pu8_u_data, *pu8_v_data; 70 M4VIFI_UInt8 *pu8_rgbn_data, *pu8_rgbn; 168 pu8_yn[0] = (M4VIFI_UInt8)i32_y00; 169 pu8_yn[1] = (M4VIFI_UInt8)i32_y10; 170 pu8_ys[0] = (M4VIFI_UInt8)i32_y01; 171 pu8_ys[1] = (M4VIFI_UInt8)i32_y11; 174 *pu8_u = (M4VIFI_UInt8)((i32_u00 + i32_u01 + i32_u10 + i32_u11 + 2) >> 2) [all...] |
M4VIFI_RGB888toYUV420.c | 24 M4VIFI_UInt8 M4VIFI_RGB888toYUV420(void *pUserData, M4VIFI_ImagePlane *PlaneIn, 39 M4VIFI_UInt8 M4VIFI_RGB888toYUV420(void *pUserData, M4VIFI_ImagePlane *PlaneIn, 53 M4VIFI_UInt8 *pu8_yn, *pu8_ys, *pu8_u, *pu8_v; 54 M4VIFI_UInt8 *pu8_y_data, *pu8_u_data, *pu8_v_data; 55 M4VIFI_UInt8 *pu8_rgbn_data, *pu8_rgbn; 116 pu8_yn[0]= (M4VIFI_UInt8)i32_y00; 121 pu8_yn[1]= (M4VIFI_UInt8)i32_y10; 126 pu8_ys[0]= (M4VIFI_UInt8)i32_y01; 131 pu8_ys[1] = (M4VIFI_UInt8)i32_y11; 133 *pu8_u = (M4VIFI_UInt8)((i32_u00 + i32_u01 + i32_u10 + i32_u11 + 2) >> 2) [all...] |
M4VIFI_ResizeRGB888toRGB888.c | 34 * M4VIFI_UInt8 M4VIFI_ResizeBilinearRGB888toRGB888(void *pUserData, M4VIFI_ImagePlane *pPlaneIn, 58 M4VIFI_UInt8 M4VIFI_ResizeBilinearRGB888toRGB888(void *pUserData, 62 M4VIFI_UInt8 *pu8_data_in; 63 M4VIFI_UInt8 *pu8_data_out; 72 M4VIFI_UInt8 *pu8_src_top; 73 M4VIFI_UInt8 *pu8_src_bottom; 94 pu8_data_in = (M4VIFI_UInt8*)(pPlaneIn->pac_data + pPlaneIn->u_topleft); 95 pu8_data_out = (M4VIFI_UInt8*)(pPlaneOut->pac_data + pPlaneOut->u_topleft); 240 u32_Rtemp_value = (M4VIFI_UInt8)(((i32_r00*(16-u32_x_frac) + 245 u32_Gtemp_value = (M4VIFI_UInt8)(((i32_g00*(16-u32_x_frac) [all...] |
M4VIFI_ResizeRGB565toRGB565.c | 34 * M4VIFI_UInt8 M4VIFI_ResizeBilinearRGB565toRGB565(void *pUserData, M4VIFI_ImagePlane *pPlaneIn, 45 M4VIFI_UInt8 M4VIFI_ResizeBilinearRGB565toRGB565(void *pUserData, 65 M4VIFI_UInt8 count_trans=0; 219 u32_Rtemp_value = (M4VIFI_UInt8)(((i32_r00*(16-u32_x_frac) + 224 u32_Gtemp_value = (M4VIFI_UInt8)(((i32_g00*(16-u32_x_frac) + 229 u32_Btemp_value = (M4VIFI_UInt8)(((i32_b00*(16-u32_x_frac) +
|
M4VIFI_ResizeYUVtoBGR565.c | 34 * M4VIFI_UInt8 M4VIFI_ResizeBilinearYUV420toBGR565(void *pContext, M4VIFI_ImagePlane *pPlaneIn, 59 M4VIFI_UInt8 M4VIFI_ResizeBilinearYUV420toBGR565(void* pContext, 63 M4VIFI_UInt8 *pu8_data_in[PLANES], *pu8_data_in1[PLANES],*pu8_data_out; 74 M4VIFI_UInt8 u8_Red, u8_Green, u8_Blue; 82 M4VIFI_UInt8 *pu8_src_top_Y,*pu8_src_top_U,*pu8_src_top_V ; 83 M4VIFI_UInt8 *pu8_src_bottom_Y, *pu8_src_bottom_U, *pu8_src_bottom_V;
|
M4VIFI_ResizeYUVtoRGB565.c | 36 * M4VIFI_UInt8 M4VIFI_ResizeBilinearYUV420toRGB565RotatedRight(void *pContext, 62 M4VIFI_UInt8 M4VIFI_ResizeBilinearYUV420toRGB565(void* pContext, 66 M4VIFI_UInt8 *pu8_data_in[PLANES], *pu8_data_in1[PLANES],*pu8_data_out; 77 M4VIFI_UInt8 u8_Red, u8_Green, u8_Blue; 85 M4VIFI_UInt8 *pu8_src_top_Y,*pu8_src_top_U,*pu8_src_top_V ; 86 M4VIFI_UInt8 *pu8_src_bottom_Y, *pu8_src_bottom_U, *pu8_src_bottom_V;
|
M4VIFI_Clip.c | 31 CNST M4VIFI_UInt8 M4VIFI_ClipTable[1256] 275 CNST M4VIFI_UInt8 *M4VIFI_ClipTable_zero
|
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
VideoEditorVideoDecoder.cpp | 603 M4VIFI_UInt8 M4VIFI_SemiplanarYVU420toYUV420(void *user_data, 604 M4VIFI_UInt8 *inyuv, M4VIFI_ImagePlane *PlaneOut ) { 605 M4VIFI_UInt8 return_code = M4VIFI_OK; 606 M4VIFI_UInt8 *outyuv = 607 ((M4VIFI_UInt8*)&(PlaneOut[0].pac_data[PlaneOut[0].u_topleft])); [all...] |
/frameworks/base/media/jni/mediaeditor/ |
VideoEditorMain.cpp | 668 M4VIFI_UInt8 *pixelArray = M4OSA_NULL; [all...] |
/frameworks/av/libvideoeditor/vss/mcs/src/ |
M4MCS_API.c | [all...] |