Searched refs:pos (Results 1 - 25 of 70) sorted by relevance

123

/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/
H A Dhevc_utils.cpp137 uint32 pos = 0; local
145 coef2 = buffer[pos++];
146 coef3 = buffer[pos++];
149 if (pos >= buffer_length) {
156 coef3 = buffer[pos++];
165 nal_len |= buffer[pos++]<<(size_of_nal_length_field<<3);
179 if (pos + 2 > (nal_len + sizeofNalLengthField)) {
184 nalu_type = (buffer[pos] & 0x7E)>>1 ; //=== nal_unit_type
186 DEBUG_PRINT_LOW("@#@# Pos = %x NalType = %x buflen = %u", pos-1, nalu_type, (unsigned int) buffer_length);
206 bFirstSliceInPic = ((buffer[pos
[all...]
H A Dh264_utils.cpp75 : begin (_begin), end(_end), pos (- 1), bit (0),
90 //return static_cast<uint32> (*pos);
91 return static_cast<uint32> (begin[pos]);
97 ++pos;
98 //if (pos >= stop)
99 if (begin + pos == end) {
107 //cursor |= static_cast<uint32> (*pos);
108 cursor |= static_cast<uint32> (begin[pos]);
247 uint32 pos = 0; local
256 coef2 = buffer[pos
[all...]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
H A Dhevc_utils.cpp137 uint32 pos = 0; local
145 coef2 = buffer[pos++];
146 coef3 = buffer[pos++];
149 if (pos >= buffer_length) {
156 coef3 = buffer[pos++];
165 nal_len |= buffer[pos++]<<(size_of_nal_length_field<<3);
179 if (pos + 2 > (nal_len + sizeofNalLengthField)) {
184 nalu_type = (buffer[pos] & 0x7E)>>1 ; //=== nal_unit_type
186 DEBUG_PRINT_LOW("@#@# Pos = %x NalType = %x buflen = %u", pos-1, nalu_type, (unsigned int) buffer_length);
206 bFirstSliceInPic = ((buffer[pos
[all...]
H A Dh264_utils.cpp75 : begin (_begin), end(_end), pos (- 1), bit (0),
90 //return static_cast<uint32> (*pos);
91 return static_cast<uint32> (begin[pos]);
97 ++pos;
98 //if (pos >= stop)
99 if (begin + pos == end) {
107 //cursor |= static_cast<uint32> (*pos);
108 cursor |= static_cast<uint32> (begin[pos]);
247 uint32 pos = 0; local
256 coef2 = buffer[pos
[all...]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
H A Dhevc_utils.cpp137 uint32 pos = 0; local
145 coef2 = buffer[pos++];
146 coef3 = buffer[pos++];
149 if (pos >= buffer_length) {
156 coef3 = buffer[pos++];
165 nal_len |= buffer[pos++]<<(size_of_nal_length_field<<3);
179 if (pos + 2 > (nal_len + sizeofNalLengthField)) {
184 nalu_type = (buffer[pos] & 0x7E)>>1 ; //=== nal_unit_type
186 DEBUG_PRINT_LOW("@#@# Pos = %x NalType = %x buflen = %u", pos-1, nalu_type, (unsigned int) buffer_length);
206 bFirstSliceInPic = ((buffer[pos
[all...]
H A Dh264_utils.cpp75 : begin (_begin), end(_end), pos (- 1), bit (0),
90 //return static_cast<uint32> (*pos);
91 return static_cast<uint32> (begin[pos]);
97 ++pos;
98 //if (pos >= stop)
99 if (begin + pos == end) {
107 //cursor |= static_cast<uint32> (*pos);
108 cursor |= static_cast<uint32> (begin[pos]);
247 uint32 pos = 0; local
256 coef2 = buffer[pos
[all...]
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
H A Dcpp_bindings.h92 struct nlattr *pos; member in class:nl_iterator
96 pos = (struct nlattr *)nla_data(attr);
100 return nla_ok(pos, rem);
103 pos = (struct nlattr *)nla_next(pos, &(rem));
106 return pos;
109 return pos->nla_type;
112 return nla_get_u8(pos);
115 return nla_get_u16(pos);
118 return nla_get_u32(pos);
[all...]
/hardware/interfaces/keymaster/3.0/vts/functional/
H A Dauthorization_set.cpp127 int pos = -1; local
129 pos = find(i->tag, pos);
130 if (pos != -1 && keyParamEqual(*i, data_[pos])) {
131 data_.erase(data_.begin() + pos);
134 } while (pos != -1);
150 auto pos = data_.begin() + index; local
151 if (pos != data_.end()) {
152 data_.erase(pos);
178 int pos = find(tag); local
285 auto pos = indirect.tellp(); local
[all...]
/hardware/qcom/wlan/qcwcn/wcnss-service/
H A Dwcnss_service.c367 int fd, rc, pos = 0; local
382 msg[pos++] = WCNSS_USR_SERIAL_NUM >> BYTE_1;
383 msg[pos++] = WCNSS_USR_SERIAL_NUM >> BYTE_0;
384 msg[pos++] = serial_num >> BYTE_3;
385 msg[pos++] = serial_num >> BYTE_2;
386 msg[pos++] = serial_num >> BYTE_1;
387 msg[pos++] = serial_num >> BYTE_0;
389 if (write(fd, msg, pos) < 0) {
399 pos = 0;
400 msg[pos
[all...]
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
H A Dviddec_pm_flush.c41 int32_t pos=0, ret = VIDDEC_FW_SUCCESS;/* success */ local
47 workloads_in_input_q = ipc_mq_read_avail(&fwipc->wkld_q[stream_id].mq, (int32_t *)&pos);
48 pos = 0;
50 if(ipc_mq_write_avail(&fwipc->snd_q[stream_id].mq,&pos) >= workloads_in_input_q)
115 pos = 0;
117 if(ipc_mq_read_avail(&fwipc->rcv_q[stream_id].mq, (int32_t *)&pos) != 0)
H A Dmain.c52 int32_t pos=0; local
58 ret += ipc_mq_read_avail(&rcv_q->mq, (int32_t *)&pos);
93 uint32_t inpt_avail=0, output_avail=0, wklds_avail =0 , pos; local
96 inpt_avail = (_dmem.stream_info[indx].buffered_data > 0) || (ipc_mq_read_avail(&rcv_q->mq, (int32_t *)&pos) > 0);
98 output_avail = FwIPC_SpaceAvailForMessage(fwipc, &fwipc->snd_q[indx], CONFIG_IPC_MESSAGE_MAX_SIZE, &pos) >= 2;
99 pos = 0;
101 wklds_avail = (ipc_mq_read_avail(&fwipc->wkld_q[indx].mq, (int32_t *)&pos) >= (CONFIG_IPC_MESSAGE_MAX_SIZE << 1));
271 uint32_t inpt_avail=0, output_avail=0, wklds_avail =0 , pos; local
277 inpt_avail = ipc_mq_read_avail(&rcv_q->mq, (int32_t *)&pos);
280 pos
[all...]
/hardware/intel/common/libva/test/decode/
H A Dloadjpeg.c51 long pos; local
53 pos = ftell(fp);
55 return pos;
/hardware/qcom/wlan/qcwcn/wifi_hal/
H A Dcpp_bindings.h109 struct nlattr *pos; member in class:nl_iterator
113 pos = (struct nlattr *)nla_data(attr);
117 return nla_ok(pos, rem);
120 pos = (struct nlattr *)nla_next(pos, &(rem));
123 return pos;
126 return pos->nla_type;
129 return nla_get_u8(pos);
132 return nla_get_u16(pos);
135 return nla_get_u32(pos);
[all...]
/hardware/intel/common/libmix/videoencoder/
H A Dbitstream.h50 int pos = (bs->bit_offset >> 5); local
55 bs->buffer[pos] = va_swap32((bs->buffer[pos] << bit_left));
61 int pos = (bs->bit_offset >> 5); local
71 bs->buffer[pos] = (bs->buffer[pos] << size_in_bits | val);
74 bs->buffer[pos] = (bs->buffer[pos] << bit_left) | (val >> size_in_bits);
75 bs->buffer[pos] = va_swap32(bs->buffer[pos]);
[all...]
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
H A DAnnOverlayPlane.cpp316 int i, j, pos; local
477 pos = i * N_HORIZ_Y_TAPS + j;
478 backBuffer->Y_HCOEFS[pos] =
479 (xcoeffY[pos].sign << 15 |
480 xcoeffY[pos].exponent << 12 |
481 xcoeffY[pos].mantissa);
486 pos = i * N_HORIZ_UV_TAPS + j;
487 backBuffer->UV_HCOEFS[pos] =
488 (xcoeffUV[pos].sign << 15 |
489 xcoeffUV[pos]
[all...]
H A DAnnCursorPlane.cpp153 mContext.ctx.cs_ctx.pos = 0;
155 mContext.ctx.cs_ctx.pos |= 1 << 15;
159 mContext.ctx.cs_ctx.pos |= 1 << 31;
162 mContext.ctx.cs_ctx.pos |= (dstY & 0xfff) << 16 | (dstX & 0xfff);
H A DAnnRGBPlane.cpp173 mContext.ctx.sp_ctx.pos = ((mode->vdisplay - dstY - dstH) & 0xfff) << 16 | ((mode->hdisplay - dstX - dstW) & 0xfff);
175 mContext.ctx.sp_ctx.pos = (dstY & 0xfff) << 16 | (dstX & 0xfff);
177 mContext.ctx.sp_ctx.pos = (dstY & 0xfff) << 16 | (dstX & 0xfff);
186 "surf = %#x, pos = %#x, size = %#x, contalpa = %#x", mType, mIndex,
191 mContext.ctx.sp_ctx.pos,
305 mContext.ctx.prim_ctx.pos = 0;
322 "surf = %#x, pos = %#x, size = %#x, contalpa = %#x", mType, mIndex,
327 mContext.ctx.prim_ctx.pos,
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
H A DOverlayPlaneBase.cpp848 coeffPtr pCoeff, int pos)
864 pCoeff[pos].exponent = 3;
865 pCoeff[pos].mantissa = icoeff << res;
868 pCoeff[pos].exponent = 2;
869 pCoeff[pos].mantissa = icoeff << res;
872 pCoeff[pos].exponent = 1;
873 pCoeff[pos].mantissa = icoeff << res;
876 pCoeff[pos].exponent = 0;
877 pCoeff[pos].mantissa = icoeff << res;
884 pCoeff[pos]
847 setCoeffRegs(double *coeff, int mantSize, coeffPtr pCoeff, int pos) argument
894 int i, j, j1, num, pos, mantSize; local
983 int i, j, pos; local
[all...]
/hardware/intel/img/hwcomposer/merrifield/ips/common/
H A DOverlayPlaneBase.cpp868 coeffPtr pCoeff, int pos)
884 pCoeff[pos].exponent = 3;
885 pCoeff[pos].mantissa = icoeff << res;
888 pCoeff[pos].exponent = 2;
889 pCoeff[pos].mantissa = icoeff << res;
892 pCoeff[pos].exponent = 1;
893 pCoeff[pos].mantissa = icoeff << res;
896 pCoeff[pos].exponent = 0;
897 pCoeff[pos].mantissa = icoeff << res;
904 pCoeff[pos]
867 setCoeffRegs(double *coeff, int mantSize, coeffPtr pCoeff, int pos) argument
914 int i, j, j1, num, pos, mantSize; local
1003 int i, j, pos; local
[all...]
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
H A DAnnOverlayPlane.cpp371 int i, j, pos; local
545 pos = i * N_HORIZ_Y_TAPS + j;
546 backBuffer->Y_HCOEFS[pos] =
547 (xcoeffY[pos].sign << 15 |
548 xcoeffY[pos].exponent << 12 |
549 xcoeffY[pos].mantissa);
554 pos = i * N_HORIZ_UV_TAPS + j;
555 backBuffer->UV_HCOEFS[pos] =
556 (xcoeffUV[pos].sign << 15 |
557 xcoeffUV[pos]
[all...]
/hardware/interfaces/tv/input/1.0/default/
H A DTvInput.cpp90 int32_t pos = 0; local
93 tvStreamConfigs[pos].streamId = configs[i].stream_id;
94 tvStreamConfigs[pos].maxVideoWidth = configs[i].max_video_width;
95 tvStreamConfigs[pos].maxVideoHeight = configs[i].max_video_height;
96 ++pos;
/hardware/interfaces/configstore/utils/include/configstore/
H A DUtils.h73 auto pos = iname.find("func = "); variable
74 if (pos != std::string::npos) {
75 iname = iname.substr(pos + sizeof("func = "));
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/
H A Dh264_utils.cpp79 : begin (_begin), end(_end), pos (- 1), bit (0),
94 //return static_cast<uint32> (*pos);
95 return static_cast<uint32> (begin[pos]);
101 ++pos;
102 //if (pos >= stop)
103 if (begin + pos == end)
112 //cursor |= static_cast<uint32> (*pos);
113 cursor |= static_cast<uint32> (begin[pos]);
257 uint32 pos = 0; local
266 coef2 = buffer[pos
[all...]
/hardware/intel/img/psb_video/src/
H A Dpsb_overlay.c287 SetCoeffRegs(double *coeff, int mantSize, coeffPtr pCoeff, int pos) argument
303 pCoeff[pos].exponent = 3;
304 pCoeff[pos].mantissa = icoeff << res;
307 pCoeff[pos].exponent = 2;
308 pCoeff[pos].mantissa = icoeff << res;
311 pCoeff[pos].exponent = 1;
312 pCoeff[pos].mantissa = icoeff << res;
315 pCoeff[pos].exponent = 0;
316 pCoeff[pos].mantissa = icoeff << res;
323 pCoeff[pos]
332 int i, j, j1, num, pos, mantSize; local
598 int i, j, pos; local
[all...]
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
H A DTngCursorPlane.cpp176 mContext.ctx.cs_ctx.pos = 0;
178 mContext.ctx.cs_ctx.pos |= 1 << 15;
182 mContext.ctx.cs_ctx.pos |= 1 << 31;
185 mContext.ctx.cs_ctx.pos |= (dstY & 0xfff) << 16 | (dstX & 0xfff);

Completed in 454 milliseconds

123