Searched refs:offset (Results 176 - 200 of 1102) sorted by path

1234567891011>>

/frameworks/av/media/libstagefright/
H A DVBRISeeker.cpp121 off64_t offset = post_id3_pos; local
139 ALOGV("entry #%zu: %u offset %#016llx", i, numBytes, (long long)offset);
140 offset += numBytes;
H A DVideoFrameScheduler.cpp433 nsecs_t offset = 0; local
436 offset +=
440 mTimeCorrection += mVsyncPeriod / 2 - offset / (nsecs_t)N;
H A DWAVExtractor.cpp64 off64_t offset, size_t size);
155 off64_t offset = 12; local
159 if (mDataSource->readAt(offset, chunkHeader, 8) < 8) {
164 offset += 8;
178 if (mDataSource->readAt(offset, formatSpec, 2) < 2) {
196 if (mDataSource->readAt(offset, formatSpec, fmtSize) < fmtSize) {
285 mDataOffset = offset;
342 offset += chunkSize;
355 off64_t offset, size_t size)
362 mOffset(offset),
350 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.cpp271 size_t offset = 0; local
274 for (; offset + 2 < size; ++offset) {
275 if (data[offset + 2] == 0x01 && data[offset] == 0x00
276 && data[offset + 1] == 0x00) {
280 if (offset + 2 >= size) {
281 *_data = &data[offset];
285 offset += 3;
287 size_t startOffset = offset;
[all...]
/frameworks/av/media/libstagefright/codec2/include/
H A DC2Buffer.h284 inline uint32_t offset() const { return mOffset; } function in class:android::_C2LinearRangeAspect
293 inline _C2LinearRangeAspect(const _C2LinearCapacityAspect *parent, size_t offset, size_t size) argument
295 mOffset(c2_min(offset, capacity())),
298 // subsection of the two [offset, offset + size] ranges
299 inline _C2LinearRangeAspect(const _C2LinearRangeAspect *parent, size_t offset, size_t size) argument
301 mOffset(c2_min(c2_max(offset, parent == nullptr ? 0 : parent->offset()), capacity())),
322 inline _C2EditableLinearRange(const _C2LinearCapacityAspect *parent, size_t offset, size_t size) argument
323 : _C2LinearRangeAspect(parent, offset, siz
326 _C2EditableLinearRange(const _C2LinearRangeAspect *parent, size_t offset, size_t size) argument
340 setOffset(uint32_t offset) argument
375 setOffset_be(uint32_t offset) argument
[all...]
H A DC2Param.h508 * \param[in] offset pointer to the field in an object at address 0.
511 inline _C2FieldId(T* offset)
512 : // offset is from "0" so will fit on 32-bits
513 _mOffset((uint32_t)(uintptr_t)(offset)),
517 * Direct constructor from offset and size.
519 * \param[in] offset offset of the field.
522 inline _C2FieldId(size_t offset, size_t size)
523 : _mOffset(offset), _mSize(size) {}
561 inline uint32_t offset() cons
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dline_pe.h48 Word16 offset; member in struct:__anon467
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dadj_thr.c1026 /* additional pe offset to correct pe2bits for low bitrates */
1185 if (grantedPeCorr < noRedPe && noRedPe > peData.offset) {
1199 Word16 peOffsDiff = peData.pe - peData.offset;
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;
H A Dline_pe.c61 peData->offset = peOffset;
81 peData->pe = peData->offset;
/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);
H A Dq_pulse.h66 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]);
67 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]);
68 void dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]);
69 void dec_4p_4N1(int32 index, int16 N, int16 offset, int16 pos[]);
70 void dec_4p_4N(int32 index, int16 N, int16 offset, int16 pos[]);
71 void dec_5p_5N(int32 index, int16 N, int16 offset, int16 pos[]);
72 void dec_6p_6N_2(int32 index, int16 N, int16 offset, int16 pos[]);
/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/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],
H A Ddatapart_decode.cpp624 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 Dget_pred_adv_b_add.cpp90 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 Didct.cpp133 int offset = width - 8; local
264 comp += offset;
332 comp += offset;
H A Didct_vca.cpp48 /* 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 Dmb_motion_comp.cpp146 int32 offset; local
186 /* offset to (x,y) position in current luminance MB */
189 offset = (int32)ypos * width + xpos;
196 imv = (offset >> 6) - (xpos >> 6) + (xpos >> 3);
262 c_comp = video->currVop->yChan + offset;
462 /* x position in prediction data offset by motion vector */
467 /* y position in prediction data offset by motion vector */
472 cu_comp = video->currVop->uChan + (offset >> 2) + (xpos >> 2);
473 cv_comp = video->currVop->vChan + (offset >> 2) + (xpos >> 2);
568 int32 offset; local
[all...]
H A Dpost_filter.cpp190 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 Dvlc_decode.cpp143 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...]

Completed in 213 milliseconds

1234567891011>>