Lines Matching refs:buf

367     memcpy(buf, &_N_ColorMatrix_##x, _N_ColorMatrix_##x##_len); \
368 buf += _N_ColorMatrix_##x##_len
371 static uint8_t * addBranch(uint8_t *buf, const uint8_t *target, uint32_t condition) {
372 size_t off = (target - buf - 8) >> 2;
379 ((uint32_t *)buf)[0] = op;
380 return buf + 4;
394 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) {
397 ((uint32_t *)buf)[0] = op;
398 return buf + 4;
401 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) {
404 ((uint32_t *)buf)[0] = op;
405 return buf + 4;
408 static uint8_t * addVQADD_S32(uint8_t *buf, uint32_t dest_q, uint32_t src_q1, uint32_t src_q2) {
411 ((uint32_t *)buf)[0] = op;
412 return buf + 4;
415 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) {
418 ((uint32_t *)buf)[0] = op;
419 return buf + 4;
422 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) {
425 ((uint32_t *)buf)[0] = op;
426 return buf + 4;
429 static uint8_t * addVORR_32(uint8_t *buf, uint32_t dest_q, uint32_t src_q1, uint32_t src_q2) {
432 ((uint32_t *)buf)[0] = op;
433 return buf + 4;
436 static uint8_t * addVMOV_32(uint8_t *buf, uint32_t dest_q, uint32_t imm) {
440 ((uint32_t *)buf)[0] = op;
441 return buf + 4;
444 static uint8_t * addVADD_F32(uint8_t *buf, uint32_t dest_q, uint32_t src_q1, uint32_t src_q2) {
447 ((uint32_t *)buf)[0] = op;
448 return buf + 4;
494 uint8_t *buf = mBuf;
527 buf2 = buf;
568 buf = addVMULL_F32(buf, 12+j, i*2, 8+i*2 + (j >> 1), j & 1);
571 buf = addVMLAL_F32(buf, 12+j, i*2, 8+i*2 + (j >> 1), j & 1);
579 buf = addVADD_F32(buf, j, 12+j, 8+j);
581 buf = addVORR_32(buf, j, 12+j, 12+j);
585 buf = addVORR_32(buf, j, 8+j, 8+j);
587 buf = addVMOV_32(buf, j, 0);
627 buf2 = buf;
662 buf = addVMULL_S16(buf, 8+j, 24+i*2, 4+i, j);
665 buf = addVMLAL_S16(buf, 8+j, 24+i*2, 4+i, j);
673 buf = addVQADD_S32(buf, 8+j, 8+j, 4+j);
677 buf = addVORR_32(buf, 8+j, 4+j, 4+j);
729 buf = addBranch(buf, buf2, 0x01);