mirror of
				https://github.com/nyanmisaka/mpp.git
				synced 2025-10-31 12:36:44 +08:00 
			
		
		
		
	 6e6f9733ef
			
		
	
	6e6f9733ef
	
	
	
		
			
			Change-Id: I09002e8cba2a47ef3510a8c11ac220d18160b537 Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
		
			
				
	
	
		
			24 lines
		
	
	
		
			469 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			469 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/bin/bash
 | |
| adb root
 | |
| adb remount
 | |
| 
 | |
| #BASE_PATH=/system
 | |
| BASE_PATH=/vendor
 | |
| #BASE_PATH=/oem/usr
 | |
| 
 | |
| BIN_PATH=${BASE_PATH}/bin/
 | |
| LIB_PATH=${BASE_PATH}/lib/
 | |
| 
 | |
| push_file() {
 | |
|     if [ -f $1 ]; then
 | |
|         adb push $1 $2
 | |
|     fi
 | |
| }
 | |
| 
 | |
| push_file ./mpp/libmpp.so ${LIB_PATH}
 | |
| push_file ./mpp/legacy/libvpu.so ${LIB_PATH}
 | |
| push_file ./test/mpi_dec_test ${BIN_PATH}
 | |
| push_file ./test/mpi_enc_test ${BIN_PATH}
 | |
| push_file ./test/vpu_api_test ${BIN_PATH}
 | |
| push_file ./test/mpp_info_test ${BIN_PATH}
 |