/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/x86/ |
D | idct_blk_mmx.c | 16 extern void vp8_dequantize_b_impl_mmx(short *sq, short *dq, short *q); 27 (short *q, short *dq, in vp8_dequant_idct_add_y_block_mmx() argument 35 vp8_dequant_idct_add_mmx (q, dq, dst, stride); in vp8_dequant_idct_add_y_block_mmx() 38 vp8_dc_only_idct_add_mmx (q[0]*dq[0], dst, stride, dst, stride); in vp8_dequant_idct_add_y_block_mmx() 39 vpx_memset(q, 0, 2 * sizeof(q[0])); in vp8_dequant_idct_add_y_block_mmx() 43 vp8_dequant_idct_add_mmx (q+16, dq, dst+4, stride); in vp8_dequant_idct_add_y_block_mmx() 46 vp8_dc_only_idct_add_mmx (q[16]*dq[0], dst+4, stride, in vp8_dequant_idct_add_y_block_mmx() 48 vpx_memset(q + 16, 0, 2 * sizeof(q[0])); in vp8_dequant_idct_add_y_block_mmx() 52 vp8_dequant_idct_add_mmx (q+32, dq, dst+8, stride); in vp8_dequant_idct_add_y_block_mmx() 55 vp8_dc_only_idct_add_mmx (q[32]*dq[0], dst+8, stride, in vp8_dequant_idct_add_y_block_mmx() [all …]
|
D | idct_blk_sse2.c | 15 (short *q, short *dq , 18 (short *q, short *dq , 22 (short *q, short *dq, in vp8_dequant_idct_add_y_block_sse2() argument 32 vp8_idct_dequant_full_2x_sse2 (q, dq, dst, stride); in vp8_dequant_idct_add_y_block_sse2() 34 vp8_idct_dequant_0_2x_sse2 (q, dq, dst, stride); in vp8_dequant_idct_add_y_block_sse2() 39 vp8_idct_dequant_full_2x_sse2 (q+32, dq, dst+8, stride); in vp8_dequant_idct_add_y_block_sse2() 41 vp8_idct_dequant_0_2x_sse2 (q+32, dq, dst+8, stride); in vp8_dequant_idct_add_y_block_sse2() 43 q += 64; in vp8_dequant_idct_add_y_block_sse2() 50 (short *q, short *dq, in vp8_dequant_idct_add_uv_block_sse2() argument 56 vp8_idct_dequant_full_2x_sse2 (q, dq, dstu, stride); in vp8_dequant_idct_add_uv_block_sse2() [all …]
|
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/ |
D | queue.c | 52 Queue *q = (Queue *) malloc(sizeof(Queue)); in alloc_queue() local 53 if (q) in alloc_queue() 55 q->head = q->tail = NULL; in alloc_queue() 56 q->current_size = 0; in alloc_queue() 58 return q; in alloc_queue() 61 void free_queue(Queue *q) in free_queue() argument 63 while (q->current_size) in free_queue() 65 pop(q); in free_queue() 69 void free_queue_and_qelement(Queue *q) in free_queue_and_qelement() argument 71 while (q->current_size) in free_queue_and_qelement() [all …]
|
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/ |
D | queue.c | 50 Queue *q = (Queue *) malloc(sizeof(Queue)); in alloc_queue() local 52 if (q) { in alloc_queue() 53 q->head = q->tail = NULL; in alloc_queue() 54 q->current_size = 0; in alloc_queue() 57 return q; in alloc_queue() 60 void free_queue(Queue *q) in free_queue() argument 62 while (q->current_size) { in free_queue() 63 pop(q); in free_queue() 67 void free_queue_and_qelement(Queue *q) in free_queue_and_qelement() argument 69 while (q->current_size) { in free_queue_and_qelement() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/armv6/ |
D | idct_blk_v6.c | 15 void vp8_dequant_idct_add_y_block_v6(short *q, short *dq, in vp8_dequant_idct_add_y_block_v6() argument 24 vp8_dequant_idct_add_v6 (q, dq, dst, stride); in vp8_dequant_idct_add_y_block_v6() 27 vp8_dc_only_idct_add_v6 (q[0]*dq[0], dst, stride, dst, stride); in vp8_dequant_idct_add_y_block_v6() 28 ((int *)q)[0] = 0; in vp8_dequant_idct_add_y_block_v6() 32 vp8_dequant_idct_add_v6 (q+16, dq, dst+4, stride); in vp8_dequant_idct_add_y_block_v6() 35 vp8_dc_only_idct_add_v6 (q[16]*dq[0], dst+4, stride, dst+4, stride); in vp8_dequant_idct_add_y_block_v6() 36 ((int *)(q+16))[0] = 0; in vp8_dequant_idct_add_y_block_v6() 40 vp8_dequant_idct_add_v6 (q+32, dq, dst+8, stride); in vp8_dequant_idct_add_y_block_v6() 43 vp8_dc_only_idct_add_v6 (q[32]*dq[0], dst+8, stride, dst+8, stride); in vp8_dequant_idct_add_y_block_v6() 44 ((int *)(q+32))[0] = 0; in vp8_dequant_idct_add_y_block_v6() [all …]
|
/hardware/invensense/60xx/mlsdk/mllite/ |
D | mlMathFunc.c | 123 void inv_q_normalize(long *q) in inv_q_normalize() argument 129 normSF += ((double)q[i]) / 1073741824L * ((double)q[i]) / 1073741824L; in inv_q_normalize() 134 q[i] = (int)((double)q[i] * normSF); in inv_q_normalize() 137 q[0] = 1073741824L; in inv_q_normalize() 138 q[1] = 0; in inv_q_normalize() 139 q[2] = 0; in inv_q_normalize() 140 q[3] = 0; in inv_q_normalize() 144 void inv_q_invert(const long *q, long *qInverted) in inv_q_invert() argument 147 qInverted[0] = q[0]; in inv_q_invert() 148 qInverted[1] = -q[1]; in inv_q_invert() [all …]
|
D | mlMathFunc.h | 47 void inv_q_normalize(long *q); 48 void inv_q_invert(const long *q, long *qInverted); 51 void inv_q_normalizef(float *q); 52 void inv_q_norm4(float *q); 53 void inv_q_invertf(const float *q, float *qInverted);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/neon/ |
D | idct_blk_neon.c | 17 void idct_dequant_full_2x_neon(short *q, short *dq, 19 void idct_dequant_0_2x_neon(short *q, short dq, 23 void vp8_dequant_idct_add_y_block_neon(short *q, short *dq, in vp8_dequant_idct_add_y_block_neon() argument 34 idct_dequant_full_2x_neon (q, dq, dst, stride); in vp8_dequant_idct_add_y_block_neon() 36 idct_dequant_0_2x_neon (q, dq[0], dst, stride); in vp8_dequant_idct_add_y_block_neon() 42 idct_dequant_full_2x_neon (q+32, dq, dst+8, stride); in vp8_dequant_idct_add_y_block_neon() 44 idct_dequant_0_2x_neon (q+32, dq[0], dst+8, stride); in vp8_dequant_idct_add_y_block_neon() 46 q += 64; in vp8_dequant_idct_add_y_block_neon() 52 void vp8_dequant_idct_add_uv_block_neon(short *q, short *dq, in vp8_dequant_idct_add_uv_block_neon() argument 60 idct_dequant_full_2x_neon (q, dq, dstu, stride); in vp8_dequant_idct_add_uv_block_neon() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_quantize.c | 157 int i, q, quant; in vp9_init_quantizer() local 159 for (q = 0; q < QINDEX_RANGE; q++) { in vp9_init_quantizer() 160 const int qzbin_factor = q == 0 ? 64 : (vp9_dc_quant(q, 0) < 148 ? 84 : 80); in vp9_init_quantizer() 161 const int qrounding_factor = q == 0 ? 64 : 48; in vp9_init_quantizer() 165 quant = i == 0 ? vp9_dc_quant(q, cm->y_dc_delta_q) in vp9_init_quantizer() 166 : vp9_ac_quant(q, 0); in vp9_init_quantizer() 167 invert_quant(&quants->y_quant[q][i], &quants->y_quant_shift[q][i], quant); in vp9_init_quantizer() 168 quants->y_zbin[q][i] = ROUND_POWER_OF_TWO(qzbin_factor * quant, 7); in vp9_init_quantizer() 169 quants->y_round[q][i] = (qrounding_factor * quant) >> 7; in vp9_init_quantizer() 170 cm->y_dequant[q][i] = quant; in vp9_init_quantizer() [all …]
|
D | vp9_ratectrl.c | 101 const double q = vp9_convert_qindex_to_q(qindex); in vp9_rc_bits_per_mb() local 105 enumerator += (int)(enumerator * q) >> 12; in vp9_rc_bits_per_mb() 106 return (int)(0.5 + (enumerator * correction_factor / q)); in vp9_rc_bits_per_mb() 154 static int estimate_bits_at_q(int frame_kind, int q, int mbs, in estimate_bits_at_q() argument 156 const int bpm = (int)(vp9_rc_bits_per_mb(frame_kind, q, correction_factor)); in estimate_bits_at_q() 302 const int q = cpi->common.base_qindex; in vp9_rc_update_rate_correction_factors() local 315 projected_size_based_on_q = estimate_bits_at_q(cpi->common.frame_type, q, in vp9_rc_update_rate_correction_factors() 367 int q = active_worst_quality; in vp9_rc_regulate_q() local 388 q = i; in vp9_rc_regulate_q() 390 q = i - 1; in vp9_rc_regulate_q() [all …]
|
D | vp9_write_bit_buffer.c | 20 const int q = CHAR_BIT - 1 - off % CHAR_BIT; in vp9_wb_write_bit() local 21 if (q == CHAR_BIT -1) { in vp9_wb_write_bit() 22 wb->bit_buffer[p] = bit << q; in vp9_wb_write_bit() 24 wb->bit_buffer[p] &= ~(1 << q); in vp9_wb_write_bit() 25 wb->bit_buffer[p] |= bit << q; in vp9_wb_write_bit()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
D | idct_blk.c | 22 (short *q, short *dq, in vp8_dequant_idct_add_y_block_c() argument 32 vp8_dequant_idct_add_c (q, dq, dst, stride); in vp8_dequant_idct_add_y_block_c() 35 vp8_dc_only_idct_add_c (q[0]*dq[0], dst, stride, dst, stride); in vp8_dequant_idct_add_y_block_c() 36 vpx_memset(q, 0, 2 * sizeof(q[0])); in vp8_dequant_idct_add_y_block_c() 39 q += 16; in vp8_dequant_idct_add_y_block_c() 48 (short *q, short *dq, in vp8_dequant_idct_add_uv_block_c() argument 58 vp8_dequant_idct_add_c (q, dq, dstu, stride); in vp8_dequant_idct_add_uv_block_c() 61 vp8_dc_only_idct_add_c (q[0]*dq[0], dstu, stride, dstu, stride); in vp8_dequant_idct_add_uv_block_c() 62 vpx_memset(q, 0, 2 * sizeof(q[0])); in vp8_dequant_idct_add_uv_block_c() 65 q += 16; in vp8_dequant_idct_add_uv_block_c() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/mips/dspr2/ |
D | idct_blk_dspr2.c | 17 (short *q, short *dq, in vp8_dequant_idct_add_y_block_dspr2() argument 27 vp8_dequant_idct_add_dspr2(q, dq, dst, stride); in vp8_dequant_idct_add_y_block_dspr2() 30 vp8_dc_only_idct_add_dspr2(q[0]*dq[0], dst, stride, dst, stride); in vp8_dequant_idct_add_y_block_dspr2() 31 ((int *)q)[0] = 0; in vp8_dequant_idct_add_y_block_dspr2() 34 q += 16; in vp8_dequant_idct_add_y_block_dspr2() 43 (short *q, short *dq, in vp8_dequant_idct_add_uv_block_dspr2() argument 53 vp8_dequant_idct_add_dspr2(q, dq, dstu, stride); in vp8_dequant_idct_add_uv_block_dspr2() 56 vp8_dc_only_idct_add_dspr2(q[0]*dq[0], dstu, stride, dstu, stride); in vp8_dequant_idct_add_uv_block_dspr2() 57 ((int *)q)[0] = 0; in vp8_dequant_idct_add_uv_block_dspr2() 60 q += 16; in vp8_dequant_idct_add_uv_block_dspr2() [all …]
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 219 void inv_q_normalize(long *q) in inv_q_normalize() argument 222 inv_vector_normalize(q, 4); in inv_q_normalize() 225 void inv_q_invert(const long *q, long *qInverted) in inv_q_invert() argument 228 qInverted[0] = q[0]; in inv_q_invert() 229 qInverted[1] = -q[1]; in inv_q_invert() 230 qInverted[2] = -q[2]; in inv_q_invert() 231 qInverted[3] = -q[3]; in inv_q_invert() 247 void inv_q_rotate(const long *q, const long *in, long *out) in inv_q_rotate() argument 255 inv_q_mult(q, in4, q_temp1); in inv_q_rotate() 256 inv_q_invert(q, q_temp2); in inv_q_rotate() [all …]
|
D | ml_math_func.h | 73 void inv_q_normalize(long *q); 74 void inv_q_invert(const long *q, long *qInverted); 77 void inv_q_normalizef(float *q); 78 void inv_q_norm4(float *q); 79 void inv_q_invertf(const float *q, float *qInverted); 97 void inv_q_rotate(const long *q, const long *in, long *out);
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 219 void inv_q_normalize(long *q) in inv_q_normalize() argument 222 inv_vector_normalize(q, 4); in inv_q_normalize() 225 void inv_q_invert(const long *q, long *qInverted) in inv_q_invert() argument 228 qInverted[0] = q[0]; in inv_q_invert() 229 qInverted[1] = -q[1]; in inv_q_invert() 230 qInverted[2] = -q[2]; in inv_q_invert() 231 qInverted[3] = -q[3]; in inv_q_invert() 247 void inv_q_rotate(const long *q, const long *in, long *out) in inv_q_rotate() argument 255 inv_q_mult(q, in4, q_temp1); in inv_q_rotate() 256 inv_q_invert(q, q_temp2); in inv_q_rotate() [all …]
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 219 void inv_q_normalize(long *q) in inv_q_normalize() argument 222 inv_vector_normalize(q, 4); in inv_q_normalize() 225 void inv_q_invert(const long *q, long *qInverted) in inv_q_invert() argument 228 qInverted[0] = q[0]; in inv_q_invert() 229 qInverted[1] = -q[1]; in inv_q_invert() 230 qInverted[2] = -q[2]; in inv_q_invert() 231 qInverted[3] = -q[3]; in inv_q_invert() 247 void inv_q_rotate(const long *q, const long *in, long *out) in inv_q_rotate() argument 255 inv_q_mult(q, in4, q_temp1); in inv_q_rotate() 256 inv_q_invert(q, q_temp2); in inv_q_rotate() [all …]
|
D | ml_math_func.h | 73 void inv_q_normalize(long *q); 74 void inv_q_invert(const long *q, long *qInverted); 77 void inv_q_normalizef(float *q); 78 void inv_q_norm4(float *q); 79 void inv_q_invertf(const float *q, float *qInverted); 97 void inv_q_rotate(const long *q, const long *in, long *out);
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | bcmutils.c | 235 struct pktq_prec *q; in pktq_penq() local 243 q = &pq->q[prec]; in pktq_penq() 245 if (q->head) in pktq_penq() 246 PKTSETLINK(q->tail, p); in pktq_penq() 248 q->head = p; in pktq_penq() 250 q->tail = p; in pktq_penq() 251 q->len++; in pktq_penq() 264 struct pktq_prec *q; in pktq_penq_head() local 272 q = &pq->q[prec]; in pktq_penq_head() 274 if (q->head == NULL) in pktq_penq_head() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/ |
D | read_device_node.c | 77 int q[3]; in read_data() local 161 q[0] = *(int *)(dptr + 4); in read_data() 163 q[1] = *(int *)(dptr); in read_data() 164 q[2] = *(int *)(dptr + 4); in read_data() 166 printf("LPQ_3AXES, %d, %d, %d, %lld\n", q[0], q[1], q[2], *(long long *)dptr); in read_data() 172 q[0] = *(int *)(dptr + 4); in read_data() 174 q[1] = *(int *)(dptr); in read_data() 175 q[2] = *(int *)(dptr + 4); in read_data() 177 printf("LPQ_6AXES, %d, %d, %d, %lld\n", q[0], q[1], q[2], *(long long *)dptr); in read_data()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libmkv/ |
D | EbmlBufferWriter.c | 18 static void _Serialize(EbmlGlobal *glob, const unsigned char *p, const unsigned char *q) { in _Serialize() argument 19 while (q != p) { in _Serialize() 20 --q; in _Serialize() 21 memcpy(&(glob->buf[glob->offset]), q, 1); in _Serialize() 30 const unsigned char *const q = p + len; in Ebml_Serialize() local 32 _Serialize(glob, p, q); in Ebml_Serialize()
|
/hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/ |
D | queue.h | 34 void free_queue(Queue *q); 35 void free_queue_and_qelement(Queue *q); 36 int push(Queue *q, void * element); 37 void *pop(Queue *q);
|
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/ |
D | queue.h | 34 void free_queue(Queue *q); 35 void free_queue_and_qelement(Queue *q); 36 int push(Queue *q, void * element); 37 void *pop(Queue *q);
|
/hardware/libhardware/tests/camera2/ |
D | camera2_utils.h | 84 static MetadataQueue* getInstance(const camera2_frame_queue_dst_ops_t *q); 85 static MetadataQueue* getInstance(const camera2_request_queue_src_ops_t *q); 87 static int consumer_buffer_count(const camera2_request_queue_src_ops_t *q); 89 static int consumer_dequeue(const camera2_request_queue_src_ops_t *q, 92 static int consumer_free(const camera2_request_queue_src_ops_t *q, 95 static int producer_dequeue(const camera2_frame_queue_dst_ops_t *q, 99 static int producer_cancel(const camera2_frame_queue_dst_ops_t *q, 102 static int producer_enqueue(const camera2_frame_queue_dst_ops_t *q,
|
/hardware/intel/img/libdrm/libdrm/intel/ |
D | mm.c | 220 struct mem_block *q = p->next; in Join2Blocks() local 222 assert(p->ofs + p->size == q->ofs); in Join2Blocks() 223 p->size += q->size; in Join2Blocks() 225 p->next = q->next; in Join2Blocks() 226 q->next->prev = p; in Join2Blocks() 228 q->next_free->prev_free = q->prev_free; in Join2Blocks() 229 q->prev_free->next_free = q->next_free; in Join2Blocks() 231 free(q); in Join2Blocks()
|