Home
last modified time | relevance | path

Searched refs:framesize (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/codecs/avc/common/src/
Ddpb.cpp25 int level, framesize, num_fs; in InitDPB() local
38 framesize = (int)(((FrameHeightInMbs * PicWidthInMbs) << 7) * 3); in InitDPB()
41 … video->padded_size = (int)((((FrameHeightInMbs + 2) * (PicWidthInMbs + 2)) << 7) * 3) - framesize; in InitDPB()
68 dpb->dpb_size = dpb->num_fs * (framesize + video->padded_size); in InitDPB()
101 dpb->used_size += (framesize + video->padded_size); in InitDPB()
112 int framesize, ii; /* size of one frame */ in AVCConfigureSequence() local
152 framesize = (FrameHeightInMbs * PicWidthInMbs); in AVCConfigureSequence()
158 …AVCMacroblock*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCMacroblock) * framesize, DEFAULT_ATTR); in AVCConfigureSequence()
163 for (ii = 0; ii < framesize; ii++) in AVCConfigureSequence()
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Davcenc_api.cpp63 int framesize; in PVAVCEncInitialize() local
171 framesize = video->FrameHeightInMbs * video->PicWidthInMbs; in PVAVCEncInitialize()
173 …AVCMacroblock*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCMacroblock) * framesize, DEFAULT_ATTR); in PVAVCEncInitialize()
185 …encvid->mot16x16 = (AVCMV*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCMV) * framesize, DEFAULT_A… in PVAVCEncInitialize()
191 …encvid->intraSearch = (uint8*) avcHandle->CBAVC_Malloc(userData, sizeof(uint8) * framesize, DEFAUL… in PVAVCEncInitialize()
197 …encvid->min_cost = (int*) avcHandle->CBAVC_Malloc(userData, sizeof(int) * framesize, DEFAULT_ATTR); in PVAVCEncInitialize()