Home
last modified time | relevance | path

Searched refs:picSizeInMbs (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_util.c218 u32 h264bsdNextMbAddress(u32 *pSliceGroupMap, u32 picSizeInMbs, u32 currMbAddr) in h264bsdNextMbAddress() argument
228 ASSERT(picSizeInMbs); in h264bsdNextMbAddress()
229 ASSERT(currMbAddr < picSizeInMbs); in h264bsdNextMbAddress()
234 while ((i < picSizeInMbs) && (pSliceGroupMap[i] != sliceGroup)) in h264bsdNextMbAddress()
239 if (i == picSizeInMbs) in h264bsdNextMbAddress()
Dh264bsd_slice_data.c107 ASSERT(pSliceHeader->firstMbInSlice < pStorage->picSizeInMbs); in h264bsdDecodeSliceData()
151 if (skipRun > (pStorage->picSizeInMbs - currMbAddr)) in h264bsdDecodeSliceData()
210 pStorage->picSizeInMbs, currMbAddr); in h264bsdDecodeSliceData()
221 if ((pStorage->slice->numDecodedMbs + mbCount) > pStorage->picSizeInMbs) in h264bsdDecodeSliceData()
309 ASSERT(firstMbInSlice < pStorage->picSizeInMbs); in h264bsdMarkSliceCorrupted()
349 pStorage->picSizeInMbs, currMbAddr); in h264bsdMarkSliceCorrupted()
Dh264bsd_neighbour.c128 u32 picSizeInMbs) in h264bsdInitMbNeighbours() argument
139 ASSERT(picWidth <= picSizeInMbs); in h264bsdInitMbNeighbours()
140 ASSERT(((picSizeInMbs / picWidth) * picWidth) == picSizeInMbs); in h264bsdInitMbNeighbours()
144 for (i = 0; i < picSizeInMbs; i++) in h264bsdInitMbNeighbours()
Dh264bsd_storage.c337 pStorage->picSizeInMbs = 0; in h264bsdActivateParamSets()
346 pStorage->picSizeInMbs = in h264bsdActivateParamSets()
364 ALLOCATE(pStorage->mb, pStorage->picSizeInMbs, mbStorage_t); in h264bsdActivateParamSets()
365 ALLOCATE(pStorage->sliceGroupMap, pStorage->picSizeInMbs, u32); in h264bsdActivateParamSets()
370 pStorage->picSizeInMbs * sizeof(mbStorage_t)); in h264bsdActivateParamSets()
374 pStorage->picSizeInMbs); in h264bsdActivateParamSets()
411 pStorage->picSizeInMbs = in h264bsdActivateParamSets()
472 for (i = 0; i < pStorage->picSizeInMbs; i++) in h264bsdResetStorage()
557 if (pStorage->slice->numDecodedMbs == pStorage->picSizeInMbs) in h264bsdIsEndOfPicture()
562 for (i = 0, tmp = 0; i < pStorage->picSizeInMbs; i++) in h264bsdIsEndOfPicture()
[all …]
Dh264bsd_slice_header.c67 static u32 NumSliceGroupChangeCycleBits(u32 picSizeInMbs,
106 u32 picSizeInMbs; in h264bsdDecodeSliceHeader() local
120 picSizeInMbs = pSeqParamSet->picWidthInMbs * pSeqParamSet->picHeightInMbs; in h264bsdDecodeSliceHeader()
125 if (value >= picSizeInMbs) in h264bsdDecodeSliceHeader()
366 tmp = NumSliceGroupChangeCycleBits(picSizeInMbs, in h264bsdDecodeSliceHeader()
374 tmp = (picSizeInMbs + pPicParamSet->sliceGroupChangeRate - 1) / in h264bsdDecodeSliceHeader()
411 u32 NumSliceGroupChangeCycleBits(u32 picSizeInMbs, u32 sliceGroupChangeRate) in NumSliceGroupChangeCycleBits() argument
420 ASSERT(picSizeInMbs); in NumSliceGroupChangeCycleBits()
422 ASSERT(sliceGroupChangeRate <= picSizeInMbs); in NumSliceGroupChangeCycleBits()
425 if (picSizeInMbs % sliceGroupChangeRate) in NumSliceGroupChangeCycleBits()
[all …]
Dh264bsd_seq_param_set.c57 static u32 GetDpbSize(u32 picSizeInMbs, u32 levelIdc);
383 u32 GetDpbSize(u32 picSizeInMbs, u32 levelIdc) in GetDpbSize() argument
393 ASSERT(picSizeInMbs); in GetDpbSize()
482 if (picSizeInMbs > maxPicSizeInMbs) in GetDpbSize()
485 tmp /= (picSizeInMbs*384); in GetDpbSize()
Dh264bsd_dpb.h103 u32 picSizeInMbs,
111 u32 picSizeInMbs,
Dh264bsd_neighbour.h66 u32 picSizeInMbs);
Dh264bsd_dpb.c983 u32 picSizeInMbs, in h264bsdInitDpb() argument
996 ASSERT(picSizeInMbs); in h264bsdInitDpb()
1003 if (picSizeInMbs > (UINT32_MAX - 32 - 15) / 384) { in h264bsdInitDpb()
1033 ALLOCATE(dpb->buffer[i].pAllocatedData, (picSizeInMbs*384 + 32+15), u8); in h264bsdInitDpb()
1070 u32 picSizeInMbs, in h264bsdResetDpb() argument
1079 ASSERT(picSizeInMbs); in h264bsdResetDpb()
1087 return h264bsdInitDpb(dpb, picSizeInMbs, dpbSize, maxRefFrames, in h264bsdResetDpb()
Dh264bsd_conceal.c160 while (i < pStorage->picSizeInMbs && !pStorage->mb[i].decoded) in h264bsdConceal()
172 if (i == pStorage->picSizeInMbs) in h264bsdConceal()
180 pStorage->numConcealedMbs = pStorage->picSizeInMbs; in h264bsdConceal()
183 for (i = 0; i < pStorage->picSizeInMbs; i++) in h264bsdConceal()
Dh264bsd_storage.h88 u32 picSizeInMbs; member
Dh264bsd_util.h174 u32 h264bsdNextMbAddress(u32 *pSliceGroupMap, u32 picSizeInMbs, u32 currMbAddr);
Dh264bsd_deblocking.c582 u32 picSizeInMbs, mbRow, mbCol; in h264bsdFilterPicture() local
599 picSizeInMbs = picWidthInMbs * image->height; in h264bsdFilterPicture()
622 data = image->data + picSizeInMbs * 256 + in h264bsdFilterPicture()
625 FilterChroma((u8*)data, data + 64*picSizeInMbs, bS, in h264bsdFilterPicture()
1774 u32 picSizeInMbs, mbRow, mbCol; in h264bsdFilterPicture() local
1795 picSizeInMbs = picWidthInMbs * image->height; in h264bsdFilterPicture()
1830 data = image->data + picSizeInMbs * 256 + in h264bsdFilterPicture()
1846 data += (picSizeInMbs * 64); in h264bsdFilterPicture()