/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | datapart_decode.cpp | 624 int32 offset; local 715 offset = (int32)(y_pos << 4) * width + (x_pos << 4); 716 c_comp = video->currVop->yChan + offset; 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 | get_pred_adv_b_add.cpp | 90 int offset, offset2; local 94 /* initialize offset to adjust pixel counter */ 96 offset = width - B_SIZE; /* offset for prev */ 97 offset2 = (pred_width_rnd >> 1) - 4; /* offset for pred_block */ 129 prev += offset; 152 prev += offset; 174 prev += offset; 190 int offset, offset2; local 196 /* initialize offset t 519 int offset, offset2; local 866 int offset, offset2; local [all...] |
H A D | idct.cpp | 133 int offset = width - 8; local 264 comp += offset; 332 comp += offset;
|
H A D | idct_vca.cpp | 48 /* preset the offset, such that we can take advantage pre-offset addressing mode */ 104 /* preset the offset, such that we can take advantage pre-offset addressing mode */ 192 /* preset the offset, such that we can take advantage pre-offset addressing mode */ 301 /* preset the offset, such that we can take advantage pre-offset addressing mode */ 424 int offset = width; local 427 comp -= offset; 452 int offset = width; local 509 int offset = width; local 582 int offset = width; local [all...] |
H A D | mb_motion_comp.cpp | 142 int32 offset; local 182 /* offset to (x,y) position in current luminance MB */ 185 offset = (int32)ypos * width + xpos; 192 imv = (offset >> 6) - (xpos >> 6) + (xpos >> 3); 253 c_comp = video->currVop->yChan + offset; 453 /* x position in prediction data offset by motion vector */ 458 /* y position in prediction data offset by motion vector */ 463 cu_comp = video->currVop->uChan + (offset >> 2) + (xpos >> 2); 464 cv_comp = video->currVop->vChan + (offset >> 2) + (xpos >> 2); 559 int32 offset; local [all...] |
H A D | post_filter.cpp | 190 int d, offset, nMBPerRow, nMBPerCol, width2 = (width << 1); local 399 offset = width * b_size - b_size; 472 rec_y -= offset; 489 offset = width * b_size - b_size; 570 rec_y -= offset;
|
H A D | vlc_decode.cpp | 143 int k, offset; local 161 offset = (k & 1) + (k >> 1) * doubleWidth; 183 mot_x[pos+offset] = (MOT) mvx; 184 mot_y[pos+offset] = (MOT) mvy; 229 offset = (k & 1) + (k >> 1) * doubleWidth; 232 mot_x[pos+offset] = (MOT) mvx; 233 mot_y[pos+offset] = (MOT) mvy; 888 /* first escape mode. level is offset */ 941 /* second escape mode. run is offset */ 1069 /* first escape mode. level is offset */ [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | bitstream_io.cpp | 422 Int bitused, bitleft, offset, fraction; local 430 offset = fraction; 437 if (!offset) /* bitstream1 is byte-aligned */ 442 offset += fraction; 446 if (bitstream1->byteCount + bitstream2->byteCount + offset > bitstream1->bufferSize) 448 if (PV_SUCCESS != BitstreamUseOverrunBuffer(bitstream1, bitstream2->byteCount + offset)) 450 bitstream1->byteCount += (bitstream2->byteCount + offset);
|
H A D | combined_encode.cpp | 45 Int offset = 0; local 139 getMotionCompensatedMB(video, ind_x, ind_y, offset); 159 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck); 207 offset += 16; 210 offset += (lx << 4) - width; 277 Int offset = video->offset; /* get current MB location */ local 404 getMotionCompensatedMB(video, ind_x, ind_y, offset); 427 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck); 490 video->offset [all...] |
H A D | datapart_encode.cpp | 44 Int offset = 0; local 111 getMotionCompensatedMB(video, ind_x, ind_y, offset); 130 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck); 168 offset += 16; 171 offset += (lx << 4) - width; 224 Int offset = video->offset; /* get current MB location */ local 317 getMotionCompensatedMB(video, ind_x, ind_y, offset); 341 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck); 419 video->offset [all...] |
H A D | fastcodemb.cpp | 33 /* QP Combined offset from the origin to the current */ 80 Int offset = QP >> 5; /* QP is combined offset and QP */ local 81 Int offsetc = (offset >> 2) + (ind_x << 2); /* offset for chrom */ 129 rec = currVop->yChan + offset; 130 input = inputFrame->yChan + offset; 131 if (lx != width) input -= (ind_y << 9); /* non-padded offset */ 262 /* QP Combined offset from the origin to the current */ 311 Int offset local [all...] |
H A D | me_utils.cpp | 23 #define VOP_OFFSET ((lx<<4)+16) /* for offset to image area */ 39 Int offset = (lx >> 2) - 4; local 54 pint += offset; 61 pint += offset; 68 offset = lx - 16; 87 p += (offset - temp); 116 Int offset = lx - 17; local 137 p1 += offset; 138 p2 += offset; 139 p3 += offset; 172 Int offset = lx - 9; local [all...] |
H A D | motion_comp.cpp | 98 void getMotionCompensatedMB(VideoEncData *video, Int ind_x, Int ind_y, Int offset) argument 114 OSCL_UNUSED_ARG(offset); 363 /* initialize offset to adjust pixel counter */ 457 Int offset; local 462 /* initialize offset to adjust pixel counter */ 464 offset = lx - B_SIZE; /* offset for prev */ 505 prev += offset; 539 prev += offset; 580 prev += offset; 782 Int offset; local 1125 Int offset; local 1721 Int offset = pitch - MB_SIZE; local 1768 Int offset = pitch - B_SIZE; local 1799 Int offset = pitch - MB_SIZE; local 1866 Int offset = pitch - B_SIZE; local 1947 Int offset = (lx - 8) >> 2; local [all...] |
H A D | motion_est.cpp | 155 Int mbnum, offset; local 182 offset = 0; 264 offset = width * (j << 4) + (start_i << 4); 274 cur = currFrame->yChan + offset; 456 offset += (incr_i << 4); 473 offset = 0; 544 Int *offset, *offset2; local 566 offset = htfm_stat->offsetArray; 578 offset = video->nrmlz_th + 16; 582 offset[ 679 Int *offset; local 1193 Int offset = i0 + j0 * lx; local [all...] |
H A D | mp4enc_api.cpp | 191 Int max = 0, max_width = 0, max_height = 0, pitch, offset; local 736 offset = 0; 741 offset = (pitch << 4) + 16; 751 /* shift for the offset */ 752 if (offset) 754 video->currVop->yChan += offset; /* offset to the origin.*/ 755 video->currVop->uChan += (offset >> 2) + 4; 756 video->currVop->vChan += (offset >> 2) + 4; 769 if (offset) 1083 int max_width, offset; local [all...] |
H A D | mp4lib_int.h | 413 Int offset; /* So far MB offset */ member in struct:tagVideoEncData
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_framedecoder.cpp | 271 * offset in bytes from the first byte of the sync word 562 pMainData->pBuffer[module(pMainData->offset++, BUFSIZE)] = (uint8)val; 571 int32 offset = (pVars->inputStream.usedBits) >> INBUF_ARRAY_INDEX_SHIFT; local 576 if ((offset + temp) < BUFSIZE) 578 uint8 * ptr = pVars->inputStream.pBuffer + offset; 580 offset = pVars->mainDataStream.offset; 585 if ((offset + temp) < BUFSIZE) 587 pv_memcpy((pVars->mainDataStream.pBuffer + offset), ptr, temp*sizeof(uint8)); 588 pVars->mainDataStream.offset [all...] |
H A D | pvmp3_getbits.cpp | 114 uint32 offset; local 127 offset = (ptBitStream->usedBits) >> INBUF_ARRAY_INDEX_SHIFT; 129 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE)); 130 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE)); 131 Elem2 = *(ptBitStream->pBuffer + module(offset + 2, BUFSIZE)); 132 Elem3 = *(ptBitStream->pBuffer + module(offset + 3, BUFSIZE)); 162 uint32 offset; local 168 offset = (ptBitStream->usedBits) >> INBUF_ARRAY_INDEX_SHIFT; 170 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE)); 171 Elem1 = *(ptBitStream->pBuffer + module(offset 198 uint32 offset; local 236 uint32 offset; local [all...] |
H A D | pvmp3_seek_synch.cpp | 208 int32 offset = pVars->inputStream.usedBits + ((numBytes) << 3); local 210 offset >>= INBUF_ARRAY_INDEX_SHIFT; 211 uint8 *pElem = pVars->inputStream.pBuffer + offset;
|
H A D | s_mp3bits.h | 94 uint32 offset; member in struct:__anon460
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/ |
H A D | omxVCM4P2_MCReconBlock_s.s | 86 ;// M_LOAD_X $pSrc, $srcStep, $out0, $out1, $scratch, $offset 93 ;// $offset Difference of source data location to the source pointer 94 ;// Use when $offset != 0 (unaligned load) 103 ;// register numbering. In case offset is 0, $scratch is not modified. 106 M_LOAD_X $pSrc, $srcStep, $out0, $out1, $scratch, $offset 107 IF $offset = 0 114 MOV $out0, $out0, LSR #8 * $offset 115 ORR $out0, $out0, $out1, LSL #(32 - 8 * ($offset)) 116 MOV $out1, $out1, LSR #8 * $offset 117 ORR $out1, $out1, $scratch, LSL #(32 - 8 * ($offset)) [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_deblocking.c | 1554 u32 offset; local 1565 offset = TOP; 1585 * each edge separately. offset variable indicates top macroblock edge 1591 FilterHorLuma(ptr, tmp[0].top, thresholds + offset, (i32)width); 1596 FilterHorLumaEdge(ptr, tmp[0].top, thresholds+offset, 1599 FilterHorLumaEdge(ptr+4, tmp[1].top, thresholds+offset, 1602 FilterHorLumaEdge(ptr+8, tmp[2].top, thresholds+offset, 1605 FilterHorLumaEdge(ptr+12, tmp[3].top, thresholds+offset, 1612 offset = INNER; 1636 u32 offset; local [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | ABuffer.cpp | 69 void ABuffer::setRange(size_t offset, size_t size) { argument 70 CHECK_LE(offset, mCapacity); 71 CHECK_LE(offset + size, mCapacity); 73 mRangeOffset = offset;
|
H A D | ANetworkSession.cpp | 458 size_t offset = 2; local 462 if (offset + 2 > mInBuffer.size()) { 466 payloadLen = U16_AT(&data[offset]); 467 offset += 2; 469 if (offset + 8 > mInBuffer.size()) { 473 payloadLen = U64_AT(&data[offset]); 474 offset += 8; 480 if (offset + 4 > mInBuffer.size()) { 484 mask = U32_AT(&data[offset]); 485 offset [all...] |
H A D | AString.cpp | 67 AString::AString(const AString &from, size_t offset, size_t n) argument 71 setTo(from, offset, n); 107 void AString::setTo(const AString &from, size_t offset, size_t n) { argument 111 setTo(from.mData + offset, n); 195 void AString::append(const AString &from, size_t offset, size_t n) { argument 196 append(from.c_str() + offset, n);
|