Searched refs:framesize (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/media/libstagefright/codecs/avc/common/src/ |
H A D | dpb.cpp | 25 int level, framesize, num_fs; local 38 framesize = (int)(((FrameHeightInMbs * PicWidthInMbs) << 7) * 3); 41 video->padded_size = (int)((((FrameHeightInMbs + 2) * (PicWidthInMbs + 2)) << 7) * 3) - framesize; 68 dpb->dpb_size = dpb->num_fs * (framesize + video->padded_size); 69 // dpb->dpb_size = (uint32)MaxDPBX2[mapLev2Idx[level]]*512 + framesize; 101 dpb->used_size += (framesize + video->padded_size); 112 int framesize, ii; /* size of one frame */ local 152 framesize = (FrameHeightInMbs * PicWidthInMbs); 158 video->mblock = (AVCMacroblock*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCMacroblock) * framesize, DEFAULT_ATTR); 163 for (ii = 0; ii < framesize; i [all...] |
/frameworks/base/media/libstagefright/codecs/avc/enc/src/ |
H A D | avcenc_api.cpp | 63 int framesize; local 178 framesize = video->FrameHeightInMbs * video->PicWidthInMbs; 180 video->mblock = (AVCMacroblock*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCMacroblock) * framesize, DEFAULT_ATTR); 192 encvid->mot16x16 = (AVCMV*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCMV) * framesize, DEFAULT_ATTR); 197 memset(encvid->mot16x16, 0, sizeof(AVCMV)*framesize); 199 encvid->intraSearch = (uint8*) avcHandle->CBAVC_Malloc(userData, sizeof(uint8) * framesize, DEFAULT_ATTR); 205 encvid->min_cost = (int*) avcHandle->CBAVC_Malloc(userData, sizeof(int) * framesize, DEFAULT_ATTR);
|
/frameworks/media/libvideoeditor/vss/mcs/src/ |
H A D | M4MCS_API.c | 2008 M4OSA_UInt32 framesize = 0; local 2013 while(framesize < inbuf_size) 2015 nal_size = inbuf_size - framesize - 4; 2016 buff = inbuff + framesize + 4; 2032 nal_size = (inbuf_size - framesize - 4) - nal_size; 2034 inbuff[framesize + 0] = (M4OSA_UInt8)((nal_size >> 24)& 0xFF); 2035 inbuff[framesize + 1] = (M4OSA_UInt8)((nal_size >> 16)& 0xFF); 2036 inbuff[framesize + 2] = (M4OSA_UInt8)((nal_size >> 8)& 0xFF); 2037 inbuff[framesize + 3] = (M4OSA_UInt8)((nal_size )& 0xFF); 2038 framesize [all...] |
/frameworks/media/libvideoeditor/lvpp/ |
H A D | VideoEditorPreviewController.cpp | 792 M4OSA_UInt32 i = 0, iIncrementedDuration = 0, tnTimeMs=0, framesize =0; local
|
Completed in 285 milliseconds