Searched defs:offset (Results 76 - 100 of 575) sorted by path

1234567891011>>

/frameworks/av/media/libstagefright/
H A DSampleTable.cpp757 off64_t *offset,
769 if (offset) {
770 *offset = mSampleIterator->getSampleOffset();
755 getMetaDataForSample( uint32_t sampleIndex, off64_t *offset, size_t *size, uint32_t *compositionTime, bool *isSyncSample, uint32_t *sampleDuration) argument
H A DSkipCutBuffer.cpp42 int32_t offset = buffer->range_offset(); local
49 offset += to_drop;
51 buffer->set_range(offset, buflen);
57 char *src = ((char*) buffer->data()) + offset;
69 int32_t offset = buffer->offset(); local
76 offset += to_drop;
78 buffer->setRange(offset, buflen);
H A DStagefrightMetadataRetriever.cpp90 int fd, int64_t offset, int64_t length) {
93 ALOGV("setDataSource(%d, %" PRId64 ", %" PRId64 ")", fd, offset, length);
100 mSource = new FileSource(fd, offset, length);
89 setDataSource( int fd, int64_t offset, int64_t length) argument
H A DThrottledSource.cpp34 ssize_t ThrottledSource::readAt(off64_t offset, void *data, size_t size) { argument
37 ssize_t n = mSource->readAt(offset, data, size);
H A DVBRISeeker.cpp107 off64_t offset = post_id3_pos; local
125 ALOGV("entry #%zu: %u offset 0x%016llx", i, numBytes, offset);
126 offset += numBytes;
H A DWAVExtractor.cpp62 off64_t offset, size_t size);
151 off64_t offset = 12; local
155 if (mDataSource->readAt(offset, chunkHeader, 8) < 8) {
160 offset += 8;
174 if (mDataSource->readAt(offset, formatSpec, 2) < 2) {
191 if (mDataSource->readAt(offset, formatSpec, fmtSize) < fmtSize) {
278 mDataOffset = offset;
325 offset += chunkSize;
338 off64_t offset, size_t size)
345 mOffset(offset),
333 WAVSource( const sp<DataSource> &dataSource, const sp<MetaData> &meta, uint16_t waveFormat, int32_t bitsPerSample, off64_t offset, size_t size) argument
[all...]
H A DXINGSeeker.cpp86 int offset = first_frame_pos; local
87 if (source->readAt(offset, &buffer, 4) < 4) { // get header
90 offset += 4;
105 // determine offset of XING header
107 if (num_channels != 1) offset += 32;
108 else offset += 17;
110 if (num_channels != 1) offset += 17;
111 else offset += 9;
114 int xingbase = offset;
116 if (source->readAt(offset,
[all...]
H A Davc_utils.cpp229 size_t offset = 0; local
232 for (; offset + 2 < size; ++offset) {
233 if (data[offset + 2] == 0x01 && data[offset] == 0x00
234 && data[offset + 1] == 0x00) {
238 if (offset + 2 >= size) {
239 *_data = &data[offset];
243 offset += 3;
245 size_t startOffset = offset;
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dline_pe.h48 Word16 offset; member in struct:__anon318
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dgrp_data.c55 Word32 offset; local
82 offset = 0;
85 groupedSfbOffset[i] = offset + sfbOffset[sfb] * groupLen[grp];
88 offset += groupLen[grp] * FRAME_LEN_SHORT;
95 offset = 0;
101 offset += groupLen[grp] * FRAME_LEN_SHORT;
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dlsp_lsf.cpp174 Word16 i, ind, offset;
180 offset = lsf[i] & 0x00ff; // offset = b0-b7 of lsf[i]
182 // lsp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 256
184 L_tmp = L_mult (sub (table[ind + 1], table[ind]), offset);
221 Word16 i, ind, offset; local
227 offset = lsf[i] & 0x00ff; /* offset = b0-b7 of lsf[i] */
229 /* lsp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 256 */
231 L_tmp = ((Word32)(table[ind + 1] - table[ind]) * offset) >>
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Ddec_alg_codebook.cpp118 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
127 pos1 = ((index & mask) + offset);
145 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
154 /* pos1 = (((index >> N) & mask) + offset); */
155 pos1 = (int16)(add_int32((shr_int32(index, N) & mask), (int32)(offset)));
158 pos2 = add_int16((int16)(index & mask), offset); /* pos2 = ((index & mask) + offset); */
192 void dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
205 j = offset;
219 dec_1p_N1(idx, N, offset, po
229 dec_4p_4N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
265 dec_4p_4N(int32 index, int16 N, int16 offset, int16 pos[]) argument
316 dec_5p_5N(int32 index, int16 N, int16 offset, int16 pos[]) argument
350 dec_6p_6N_2(int32 index, int16 N, int16 offset, int16 pos[]) argument
[all...]
H A Disp_isf.cpp154 int16 i, ind, offset; local
166 offset = (isp[i] & 0x007f); /* offset = b0-b6 of isf[i] */
168 /* isp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 128 */
170 L_tmp = mul_16by16_to_int32(table[ind + 1] - table[ind], offset);
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Disp_isf.c67 Word16 offset; local
79 offset = (Word16) (isp[i] & 0x007f); /* offset = b0-b6 of isf[i] */
81 /* isp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 128 */
82 L_tmp = vo_L_mult(vo_sub(table[ind + 1], table[ind]), offset);
/frameworks/av/media/libstagefright/codecs/avc/common/src/
H A Ddeblock.cpp123 int offset; local
125 offset = (y_pos << 4) * pitch;
127 curL = currPic->Sl + offset + (x_pos << 4);
129 offset >>= 2;
130 offset += (x_pos << 3);
132 curCb = currPic->Scb + offset;
133 curCr = currPic->Scr + offset;
H A Ddpb.cpp268 int offset = 0; local
296 offset = ((video->PicWidthInSamplesL + 32) << 4) + 16; // offset to the origin
297 offsetc = (offset >> 2) + 4;
304 video->currPic->Sl = video->currFS->base_dpb + offset;
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dblock.cpp373 int offset_cur[4], offset_pred[4], offset; local
542 offset = 1 << (Qq - 1);
551 coef[0] = (((m0 + m2) * quant + offset) >> Qq);
552 coef[64] = (((m0 - m2) * quant + offset) >> Qq);
553 coef[128] = (((m1 - m3) * quant + offset) >> Qq);
554 coef[192] = (((m1 + m3) * quant + offset) >> Qq);
566 /* offset btw 4x4 block */
570 /* offset btw 8x8 block */
909 /* offset btw 4x4 block */
H A Dfindhalfpel.cpp159 /* to be optimized later based on byte-offset load */
163 dst -= 4; /* offset */
278 dst -= 24; // offset
329 dst -= 24; // offset
529 int offset = 1 - (384 * 7); local
556 c1 += offset;
592 c1 += offset;
H A Dintra_est.cpp42 int temp, SBE, offset; local
67 offset = (y_pos >> 2) * picPitch + (x_pos >> 1);
68 topL = video->currPic->Scb + offset;
69 orgY_2 = currInput->YCbCr[1] + offset + (y_pos >> 2) * (orgPitch - picPitch);
82 topL = video->currPic->Scr + offset;
83 orgY_2 = currInput->YCbCr[2] + offset + (y_pos >> 2) * (orgPitch - picPitch);
215 int offset = y_pos * pitch + x_pos; local
218 uint8 *curL = currPic->Sl + offset; /* point to reconstructed frame */
633 int offset; local
644 offset
1371 int offset = y_pos * pitch + x_pos; local
2010 int block_x, block_y, offset; local
[all...]
H A Dmotion_comp.cpp52 int block_x, block_y, offset_x, offset_y, offsetP, offset; local
63 offset = (tmp_word >> 2) + (x_position >> 1);
64 curCb = currPic->Scb + offset;
65 curCr = currPic->Scr + offset;
96 //offset = offset_y * currPic->width;
97 //offsetC = (offset >> 2) + (offset_x >> 1);
100 /*comp_Sl + offset + offset_x,*/
194 int offset, out_offset; local
204 offset = picpitch - blkwidth - 3;
222 ref += offset;
1703 int offset, j; local
[all...]
H A Dmotion_est.cpp256 int mbnum, offset; local
273 offset = 0;
344 offset = pitch * (j << 4) + (start_i << 4);
354 cur = currInput->YCbCr[0] + offset;
423 offset += (incr_i << 4);
612 int *offset, *offset2; local
634 offset = htfm_stat->offsetArray;
646 offset = encvid->nrmlz_th + 16;
650 offset[0] = 0;
651 offset[
747 int *offset; local
1275 int offset = i0 + j0 * lx; local
[all...]
H A Dresidual.cpp31 int offset; local
45 offset = video->PicWidthInSamplesL - 16;
70 pDst += offset;
71 pSrc += offset;
79 offset >>= 1;
103 pDst += offset;
104 pSrc += offset;
136 pDst += offset;
137 pSrc += offset;
H A Dslice.cpp170 int offset; local
182 offset = y_position * picPitch + x_position;
183 curL = currPic->Sl + offset;
184 orgL = currInput->YCbCr[0] + offset;
185 offset = (offset + x_position) >> 2;
186 curCb = currPic->Scb + offset;
187 curCr = currPic->Scr + offset;
188 orgCb = currInput->YCbCr[1] + offset;
189 orgCr = currInput->YCbCr[2] + offset;
513 int j, offset; local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dblock_idct.cpp232 int32 offset; local
235 offset = (int32)(y_pos << 4) * width + (x_pos << 4);
237 c_comp = currVop->yChan + offset;
238 cu_comp = currVop->uChan + (offset >> 2) + (x_pos << 2);
239 cv_comp = currVop->vChan + (offset >> 2) + (x_pos << 2);
531 /* preset the offset, such that we can take advantage pre-offset addressing mode */
629 int offset = width; local
727 comp += offset;
H A Dcombined_decode.cpp555 int32 offset = (int32)(y_pos << 4) * width + (x_pos << 4); local
666 c_comp = video->currVop->yChan + offset;
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],
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],

Completed in 201 milliseconds

1234567891011>>