Speed ​​up the VimageConversion Framework for the Planar8, PlanarF, ARGB8888, ARGBFFFF, RGBA8888, and RGBAFFFF value libraries -?

H all,

I am new to image processing and I need some image processing using iphone4. Iphone 4 is supported only kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange/kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange/kCVPixelFormatType_420YpCbCr8BiPlanarfullRange.

but I need YUV420, rgb24 and some other .i that I plan to convert using the Accelerate Framework VimageConversion library . but the structure did all the processing using Planar8, PlanarF, ARGB8888, ARGBFFFF, RGBA8888, and RGBAFFFFFormat. how can I associate this format with the supported iphone format. I could not get an explanation about the format Planar8, PlanarF, ARGB8888, ARGBFFFF, RGBA8888, and RGBAFFFF.

Could anyone talk about Planar8, PlanarF, ARGB8888, ARGBFFFF, RGBA8888 and RGBAFFFF -?

+3
source share
1 answer

The first part means:

Planar ==> Monochrome (Gray)
ARGB ==> Alpha (transparency), Red, Green, Blue
RGBA ==> Red, Green, Blue, Alpha

And the last part means:

8 ==> value in 8 bit
F ==> value in 32 bit

So all this will mean

Planar8 ==> Gray scale in 8 bit
PlanarF ==> Gray scale in 32 bit
ARGB8888 ==> Alpha, Red, Green, Blue in 8 bit each (total 32 bit)
ARGBFFFF ==> Alpha, Red, Green, Blue in 32 bit each (total 128 bit)
RGBA8888 ==> Red, Green, Blue, Alpha in 8 bit each (total 32 bit)
RGBAFFFF ==> Red, Green, Blue, Alpha in 32 bit each (total 128 bit)
ARGB1555 => Alpha 1 bit, Red, Green, Blue 5 bit each (total 16 bit)

And note that 4 bits can be expressed as a single hexadecimal digit. Thus, 8 bits corresponds to 2 hexadecimal, and 32 bits corresponds to 8 hexadecimal digits.

+11
source

All Articles