Lines Matching defs:buf

373     memcpy(buf, &_N_ColorMatrix_##x, _N_ColorMatrix_##x##_len); \
374 buf += _N_ColorMatrix_##x##_len
377 static uint8_t * addBranch(uint8_t *buf, const uint8_t *target, uint32_t condition) {
378 size_t off = (target - buf - 8) >> 2;
385 ((uint32_t *)buf)[0] = op;
386 return buf + 4;
400 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) {
403 ((uint32_t *)buf)[0] = op;
404 return buf + 4;
407 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) {
410 ((uint32_t *)buf)[0] = op;
411 return buf + 4;
414 static uint8_t * addVQADD_S32(uint8_t *buf, uint32_t dest_q, uint32_t src_q1, uint32_t src_q2) {
417 ((uint32_t *)buf)[0] = op;
418 return buf + 4;
421 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) {
424 ((uint32_t *)buf)[0] = op;
425 return buf + 4;
428 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) {
431 ((uint32_t *)buf)[0] = op;
432 return buf + 4;
435 static uint8_t * addVORR_32(uint8_t *buf, uint32_t dest_q, uint32_t src_q1, uint32_t src_q2) {
438 ((uint32_t *)buf)[0] = op;
439 return buf + 4;
442 static uint8_t * addVMOV_32(uint8_t *buf, uint32_t dest_q, uint32_t imm) {
446 ((uint32_t *)buf)[0] = op;
447 return buf + 4;
450 static uint8_t * addVADD_F32(uint8_t *buf, uint32_t dest_q, uint32_t src_q1, uint32_t src_q2) {
453 ((uint32_t *)buf)[0] = op;
454 return buf + 4;
495 uint8_t *buf = mBuf;
528 buf2 = buf;
569 buf = addVMULL_F32(buf, 12+j, i*2, 8+i*2 + (j >> 1), j & 1);
572 buf = addVMLAL_F32(buf, 12+j, i*2, 8+i*2 + (j >> 1), j & 1);
580 buf = addVADD_F32(buf, j, 12+j, 8+j);
582 buf = addVORR_32(buf, j, 12+j, 12+j);
586 buf = addVORR_32(buf, j, 8+j, 8+j);
588 buf = addVMOV_32(buf, j, 0);
628 buf2 = buf;
663 buf = addVMULL_S16(buf, 8+j, 24+i*2, 4+i, j);
666 buf = addVMLAL_S16(buf, 8+j, 24+i*2, 4+i, j);
674 buf = addVQADD_S32(buf, 8+j, 8+j, 4+j);
678 buf = addVORR_32(buf, 8+j, 4+j, 4+j);
730 buf = addBranch(buf, buf2, 0x01);