/frameworks/av/include/media/nbaio/ |
H A D | AudioBufferProviderSource.h | 47 int64_t readPTS, size_t block);
|
H A D | NBAIO.h | 154 // WOULD_BLOCK Determining how many frames can be written without blocking would itself block. 179 // block Number of frames per block, that is a suggested value for 'count' in each callback. 201 virtual ssize_t writeVia(writeVia_t via, size_t total, void *user, size_t block = 0); 251 // WOULD_BLOCK Determining how many frames can be read without blocking would itself block. 280 // block Number of frames per block, that is a suggested value for 'count' in each callback. 303 int64_t readPTS, size_t block = 0);
|
/frameworks/av/media/libnbaio/ |
H A D | AudioBufferProviderSource.cpp | 85 int64_t readPTS, size_t block) 90 if (CC_UNLIKELY(block == 0)) { 91 block = ~0; 99 if (CC_LIKELY(count > block)) { 100 count = block; 102 // 1 <= count <= block 111 // FIXME simplify logic - does the initial count and block checks again for no reason; 84 readVia(readVia_t via, size_t total, void *user, int64_t readPTS, size_t block) argument
|
H A D | NBAIO.cpp | 95 ssize_t NBAIO_Sink::writeVia(writeVia_t via, size_t total, void *user, size_t block) argument 104 if (block == 0 || block > maxBlock) { 105 block = maxBlock; 107 double buffer[((frameSize * block) + sizeof(double) - 1) / sizeof(double)]; 111 if (count > block) { 112 count = block; 132 int64_t readPTS, size_t block) 141 if (block == 0 || block > maxBloc 131 readVia(readVia_t via, size_t total, void *user, int64_t readPTS, size_t block) argument [all...] |
/frameworks/av/media/libstagefright/codecs/avc/common/include/ |
H A D | avcint_common.h | 56 /* a:block address, b:block width, c:block height, d:total_width, e:x or y coordinate */ 614 int16 block[NUM_PIXELS_IN_MB]; /* for transformed residue coefficient */ member in struct:tagCommonObj 615 uint8 *pred_block; /* pointer to prediction block, could point to a frame */ 684 uint32 cbp4x4; /* each bit represent nonzero 4x4 block in reverse raster scan order */ 785 /* Zigzag scan from 1-D to 2-D output to block[24][16]. */ 794 Mapping from coding scan block indx to raster scan block index */ 801 Availability of the neighboring top-right block relativ [all...] |
H A D | avclib_common.h | 310 \param "block" "Pointer to the video->block[0][0][0]." 314 void Intra16DCTrans(int16 *block, int Qq, int Rq); 317 This function performs transformation of a 4x4 block according to 319 \param "block" "Pointer to the origin of transform coefficient area." 325 void itrans(int16 *block, uint8 *pred, uint8 *cur, int width); 329 \param "block" "Pointer to the origin of transform coefficient area." 335 void ictrans(int16 *block, uint8 *pred, uint8 *cur, int width); 340 \param "block" "Pointer to the video->block[ [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
H A D | Android.mk | 7 src/block.cpp \
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | block.cpp | 82 int16 *coef = video->block; 83 uint8 *pred = video->pred_block; // size 16 for a 4x4 block 91 coef += ((blkidx & 0x3) << 2) + ((blkidx >> 2) << 6); /* point to the 4x4 block */ 192 if (video->currMB->mb_intra) // only do inverse transform with intra block 262 int16 *coef, *coef8 = video->block; 366 int16 *coef = video->block; 566 /* offset btw 4x4 block */ 570 /* offset btw 8x8 block */ 729 int16 *coef = video->block + 256; 909 /* offset btw 4x4 block */ 1117 int16 *block = video->block; local 1207 TransQuantChromaDC(AVCEncObject *encvid, int16 *block, int slice_type, int cr) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | block_idct.cpp | 256 int16 *coeff_in = mblock->block[comp]; 307 void idct_intra(int *block, uint8 *comp, int width); 311 void idctref_intra(int *block, uint8 *comp, int width); 350 uint8 *pred, /* prediction block, pitch 16 */ 405 void idct(int *block, uint8 *pred, uint8 *dst, int width); 410 void idctref(int *block, uint8 *pred, uint8 *dst, int width);
|
H A D | combined_decode.cpp | 572 /* oscl_memset(mblock->block, 0, sizeof(typeMBStore)); Aug 9,2005 */ 590 dataBlock = mblock->block[comp]; /* 10/20/2000 */ 677 BlockIDCT(c_comp + (comp&2)*(width << 2) + 8*(comp&1), mblock->pred_block + (comp&2)*64 + 8*(comp&1), mblock->block[comp], width, ncoeffs[comp], 707 BlockIDCT(video->currVop->uChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 256, mblock->block[4], width >> 1, ncoeffs[4], 731 BlockIDCT(video->currVop->vChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 264, mblock->block[5], width >> 1, ncoeffs[5], 759 BlockIDCT(c_comp + (comp&2)*(width << 2) + 8*(comp&1), mblock->pred_block + (comp&2)*64 + 8*(comp&1), mblock->block[comp], width, ncoeffs[comp], 785 BlockIDCT(video->currVop->uChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 256, mblock->block[4], width >> 1, ncoeffs[4], 809 BlockIDCT(video->currVop->vChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 264, mblock->block[5], width >> 1, ncoeffs[5],
|
H A D | conceal.cpp | 91 oscl_memset(video->mblock->block, 0, sizeof(typeMBStore));
|
H A D | datapart_decode.cpp | 662 /* oscl_memset(mblock->block, 0, sizeof(typeMBStore)); Aug 9,2005 */ 680 dataBlock = mblock->block[comp]; /*, 10/20/2000 */ 700 // @todo Deblocking Semaphore for INTRA block 731 BlockIDCT(c_comp + (comp&2)*(width << 2) + 8*(comp&1), mblock->pred_block + (comp&2)*64 + 8*(comp&1), mblock->block[comp], width, ncoeffs[comp], 740 /* @todo Deblocking Semaphore for INTRA block, for inter just test for ringing */ 755 BlockIDCT(video->currVop->uChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 256, mblock->block[4], width >> 1, ncoeffs[4], 775 BlockIDCT(video->currVop->vChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 264, mblock->block[5], width >> 1, ncoeffs[5],
|
H A D | idct.cpp | 22 This file contains the functions that transform an 8r8 image block from 44 coefficients of type int for an 8r8 image block; 57 blk points to the found IDCT values for an 8r8 image block. 68 This function transforms an 8r8 image block from dequantized DCT coefficients 538 res = (*pred++ + block[0+(i<<3)]); 541 res = (*pred++ + block[1+(i<<3)]); 544 res = (*pred++ + block[2+(i<<3)]); 547 res = (*pred++ + block[3+(i<<3)]); 550 res = (*pred++ + block[4+(i<<3)]); 553 res = (*pred++ + block[ [all...] |
H A D | mp4dec_lib.h | 260 void mv_prediction(VideoDecData *video, int block, MOT *mvx, MOT *mvy);
|
H A D | mp4lib_int.h | 136 typeMBStore block; /* blocks */ /* ACDC */ member in struct:tagMacroBlock 137 uint8 pred_block[384]; /* prediction block, Aug 3,2005 */
|
H A D | pvdec_api.cpp | 384 oscl_memset(video->mblock->block, 0, sizeof(int16)*6*NCOEFF_BLOCK); // Aug 23,2005 432 oscl_memset(video->mblock->block, 0, sizeof(int16)*6*NCOEFF_BLOCK); // Aug 23,2005 539 oscl_memset(video->mblock->block, 0, sizeof(int16)*6*NCOEFF_BLOCK); // Aug 23,2005
|
H A D | vlc_decode.cpp | 355 int block, 376 indx = ((mbnum_col << 1) + (block & 1)) + ((mbnum_row << 1) + (block >> 1)) * nMVPerRow - 1; /* left block */ 378 if (block & 1) /* block 1, 3 */ 384 else /* block 0, 2 */ 395 if (block >> 1) 397 indx -= (block & 1); 405 { /* block 353 mv_prediction( VideoDecData *video, int block, MOT *mvx, MOT *mvy ) argument [all...] |
H A D | vlc_dequant.cpp | 40 * -- VlcDequantMpegBlock -- Decodes the DCT coefficients of one 8x8 block and perform 56 int16 *datablock = video->mblock->block[comp]; /* 10/20/2000, assume it has been reset of all-zero !!!*/ 375 * -- VlcDequantMpegInterBlock -- Decodes the DCT coefficients of one 8x8 block and perform 376 dequantization using Mpeg mode for INTER block. 389 int16 *datablock = video->mblock->block[comp]; /* 10/20/2000, assume it has been reset of all-zero !!!*/ 494 * -- VlcDequantIntraH263Block -- Decodes the DCT coefficients of one 8x8 block and perform 495 dequantization in H.263 mode for INTRA block. 506 int16 *datablock = video->mblock->block[comp]; /* 10/20/2000, assume it has been reset of all-zero !!!*/ 808 int16 *datablock = video->mblock->block[comp]; /*, 10/20/2000, assume it has been reset of all-zero !!!*/ 1058 * -- VlcDequantInterH263Block -- Decodes the DCT coefficients of one 8x8 block an [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | combined_encode.cpp | 444 M4VENC_MEMCPY(outputMB[k], video->outputMB->block[k], sizeof(Short) << 6); 496 M4VENC_MEMCPY(video->outputMB->block[k], outputMB[k], sizeof(Short) << 6);
|
H A D | datapart_encode.cpp | 344 M4VENC_MEMCPY(outputMB[k], video->outputMB->block[k], sizeof(Short) << 6); 425 M4VENC_MEMCPY(video->outputMB->block[k], outputMB[k], sizeof(Short) << 6);
|
H A D | fastcodemb.cpp | 86 output = video->outputMB->block[0]; 195 { /* For shortHeader intra block, DC value cannot be zero */ 317 output = video->outputMB->block[0]; 369 {//Y block 385 {// U, V block 478 /* Purpose : Get SAV for one block */ 479 /* In/out : block[64] contain one block data */ 484 Int getBlockSAV(Short block[]) argument 491 val = *block [all...] |
H A D | fastcodemb.h | 32 Int(*DCT)(Int block[ ], Int coeff[ ], approxDCT *); 55 Int getBlockSAV(Int block[]); 60 Int AppVCA1_dct(Int block[], Int out[ ], approxDCT *function); 61 Int AppVCA2_dct(Int block[], Int out[ ], approxDCT *function); 62 Int AppVCA3_dct(Int block[], Int out[ ], approxDCT *function); 63 Int AppVCA4_dct(Int block[], Int out[ ], approxDCT *function); 64 Int AppVCA5_dct(Int block[], Int out[ ], approxDCT *function); 97 void BlockIDCTMotionComp(Int *block, UChar *bitmapcol, UChar bitmaprow,
|
H A D | fastidct.cpp | 1849 /* Modified : 7/31/01, add checking for all-zero and DC-only block. */ 1855 /* 9/4/05, use Chen's IDCT and 16 bit block */ 1857 void BlockIDCTMotionComp(Short *block, UChar *bitmapcol, UChar bitmaprow, argument 1864 Short *ptr = block; 1870 /* all-zero block */ 1914 /* Test for DC only block */ 1917 i = ((block[0] << 3) + 32) >> 6; 1918 block[0] = 0; 2009 (*(idctrowVCAIntra[(Int)(bitmaprow>>4)]))(block, rec, lx); 2011 (*(idctrowVCAzmv[(Int)(bitmaprow>>4)]))(block, re [all...] |
H A D | mp4enc_api.cpp | 697 M4VENC_MEMSET(video->outputMB->block[0], 0, (sizeof(Short) << 6)*6);
|
H A D | mp4enc_lib.h | 54 Int getBlockSAV(Short block[]); 59 void blockIdct(Short *block); 96 void BlockIDCTMotionComp(Short *block, UChar *bitmapcol, UChar bitmaprow,
|