*스레드
https://recipes4dev.tistory.com/143
안드로이드 스레드(Android Thread)
1. 스레드(Thread), 그리고 프로그램(Program)과 프로세스(Process). 스레드(Thread)를 설명하는 이 문장을 읽고 나서, 어떤 용어 또는 개념들이 머리 속에서 확장되나요? 스레드(Thread)라는 단어를 듣는 것
recipes4dev.tistory.com
*핸들러
https://altongmon.tistory.com/7
자바 에러 java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
Thread를 사용하다 보면 아래와 같은 에러가 발생하는 경우가 있습니다.java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() 원인은 Thread 안에 Thread를 사용하였기 때문인데
altongmon.tistory.com
*바이트배열 -> 비트맵
https://sdw8001.tistory.com/32
[Android] Bitmap, byte[] 간의 변환
이번에는 Bitmap 데이터 형을 byte Array로 변환하거나 혹은 그 역으로 변환하는 예제를 다루어 보도록 하겠습니다. 해결책ByteArrayOutputStream 인스턴스를 생성한 후, Bitmap의 compress 메서드를 통해 비트
sdw8001.tistory.com
*바이트배열 회전(NV21 회전)
How to convert & rotate raw NV21 array image (android.media.Image) from front cam portrait mode in onImageAvailable (android Cam
Note: All info in my post only goes for Samsung Galaxy S7 device. I do not know how emulators and other devices behave. In onImageAvailable I convert continuously each image to a NV21 byte array and
stackoverflow.com
roll that camera, zombie: rotation and conversion from YV12 to YUV 420 Planar – words are toys
In our last episode, I was converting the NV21 image format from my Android device’s camera into the more display-friendly RGB. However, now that I’m trying to push the images over a network, I’m having to run them through a video codec, and the list
www.wordsaretoys.com
https://stackoverflow.com/questions/23107057/rotate-yuv420-nv21-image-in-android
Rotate YUV420/NV21 Image in android
In PreviewCall back of surface we are getting YUV420SP format in camera Preview but due to wrong rotation of that image I want to perform correct rotation of YUV image as I need to send it through
stackoverflow.com
'+)기록 > 과제' 카테고리의 다른 글
정리사항 32 - int[] to byte[] (0) | 2023.03.20 |
---|---|
정리사항 31 - NV21이미지 회전 (0) | 2023.03.16 |
정리사항 29 - OpenCV 설치(참고용) (0) | 2023.03.14 |
정리사항 28 - YUV개념, NV21 to RGB, 비트맵 상/하, 좌/우 반전 (0) | 2023.03.13 |
정리사항 27 - 절대값, 스레드 종료 (0) | 2023.03.13 |