Home
last modified time | relevance | path

Searched refs:mb (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_deblocking.c163 static u32 IsSliceBoundaryOnLeft(mbStorage_t *mb);
165 static u32 IsSliceBoundaryOnTop(mbStorage_t *mb);
167 static u32 GetMbFilteringFlags(mbStorage_t *mb);
171 static u32 GetBoundaryStrengths(mbStorage_t *mb, bS_t *bs, u32 flags);
195 mbStorage_t *mb,
200 mbStorage_t *mb,
206 static u32 GetBoundaryStrengths(mbStorage_t *mb, u8 (*bs)[16], u32 flags);
209 mbStorage_t *mb,
217 mbStorage_t *mb,
236 u32 IsSliceBoundaryOnLeft(mbStorage_t *mb) in IsSliceBoundaryOnLeft() argument
[all …]
Dh264bsd_slice_data.c133 if (!pSliceHeader->redundantPicCnt && pStorage->mb[currMbAddr].decoded) in h264bsdDecodeSliceData()
139 SetMbParams(pStorage->mb + currMbAddr, pSliceHeader, in h264bsdDecodeSliceData()
175 pStorage->mb + currMbAddr, pSliceHeader->sliceType, in h264bsdDecodeSliceData()
184 tmp = h264bsdDecodeMacroblock(pStorage->mb + currMbAddr, mbLayer, in h264bsdDecodeSliceData()
195 if (pStorage->mb[currMbAddr].decoded == 1) in h264bsdDecodeSliceData()
319 ASSERT(pStorage->mb[pStorage->slice->lastMbAddr].sliceId == sliceId); in h264bsdMarkSliceCorrupted()
324 if (pStorage->mb[i].sliceId == sliceId) in h264bsdMarkSliceCorrupted()
338 if ( (pStorage->mb[currMbAddr].sliceId == sliceId) && in h264bsdMarkSliceCorrupted()
339 (pStorage->mb[currMbAddr].decoded) ) in h264bsdMarkSliceCorrupted()
341 pStorage->mb[currMbAddr].decoded--; in h264bsdMarkSliceCorrupted()
Dh264bsd_conceal.c132 mbStorage_t *mb; in h264bsdConceal() local
160 while (i < pStorage->picSizeInMbs && !pStorage->mb[i].decoded) in h264bsdConceal()
184 pStorage->mb[i].disableDeblockingFilterIdc = 1; in h264bsdConceal()
191 mb = pStorage->mb + row * width; in h264bsdConceal()
194 ConcealMb(mb+j, currImage, row, j, sliceType, refData); in h264bsdConceal()
195 mb[j].decoded = 1; in h264bsdConceal()
200 if (!mb[j].decoded) in h264bsdConceal()
202 ConcealMb(mb+j, currImage, row, j, sliceType, refData); in h264bsdConceal()
203 mb[j].decoded = 1; in h264bsdConceal()
213 mb = pStorage->mb + i*width + j; in h264bsdConceal()
[all …]
Dh264bsd_reconstruct.h118 u8 *mb,
128 u8 *mb,
139 u8 *mb,
149 u8 *mb,
160 u8 *mb,
171 u8 *mb,
181 u8 *mb,
192 u8 *mb,
Dh264bsd_reconstruct.c493 u8 *mb, in h264bsdInterpolateVerHalf() argument
510 ASSERT(mb); in h264bsdInterpolateVerHalf()
552 mb[48] = (u8)tmp2; in h264bsdInterpolateVerHalf()
564 mb[32] = (u8)tmp1; in h264bsdInterpolateVerHalf()
576 mb[16] = (u8)tmp6; in h264bsdInterpolateVerHalf()
587 *mb++ = (u8)tmp5; in h264bsdInterpolateVerHalf()
592 mb += 4*16 - partWidth; in h264bsdInterpolateVerHalf()
611 u8 *mb, in h264bsdInterpolateVerQuarter() argument
629 ASSERT(mb); in h264bsdInterpolateVerQuarter()
678 mb[48] = (u8)((tmp2 + tmp7) >> 1); in h264bsdInterpolateVerQuarter()
[all …]
Dh264bsd_storage.c343 FREE(pStorage->mb); in h264bsdActivateParamSets()
346 ALLOCATE(pStorage->mb, pStorage->picSizeInMbs, mbStorage_t); in h264bsdActivateParamSets()
348 if (pStorage->mb == NULL || pStorage->sliceGroupMap == NULL) in h264bsdActivateParamSets()
351 H264SwDecMemset(pStorage->mb, 0, in h264bsdActivateParamSets()
354 h264bsdInitMbNeighbours(pStorage->mb, in h264bsdActivateParamSets()
456 pStorage->mb[i].sliceId = 0; in h264bsdResetStorage()
457 pStorage->mb[i].decoded = 0; in h264bsdResetStorage()
545 tmp += pStorage->mb[i].decoded ? 1 : 0; in h264bsdIsEndOfPicture()
Dh264bsd_deblocking.h53 mbStorage_t *mb);
Dh264bsd_neighbour.h57 neighbourMb_e mb; member
Dh264bsd_storage.h108 mbStorage_t *mb; member
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
Dh264bsd_interpolate_chroma_ver.s36 mb RN 1 label
144 LDR mb, [sp, #0xc8] ;// predPartChroma
195 STRB tmp7, [mb,#8] ;// store row 2 col 1
197 STRB tmp2, [mb],#1 ;// store row 1 col 1
200 STRB tmp8, [mb,#8] ;// store row 2 col 2
202 STRB tmp5, [mb],#1 ;// store row 1 col 2
210 ADDS mb, mb, #16
211 SBC mb, mb, tmp2, LSR #20
225 LDR mb, [sp, #0xc8] ;// predPartChroma
230 ADD mb, mb, #64
[all …]
Dh264bsd_interpolate_chroma_hor.s37 mb RN 1 label
146 LDR mb, [sp, #0xc8] ;// predPartChroma
199 STRB tmp5, [mb,#8] ;// store row 2 col 1
202 STRB tmp6, [mb],#1 ;// store row 1 col 1
205 STRB tmp7, [mb,#8] ;// store row 2 col 2
208 STRB tmp8, [mb],#1 ;// store row 1 col 2
215 ADDS mb, mb, #16
216 SBC mb, mb, tmp2, LSR #20
231 LDR mb, [sp, #0xc8] ;// predPartChroma
236 ADD mb, mb, #64
[all …]
Dh264bsd_interpolate_chroma_hor_ver.s38 mb RN 1 label
152 LDR mb, [sp, #0xc8] ;// predPartChroma
209 STRB tmp6, [mb, #8] ;// store pixel
211 STRB tmp5, [mb], #1 ;// store pixel
230 STRB tmp6, [mb, #8] ;// store pixel
232 STRB tmp5, [mb], #1 ;// store pixel
239 ADDS mb, mb, #16
240 SBC mb, mb, tmp2, LSR #20
254 LDR mb, [sp, #0xc8] ;// predPartChroma
259 ADD mb, mb, #64
[all …]
Dh264bsd_interpolate_mid_hor.s36 mb RN 1 ;// pointer to current position in interpolated mb label
116 STR tmp1, [mb], #4
117 STR tmp2, [mb], #4
118 STR tmp3, [mb], #4
119 STR tmp4, [mb], #4
147 STR tmp1, [mb], #4
148 STR tmp2, [mb], #4
149 STR tmp3, [mb], #4
150 STR tmp4, [mb], #4
Dh264bsd_interpolate_hor_ver_quarter.s36 mb RN 1 label
143 LDR mb, [sp, #0x1e8] ;// mb
217 STR tmp4, [mb], #4
253 STR tmp4, [mb], #4
259 ADDS mb, mb, #16 ;// +16, Carry=0
260 SBC mb, mb, tmp6, LSR #20 ;// -(partWidth-1)-1
300 LDR mb, [sp, #0x1e8] ;// mb
353 LDR tmp1, [mb]
364 STR res, [mb], #16 ;// next row (mb)
404 LDR tmp2, [mb]
[all …]
Dh264bsd_interpolate_ver_half.s35 mb RN 1 label
136 LDR mb, [sp, #0x1e8] ;// mb
193 STR res, [mb], #16 ;// next row (mb)
237 STR res, [mb], #16 ;// next row
285 STR res, [mb], #16 ;// next row
331 STR res, [mb], #-44
340 ADD mb, mb, #64;
341 SUB mb, mb, tmp2; ;// mb -= partWidth
Dh264bsd_interpolate_hor_quarter.s35 mb RN 1 label
138 LDR mb, [sp, #0x1e8] ;// mb
210 STR tmp1, [mb], #4
257 STR tmp1, [mb], #4
263 ADDS mb, mb, #16 ;// +16, Carry=0
264 SBC mb, mb, tmp3, LSR #20 ;// -(partWidth-1)-1
Dh264bsd_interpolate_hor_half.s35 mb RN 1 label
136 LDR mb, [sp, #0x1e8] ;// mb
199 STR tmp1, [mb], #4
235 STR tmp1, [mb], #4
241 ADDS mb, mb, #16 ;// +16, Carry=0
242 SBC mb, mb, tmp3, LSR #20 ;// -(partWidth-1)-1
Dh264bsd_interpolate_ver_quarter.s34 mb RN 1 label
135 LDR mb, [sp, #0x1e8] ;// mb
201 STR res, [mb], #16 ;// next row (mb)
251 STR res, [mb], #16 ;// next row
301 STR res, [mb], #16 ;// next row
357 STR res, [mb], #-44
367 ADD mb, mb, #64;
368 SUB mb, mb, tmp2; ;// mb -= partWidth
/frameworks/base/core/jni/
DBindTest.cpp38 getString(Class *clazz, MethodBlock *mb, uintptr_t *ostack) in getString() argument
45 getNullString(Class *clazz, MethodBlock *mb, uintptr_t *ostack) in getNullString() argument
52 getBooleanTrue(Class *clazz, MethodBlock *mb, uintptr_t *ostack) in getBooleanTrue() argument
59 getBooleanFalse(Class *clazz, MethodBlock *mb, uintptr_t *ostack) in getBooleanFalse() argument
66 nonvoidThrowsException (Class *clazz, MethodBlock *mb, uintptr_t *ostack) in nonvoidThrowsException() argument
80 setInstanceString (Class *clazz, MethodBlock *mb, uintptr_t *ostack) in setInstanceString() argument
91 setClassString (Class *clazz, MethodBlock *mb, uintptr_t *ostack) in setClassString() argument
102 makeStringFromThreeChars (Class *clazz, MethodBlock *mb, uintptr_t *ostack) in makeStringFromThreeChars() argument
121 makeReturnedObject (Class *clazz, MethodBlock *mb, uintptr_t *ostack) in makeReturnedObject() argument
137 addDoubles (Class *clazz, MethodBlock *mb, uintptr_t *ostack) in addDoubles() argument
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatDelegateImplBase.java252 final MenuBuilder mb = menu instanceof MenuBuilder ? (MenuBuilder) menu : null; in onPreparePanel() local
254 if (featureId == Window.FEATURE_OPTIONS_PANEL && mb == null) { in onPreparePanel()
264 if (mb != null) { in onPreparePanel()
265 mb.setOverrideVisibleItems(true); in onPreparePanel()
270 if (mb != null) { in onPreparePanel()
271 mb.setOverrideVisibleItems(false); in onPreparePanel()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
DToolbarActionBar.java442 final MenuBuilder mb = menu instanceof MenuBuilder ? (MenuBuilder) menu : null; in populateOptionsMenu() local
443 if (mb != null) { in populateOptionsMenu()
444 mb.stopDispatchingItemsChanged(); in populateOptionsMenu()
453 if (mb != null) { in populateOptionsMenu()
454 mb.startDispatchingItemsChanged(); in populateOptionsMenu()
517 MenuBuilder mb = (MenuBuilder) menu; in ensureListMenuPresenter() local
544 mb.addMenuPresenter(mListMenuPresenter); in ensureListMenuPresenter()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp1342 MediaBuffer* mb, in mediaBufferToABuffer() argument
1347 size_t outLength = mb->range_length(); in mediaBufferToABuffer()
1356 ab = new ABuffer(NULL, mb->range_length()); in mediaBufferToABuffer()
1357 mb->add_ref(); in mediaBufferToABuffer()
1358 ab->setMediaBufferBase(mb); in mediaBufferToABuffer()
1362 (const uint8_t *)mb->data() + mb->range_offset(), in mediaBufferToABuffer()
1363 mb->range_length()); in mediaBufferToABuffer()
1368 if (!mb->meta_data()->findInt32(kKeyValidSamples, &numPageSamples)) { in mediaBufferToABuffer()
1372 uint8_t* abEnd = ab->data() + mb->range_length(); in mediaBufferToABuffer()
1379 CHECK(mb->meta_data()->findInt64(kKeyTime, &timeUs)); in mediaBufferToABuffer()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DToolbarActionBar.java441 final MenuBuilder mb = menu instanceof MenuBuilder ? (MenuBuilder) menu : null; in populateOptionsMenu() local
442 if (mb != null) { in populateOptionsMenu()
443 mb.stopDispatchingItemsChanged(); in populateOptionsMenu()
452 if (mb != null) { in populateOptionsMenu()
453 mb.startDispatchingItemsChanged(); in populateOptionsMenu()
/frameworks/base/core/java/android/nfc/
DNdefMessage.java197 boolean mb = (i == 0); // first record in toByteArray()
199 mRecords[i].writeToByteBuffer(buffer, mb, me); in toByteArray()
DNdefRecord.java799 boolean mb = (flag & NdefRecord.FLAG_MB) != 0; in parse()
806 if (!mb && records.size() == 0 && !inChunk && !ignoreMbMe) { in parse()
808 } else if (mb && records.size() != 0 && !ignoreMbMe) { in parse()
936 void writeToByteBuffer(ByteBuffer buffer, boolean mb, boolean me) { in writeToByteBuffer() argument
940 byte flags = (byte)((mb ? FLAG_MB : 0) | (me ? FLAG_ME : 0) | in writeToByteBuffer()

12