Searched refs:fh (Results 1 – 1 of 1) sorted by relevance
/device/moto/shamu/camera/QCamera2/HAL/test/ |
D | qcamera_test.cpp | 410 FILE *fh = fopen(path.string(), "r+"); in encodeJPEG() local 411 if ( !fh ) { in encodeJPEG() 416 fseek(fh, 0, SEEK_END); in encodeJPEG() 417 len = ftell(fh); in encodeJPEG() 418 rewind(fh); in encodeJPEG() 422 fclose(fh); in encodeJPEG() 432 ret = fread(buff, 1, len, fh); in encodeJPEG() 446 rewind(fh); in encodeJPEG() 449 ret = fwrite(&temp, sizeof(unsigned char), 1, fh); in encodeJPEG() 454 fwrite(&temp, sizeof(unsigned char), 1, fh); in encodeJPEG() [all …]
|