/hardware/intel/common/omx-components/videocodec/libvpx_internal/libwebm/ |
D | mkvparser.cpp | 27 long long mkvparser::ReadUInt(IMkvReader* pReader, long long pos, long& len) in ReadUInt() argument 30 assert(pos >= 0); in ReadUInt() 47 status = pReader->Read(pos, 1, &b); in ReadUInt() 71 ++pos; in ReadUInt() 75 status = pReader->Read(pos, 1, &b); in ReadUInt() 92 ++pos; in ReadUInt() 100 long long pos, in GetUIntLength() argument 104 assert(pos >= 0); in GetUIntLength() 114 if (pos >= available) in GetUIntLength() 115 return pos; //too few bytes available in GetUIntLength() [all …]
|
D | mkvparser.hpp | 25 virtual int Read(long long pos, long len, unsigned char* buf) = 0; 33 long long UnserializeUInt(IMkvReader*, long long pos, long long size); 35 long UnserializeFloat(IMkvReader*, long long pos, long long size, double&); 36 long UnserializeInt(IMkvReader*, long long pos, long len, long long& result); 40 long long pos, 46 long long& pos, //consume id and size fields 105 long long pos; //absolute offset member 549 long long pos; member 582 long long pos, //payload 735 long long& pos, [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/ |
D | mkvparser.cpp | 32 long long mkvparser::ReadUInt(IMkvReader* pReader, long long pos, long& len) in ReadUInt() argument 35 assert(pos >= 0); in ReadUInt() 52 status = pReader->Read(pos, 1, &b); in ReadUInt() 76 ++pos; in ReadUInt() 80 status = pReader->Read(pos, 1, &b); in ReadUInt() 97 ++pos; in ReadUInt() 105 long long pos, in GetUIntLength() argument 109 assert(pos >= 0); in GetUIntLength() 119 if (pos >= available) in GetUIntLength() 120 return pos; //too few bytes available in GetUIntLength() [all …]
|
D | mkvparser.hpp | 25 virtual int Read(long long pos, long len, unsigned char* buf) = 0; 33 long long UnserializeUInt(IMkvReader*, long long pos, long long size); 35 long UnserializeFloat(IMkvReader*, long long pos, long long size, double&); 36 long UnserializeInt(IMkvReader*, long long pos, long len, long long& result); 40 long long pos, 46 long long& pos, //consume id and size fields 105 long long pos; //absolute offset member 580 long Parse(IMkvReader*, long long pos, long long size); 610 long Parse(IMkvReader*, long long pos, long long size); 613 long ParseDisplay(IMkvReader*, long long pos, long long size); [all …]
|
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/ |
D | hevc_utils.cpp | 137 uint32 pos = 0; in isNewFrame() local 145 coef2 = buffer[pos++]; in isNewFrame() 146 coef3 = buffer[pos++]; in isNewFrame() 149 if (pos >= buffer_length) { in isNewFrame() 156 coef3 = buffer[pos++]; in isNewFrame() 165 nal_len |= buffer[pos++]<<(size_of_nal_length_field<<3); in isNewFrame() 179 if (pos + 2 > (nal_len + sizeofNalLengthField)) { in isNewFrame() 184 nalu_type = (buffer[pos] & 0x7E)>>1 ; //=== nal_unit_type in isNewFrame() 186 …DEBUG_PRINT_LOW("@#@# Pos = %x NalType = %x buflen = %u", pos-1, nalu_type, (unsigned int) buffer_… in isNewFrame() 206 bFirstSliceInPic = ((buffer[pos+2] & 0x80)>>7); in isNewFrame()
|
D | h264_utils.cpp | 75 : begin (_begin), end(_end), pos (- 1), bit (0), in RbspParser() 91 return static_cast<uint32> (begin[pos]); in next() 97 ++pos; in advance() 99 if (begin + pos == end) { in advance() 108 cursor |= static_cast<uint32> (begin[pos]); in advance() 247 uint32 pos = 0; in extract_rbsp() local 256 coef2 = buffer[pos++]; in extract_rbsp() 257 coef3 = buffer[pos++]; in extract_rbsp() 259 if (pos >= buffer_length) { in extract_rbsp() 266 coef3 = buffer[pos++]; in extract_rbsp() [all …]
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | cpp_bindings.h | 92 struct nlattr *pos; variable 96 pos = (struct nlattr *)nla_data(attr); in nl_iterator() 100 return nla_ok(pos, rem); in has_next() 103 pos = (struct nlattr *)nla_next(pos, &(rem)); in next() 106 return pos; in get() 109 return pos->nla_type; in get_type() 112 return nla_get_u8(pos); in get_u8() 115 return nla_get_u16(pos); in get_u16() 118 return nla_get_u32(pos); in get_u32() 121 return nla_get_u64(pos); in get_u64() [all …]
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | cpp_bindings.h | 109 struct nlattr *pos; variable 113 pos = (struct nlattr *)nla_data(attr); in nl_iterator() 117 return nla_ok(pos, rem); in has_next() 120 pos = (struct nlattr *)nla_next(pos, &(rem)); in next() 123 return pos; in get() 126 return pos->nla_type; in get_type() 129 return nla_get_u8(pos); in get_u8() 132 return nla_get_u16(pos); in get_u16() 135 return nla_get_u32(pos); in get_u32() 138 return nla_get_u64(pos); in get_u64() [all …]
|
/hardware/intel/img/hwcomposer/ips/common/ |
D | OverlayPlaneBase.cpp | 843 coeffPtr pCoeff, int pos) in setCoeffRegs() argument 859 pCoeff[pos].exponent = 3; in setCoeffRegs() 860 pCoeff[pos].mantissa = icoeff << res; in setCoeffRegs() 863 pCoeff[pos].exponent = 2; in setCoeffRegs() 864 pCoeff[pos].mantissa = icoeff << res; in setCoeffRegs() 867 pCoeff[pos].exponent = 1; in setCoeffRegs() 868 pCoeff[pos].mantissa = icoeff << res; in setCoeffRegs() 871 pCoeff[pos].exponent = 0; in setCoeffRegs() 872 pCoeff[pos].mantissa = icoeff << res; in setCoeffRegs() 879 pCoeff[pos].sign = sign; in setCoeffRegs() [all …]
|
/hardware/intel/img/hwcomposer/ips/anniedale/ |
D | AnnOverlayPlane.cpp | 360 int i, j, pos; in scalingSetup() local 529 pos = i * N_HORIZ_Y_TAPS + j; in scalingSetup() 530 backBuffer->Y_HCOEFS[pos] = in scalingSetup() 531 (xcoeffY[pos].sign << 15 | in scalingSetup() 532 xcoeffY[pos].exponent << 12 | in scalingSetup() 533 xcoeffY[pos].mantissa); in scalingSetup() 538 pos = i * N_HORIZ_UV_TAPS + j; in scalingSetup() 539 backBuffer->UV_HCOEFS[pos] = in scalingSetup() 540 (xcoeffUV[pos].sign << 15 | in scalingSetup() 541 xcoeffUV[pos].exponent << 12 | in scalingSetup() [all …]
|
/hardware/intel/common/libmix/videoencoder/ |
D | bitstream.h | 50 int pos = (bs->bit_offset >> 5); in bitstream_end() local 55 bs->buffer[pos] = va_swap32((bs->buffer[pos] << bit_left)); in bitstream_end() 61 int pos = (bs->bit_offset >> 5); in bitstream_put_ui() local 71 bs->buffer[pos] = (bs->buffer[pos] << size_in_bits | val); in bitstream_put_ui() 74 bs->buffer[pos] = (bs->buffer[pos] << bit_left) | (val >> size_in_bits); in bitstream_put_ui() 75 bs->buffer[pos] = va_swap32(bs->buffer[pos]); in bitstream_put_ui() 77 if (pos + 1 == bs->max_size_in_dword) { in bitstream_put_ui() 84 bs->buffer[pos + 1] = val; in bitstream_put_ui()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/mips/dspr2/ |
D | vp9_itrans4_dspr2.c | 233 uint32_t pos = 45; in vp9_idct4x4_16_add_dspr2() local 239 : [pos] "r" (pos) in vp9_idct4x4_16_add_dspr2() 255 uint32_t pos = 45; in vp9_idct4x4_1_add_dspr2() local 263 : [pos] "r" (pos) in vp9_idct4x4_1_add_dspr2() 371 uint32_t pos = 45; in vp9_iht4x4_16_add_dspr2() local 377 : [pos] "r" (pos) in vp9_iht4x4_16_add_dspr2()
|
D | vp9_itrans8_dspr2.c | 455 uint32_t pos = 45; in vp9_idct8x8_64_add_dspr2() local 461 : [pos] "r" (pos) in vp9_idct8x8_64_add_dspr2() 555 uint32_t pos = 45; in vp9_iht8x8_64_add_dspr2() local 561 : [pos] "r" (pos) in vp9_iht8x8_64_add_dspr2() 624 uint32_t pos = 45; in vp9_idct8x8_10_add_dspr2() local 630 : [pos] "r" (pos) in vp9_idct8x8_10_add_dspr2() 667 uint32_t pos = 45; in vp9_idct8x8_1_add_dspr2() local 678 : [pos] "r" (pos) in vp9_idct8x8_1_add_dspr2()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_writer.c | 21 br->pos = 0; in vp9_start_encode() 32 if ((br->buffer[br->pos - 1] & 0xe0) == 0xc0) in vp9_stop_encode() 33 br->buffer[br->pos++] = 0; in vp9_stop_encode()
|
D | vp9_writer.h | 27 unsigned int pos; member 63 int x = br->pos - 1; in vp9_write() 73 br->buffer[br->pos++] = (lowvalue >> (24 - offset)); in vp9_write()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/armv5te/ |
D | boolhuff_armv5te.asm | 30 VALIDATE_POS $start, $pos 34 mov r1, $pos 95 sub r4, r4, #1 ; x = w->pos-1 116 ldr r4, [r0, #vp8_writer_pos] ; w->pos 119 add r1, r4, #1 ; w->pos++ 124 VALIDATE_POS r9, r1 ; validate_buffer at pos 126 strb r7, [r9, r4] ; w->buffer[w->pos++] 171 sub r4, r4, #1 ; x = w->pos-1 192 ldr r4, [r0, #vp8_writer_pos] ; w->pos 195 add r1, r4, #1 ; w->pos++ [all …]
|
D | vp8_packtokens_partitions_armv5.asm | 27 VALIDATE_POS $start, $pos 31 mov r1, $pos 170 sub r4, r4, #1 ; x = w->pos-1 191 ldr r4, [r0, #vp8_writer_pos] ; w->pos 194 add r11, r4, #1 ; w->pos++ 199 VALIDATE_POS r10, r11 ; validate_buffer at pos 201 strb r7, [r10, r4] ; w->buffer[w->pos++] 268 sub r4, r4, #1 ; x = w->pos - 1 292 add r11, r4, #1 ; w->pos++ 297 VALIDATE_POS r10, r11 ; validate_buffer at pos [all …]
|
D | vp8_packtokens_armv5.asm | 28 VALIDATE_POS $start, $pos 32 mov r1, $pos 120 sub r4, r4, #1 ; x = w->pos-1 141 ldr r4, [r0, #vp8_writer_pos] ; w->pos 144 add r11, r4, #1 ; w->pos++ 149 VALIDATE_POS r10, r11 ; validate_buffer at pos 151 strb r7, [r10, r4] ; w->buffer[w->pos++] 218 sub r4, r4, #1 ; x = w->pos - 1 242 add r11, r4, #1 ; w->pos++ 247 VALIDATE_POS r10, r11 ; validate_buffer at pos [all …]
|
D | vp8_packtokens_mbrow_armv5.asm | 28 VALIDATE_POS $start, $pos 32 mov r1, $pos 141 sub r4, r4, #1 ; x = w->pos-1 162 ldr r4, [r0, #vp8_writer_pos] ; w->pos 165 add r11, r4, #1 ; w->pos++ 170 VALIDATE_POS r10, r11 ; validate_buffer at pos 172 strb r7, [r10, r4] ; w->buffer[w->pos++] 239 sub r4, r4, #1 ; x = w->pos - 1 263 add r11, r4, #1 ; w->pos++ 268 VALIDATE_POS r10, r11 ; validate_buffer at pos [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
D | decode_with_partial_drops.c | 109 int next_packet(struct parsed_header* hdr, int pos, int length, int mtu) in next_packet() argument 112 int remaining = length - pos; in next_packet() 116 int remainFirst = uncomp_part_size + hdr->first_part_size - pos; in next_packet() 145 int pos = 0; in throw_packets() local 173 while ((pkg_size = next_packet(&hdr, pos, *size, mtu)) > 0) in throw_packets() 178 memcpy(loss_frame + loss_pos, frame + pos, pkg_size); in throw_packets() 188 pos += pkg_size; in throw_packets()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
D | boolhuff.h | 34 unsigned int pos; member 106 int x = br->pos - 1; in vp8_encode_bool() 117 validate_buffer(br->buffer + br->pos, 1, br->buffer_end, br->error); in vp8_encode_bool() 118 br->buffer[br->pos++] = (lowvalue >> (24 - offset)); in vp8_encode_bool()
|
/hardware/intel/img/psb_video/src/ |
D | psb_overlay.c | 287 SetCoeffRegs(double *coeff, int mantSize, coeffPtr pCoeff, int pos) in SetCoeffRegs() argument 303 pCoeff[pos].exponent = 3; in SetCoeffRegs() 304 pCoeff[pos].mantissa = icoeff << res; in SetCoeffRegs() 307 pCoeff[pos].exponent = 2; in SetCoeffRegs() 308 pCoeff[pos].mantissa = icoeff << res; in SetCoeffRegs() 311 pCoeff[pos].exponent = 1; in SetCoeffRegs() 312 pCoeff[pos].mantissa = icoeff << res; in SetCoeffRegs() 315 pCoeff[pos].exponent = 0; in SetCoeffRegs() 316 pCoeff[pos].mantissa = icoeff << res; in SetCoeffRegs() 323 pCoeff[pos].sign = sign; in SetCoeffRegs() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
D | webmenc.c | 84 off_t pos; in Ebml_EndSubElement() local 88 pos = ftello(glob->stream); in Ebml_EndSubElement() 91 size = pos - *ebmlLoc - 8; in Ebml_EndSubElement() 99 fseeko(glob->stream, pos, SEEK_SET); in Ebml_EndSubElement() 104 off_t pos) { in write_webm_seek_element() argument 105 uint64_t offset = pos - ebml->position_reference; in write_webm_seek_element() 114 off_t pos; in write_webm_seek_info() local 121 pos = ftello(ebml->stream); in write_webm_seek_info() 126 ebml->seek_info_pos = pos; in write_webm_seek_info()
|
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/ |
D | h264_utils.cpp | 79 : begin (_begin), end(_end), pos (- 1), bit (0), in RbspParser() 95 return static_cast<uint32> (begin[pos]); in next() 101 ++pos; in advance() 103 if (begin + pos == end) in advance() 113 cursor |= static_cast<uint32> (begin[pos]); in advance() 257 uint32 pos = 0; in extract_rbsp() local 266 coef2 = buffer[pos++]; in extract_rbsp() 267 coef3 = buffer[pos++]; in extract_rbsp() 269 if(pos >= buffer_length) in extract_rbsp() 277 coef3 = buffer[pos++]; in extract_rbsp() [all …]
|
/hardware/intel/common/libva/test/decode/ |
D | loadjpeg.c | 51 long pos; in filesize() local 53 pos = ftell(fp); in filesize() 55 return pos; in filesize()
|