Skip to main content

Questions tagged [yuv]

YUV is a color space typically used as part of a color image pipeline.

yuv
-3 votes
0 answers
58 views

Different image quality of two similar android apps

Different Image quality I have two similar android apps that visualize a camera feed, however one shows good image quality (left image) and the other one shows somewhat a lower quality (right image). ...
AchillesHeart's user avatar
1 vote
0 answers
25 views

Crop YUV_420_888 image without converting it into Bitmap

I am facing a problem where when I try to crop a YUV_420_888 image, it gets messed up on some devices (Samsung S22 Ultra) but not on others (Samsung A14). Here are the sample images: First Image ...
Bugs Happen's user avatar
  • 2,238
0 votes
0 answers
26 views

How to convert RTCVideoFrame to YUV in webrtc iOS

This is my code, the converted yuv rendering is sometimes normal, sometimes not normal, is there any problem? func convertRTCVideoFrameToYUV(frame: RTCVideoFrame) -> (yData: Data, uData: Data, ...
Orr Hsiao's user avatar
0 votes
0 answers
86 views

Efficient YUV to RGB (Image to Bitmap) conversion in Android

I'm trying to apply YUV (Media.Image) to RGB (Bitmap) conversion in Android. I am currently using this official code from Android Camera samples (the code below) but it uses RenderScript which is ...
Mary H's user avatar
  • 199
0 votes
2 answers
214 views

Android Camera2 YUV_420_888 image to RGBA Bitmap conversion produces a greenish image

On my Samsung Galaxy A54 5G device with Android 14 I am trying the camera2 API and to take image in YUV 420 format. Device only supports JPEG and YUV 420. I tried many of methods to convert from YUV ...
Ladislav's user avatar
  • 299
0 votes
1 answer
201 views

conversion from YUV to RGB color

I'm trying to convert FFMPEG's Intensity color map from yuv format to rgb. It should give you colors as shown in the color bar in the image. You can generate a spectrogram using command: ffmpeg -i ...
Prashant's user avatar
  • 883
0 votes
1 answer
151 views

Is it possible to play RAW video encapsulated in YUYV 4:2:2 format using gstreamer?

I have custom USB UVC camera based on Infineon CX3 controller. I send RAW10 (1 pixel in two bytes, LSB first, RGGB Bayer pattern) data frames incapsulated in YUYV 4:2:2 format. Is it possible to play ...
Mr. Anderson's user avatar
0 votes
0 answers
62 views

How do I modify this intrinsics code going from YUV420 to RGB24 to output RGBA32

I find myself in the position of needing to really use intrinsics for the first time as optimization for image conversion. I found this project here: https://github.com/jabernet/YCbCr2RGB/blob/master/...
Connor's user avatar
  • 1
1 vote
1 answer
64 views

Retrieving VUI after AVC/HEVC decoding from *.yuv file?

Background: Video usability information (VUI) is extra information that can be inserted into an AVC (h.264) or HEVC (h.265) video bitstream. The documents defining AVC and HEVC specify that an AVC/...
JosefMaier93's user avatar
0 votes
0 answers
48 views

Convert a YUVJ422 and YUVJ420 frame into YV12 in C++ with FFmpeg

I am currently writing a program, to convert YUVJ422 and YUVJ420 frames into YV12. The YV12 frame is then uploaded to the GPU and there converted into RGB again, but that part should work fine (more ...
Can's user avatar
  • 156
2 votes
2 answers
322 views

How to convert 8-bit YUV420 image to RGB with Neon?

I'm new to Neon. I want to write a code to convert YUV420 to RGB with Neon. The pixels are 8 bit depth, I need to convert them to int32_t or float (but still clamped to a 0-255 range). However, I ...
zuguorui's user avatar
0 votes
1 answer
186 views

Android Camera2 combine burst capture images from camera with shorter maximum exposure time to emulate long exposure times

I am trying to implement a long exposure Android Camera2 solution described in this answer. Basically it tries to workaround the limitation of the short maximum exposure time (100 ms) reported by my ...
Ladislav's user avatar
  • 299
0 votes
0 answers
64 views

How can I convert a Bitmap to YUV420 in Android?

I'm trying to convert a bitmap to YUV420 on Android, but I haven't been successful. Is it possible to convert it properly? The code I'm using looks like this: fun bitmapToYUV(bitmap: Bitmap): ...
Mustafa Maden's user avatar
0 votes
0 answers
67 views

how to use the the function "ARGBToNV12" in libyuv

I want to convert the argb to nv12.but I dont know the meaning of src_stride_argb,dst_stride_y and dst_stride_uv. I simply think the src_stride_argb is width * 4, and dst_stride_y is width, ...
yinjie's user avatar
  • 1
0 votes
2 answers
138 views

Bad src image ptrs converting YUV to RGB after H264 decoding with libav and c++

I am getting "bad src image ptrs" errors when trying to convert my frames to RGB with sws_scale after decoding frames from a H264 file and cannot figure out wht is going wrong. I checked ...
Sebastian DELLING's user avatar

15 30 50 per page
1
2 3 4 5
53