Lines Matching refs:buf

370     memcpy(buf, &_N_ColorMatrix_##x, _N_ColorMatrix_##x##_len); \
371 buf += _N_ColorMatrix_##x##_len
374 static uint8_t * addBranch(uint8_t *buf, const uint8_t *target, uint32_t condition) {
375 size_t off = (target - buf - 8) >> 2;
382 ((uint32_t *)buf)[0] = op;
383 return buf + 4;
397 static uint8_t * addVMLAL_S16(uint8_t *buf, uint32_t dest_q, uint32_t src_d1, uint32_t src_d2, uint32_t src_d2_s) {
400 ((uint32_t *)buf)[0] = op;
401 return buf + 4;
404 static uint8_t * addVMULL_S16(uint8_t *buf, uint32_t dest_q, uint32_t src_d1, uint32_t src_d2, uint32_t src_d2_s) {
407 ((uint32_t *)buf)[0] = op;
408 return buf + 4;
411 static uint8_t * addVQADD_S32(uint8_t *buf, uint32_t dest_q, uint32_t src_q1, uint32_t src_q2) {
414 ((uint32_t *)buf)[0] = op;
415 return buf + 4;
418 static uint8_t * addVMLAL_F32(uint8_t *buf, uint32_t dest_q, uint32_t src_d1, uint32_t src_d2, uint32_t src_d2_s) {
421 ((uint32_t *)buf)[0] = op;
422 return buf + 4;
425 static uint8_t * addVMULL_F32(uint8_t *buf, uint32_t dest_q, uint32_t src_d1, uint32_t src_d2, uint32_t src_d2_s) {
428 ((uint32_t *)buf)[0] = op;
429 return buf + 4;
432 static uint8_t * addVORR_32(uint8_t *buf, uint32_t dest_q, uint32_t src_q1, uint32_t src_q2) {
435 ((uint32_t *)buf)[0] = op;
436 return buf + 4;
439 static uint8_t * addVMOV_32(uint8_t *buf, uint32_t dest_q, uint32_t imm) {
443 ((uint32_t *)buf)[0] = op;
444 return buf + 4;
447 static uint8_t * addVADD_F32(uint8_t *buf, uint32_t dest_q, uint32_t src_q1, uint32_t src_q2) {
450 ((uint32_t *)buf)[0] = op;
451 return buf + 4;
492 uint8_t *buf = mBuf;
525 buf2 = buf;
566 buf = addVMULL_F32(buf, 12+j, i*2, 8+i*2 + (j >> 1), j & 1);
569 buf = addVMLAL_F32(buf, 12+j, i*2, 8+i*2 + (j >> 1), j & 1);
577 buf = addVADD_F32(buf, j, 12+j, 8+j);
579 buf = addVORR_32(buf, j, 12+j, 12+j);
583 buf = addVORR_32(buf, j, 8+j, 8+j);
585 buf = addVMOV_32(buf, j, 0);
625 buf2 = buf;
660 buf = addVMULL_S16(buf, 8+j, 24+i*2, 4+i, j);
663 buf = addVMLAL_S16(buf, 8+j, 24+i*2, 4+i, j);
671 buf = addVQADD_S32(buf, 8+j, 8+j, 4+j);
675 buf = addVORR_32(buf, 8+j, 4+j, 4+j);
727 buf = addBranch(buf, buf2, 0x01);