search for: ycbcr

Displaying 20 results from an estimated 34 matches for "ycbcr".

2012 Nov 27
3
NHW Image codec - YCbCr color space
Hello, Just a very quick message to let you know that I have definitely switched to YCbCr color space as YCbCr is better, more precision.I have updated my demo page: http://nhwcodec.blogspot.com/ . Any comment on this new version from the Xiph Community would be very appreciated, as I am developing alone (it really took some time to switch to YCbCr...).Also (as it was said), I am not t...
2009 Jun 16
2
YCbCr <-> RGB conversion question
Hi, I coded some routines for YCbCr <-> RGB conversion, both using floating point numbers and using integer arithmetics, code is attached. Let's say I want to convert from RGB to YCbCr and back. First the integer arithmetics: In [1]: from colors import * In [2]: a = [255, 0, 255] In [3]: RGB2YCbCr(a) Out[3]: (107, 202,...
2005 Mar 14
1
question from beginner (YCbCr to RGB)
Hello, i'm sorry for my English is not good. I need help with convert yuv_buffer data (YCbCr) to RGB without SDL. I write: BYTE *frame=new BYTE[YUV_BUFFER.y_height*YUV_BUFFER.y_width*4]; for(int cc=0; cc<YUV_BUFFER.y_height*YUV_BUFFER.y_width; cc++) { frame[cc*4+0]=YUV_BUFFER.y[cc]+1.371*(YUV_BUFFER.v[cc]-128); frame[cc*4+1]=YUV_...
2005 Jun 30
5
will there be theora_decode_RGBout() ?
...en using different surface layers, or when modifying the buffer in realtime. if this feature will definitely not be, could someone tell me how i can convert to some RGB buffer in realtime? i already tried different example codes, but i did not succeed, since i do not seem to understand the way the YCbCr data works.... thanks a lot in advance, ---david ______________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
2005 Jun 30
5
will there be theora_decode_RGBout() ?
...en using different surface layers, or when modifying the buffer in realtime. if this feature will definitely not be, could someone tell me how i can convert to some RGB buffer in realtime? i already tried different example codes, but i did not succeed, since i do not seem to understand the way the YCbCr data works.... thanks a lot in advance, ---david ______________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
2017 May 09
0
GM206 [GeForce GTX 960] with 4k display
...pports_AI DC_36bit DC_30bit DC_Y444 Maximum TMDS clock: 300MHz Extended HDMI video details: HDMI VIC 0 3840x2160 at 30Hz HDMI VIC 1 3840x2160 at 25Hz HDMI VIC 2 3840x2160 at 24Hz HDMI VIC 3 4096x2160 at 24Hz Extended tag: video capability data block YCbCr quantization: Selectable (via AVI YQ) (1) RGB quantization: Selectable (via AVI Q) (1) PT scan behaviour: Support both over- and underscan (3) IT scan behaviour: Always Underscanned (2) CE scan behaviour: Always Overscannned (1) Extended tag: Colorimetry data block xvYCC601...
2012 Jul 25
4
NHW Image codec - improvement of precision
Hi again, I have improved precision of my codec (on the encoder and decoder).I have also improved the -h1 quality setting.-Source code and binaries at http://nhwcodec.blogspot.com/-. I am still trying to improve precision of my codec, with keeping my low-complexity (fast) approach. I do not totally use the reference (and impressive) block prediction with different modes + residual coding scheme,
2009 Jun 14
3
python bindings to libtheora
...ty=63) a.seek(time=10) while a.read_frame() and a.time < 20: A = a.get_frame_array() b.write_frame(A) ----------------------- And here is another example that shows an interactive usage in ipython, that reads tw.ogv, reads 2 frames, then gets the image data as a numpy array (this is the YCbCr colors), then ask to return it as a PIL (python imaging library) image and saves it to disk as png. --------------- In [1]: from theora import Theora In [2]: t = Theora("tw.ogv") In [3]: t Out[3]: <theora.Theora object at 0x23484c0> In [4]: print t ------...
2009 Nov 25
2
encoding image from a webcam
...nal "product" must encode a frame, send it over the network and decode it on "the other side". For now, it must only work locally so we don't care about the transmission. This is what I've understood till now: I have a char * buffer from the camera RG24,I convert it to YCbCr 4:4:4, I encode it, resulting an ogg_packet. Then I provide this ogg_packet to the decoder, get the YCbCr buffer , convert it back to RGB24 then display it. Now the questions: I have a Codec class with a function encoderInitialize(), where I initialize the encoder, filling a th_info structure wi...
2011 Mar 01
1
theora encoder reordering, order of puting data from DCT 8x8 blocks to huffman compressor, and puting result of huffman compressor to buffer bitstream memory
Good day! I'm creating HDL IP CORE (for using in FPGA) for theora encoder (now only I-frames). I don't undestand one moment. Now i develop such stages: 1. From RBG(byer) to YCbCr converter 2. DCT processing (8x8 pixels blocks) 3. Quantizator of DCT coeff. 4. Zig-Zag of quantized DCT coeff. and now i have uresolved last stage of compression - how i must send 8x8 blocks to huffman compressor? I don't understand ordering. I must send all DC coeff (Y, than Cb,Cr), after all...
2017 May 04
3
NV130 - gtx 1050 ti
On 05/04/2017 04:00 AM, Pierre Moreau wrote: > Hello, > > Acceleration for Pascal cards is coming in Linux 4.12, support for Pascal cards > in xorg-video-nouveau is in 1.0.15, and if I remember correctly, on the > Mesa-side, you will need >=17.0. Thanks - I suspected it was too new. I'm finding the monitor capabilities miss identified even if I use an older card - I'm
2009 Dec 07
3
Theora encoder performance
...eft side the image from the webcam, on the right side the image from the webcam encoded, and then decoded using theora. As you can see there are some strange colors overs there ( looks like edge detection :-D ). Then I measured how long does it take for Theora to encode an image (/th_encode_ycbcr_in/ and / th_encode_packetout/ calls). int TIMER_t0 = GetTickCount(); int ret = th_encode_ycbcr_in( (th_enc_ctx*)m_encoderHandler, ycbcr); ogg_packet op; th_encode_packetout((th_enc_ctx*)m_encoderHandler,0,&op)>0 int TIMER_t1 = GetTickCount(); printf( "Timer...
2018 Feb 07
0
nouveau 30bpp / deep color status
...ting some of that stuff into some common place. > - Add 10bpc dithering (only makes sense if >= 10bpc output is > *actually* enabled first) > - Investigate YUV HDMI modes (esp since they can enable 4K at 60 on HDMI > 1.4 hardware) We have 4:2:0 in i915, and pretty close to having YCbCr 4:4:4 too. The 4:4:4 thing would need some new properties though so that the user can actually enable it. What we do with 4:2:0 is enable it automagically when the display can't do RGB 4:4:4 for the given mode. But there's currently no way for the user to say that they prefer YCbCr 4:2:0 o...
2018 Feb 27
2
[PATCH] drm/nouveau: Replace the iturbt_709 prop with the standarad COLOR_ENCODNIG prop
On Tue, Feb 20, 2018 at 9:25 AM, Ilia Mirkin <imirkin at alum.mit.edu> wrote: > On Tue, Feb 20, 2018 at 8:48 AM, Ville Syrjala > <ville.syrjala at linux.intel.com> wrote: >> From: Ville Syrjälä <ville.syrjala at linux.intel.com> >> >> Replace the ad-hoc iturbt_709 property with the new standard >> COLOR_ENCODING property. Compiles, but not tested.
2018 Aug 08
0
[ANNOUNCE] igt-gpu-tools 1.23
...39;t populate igt_fb structs with stack garbage tests/kms_plane_scaling: Allow clip test to fail with YUV tests/kms_plane_scaling: Reduce the fb size 8x8 from 9x9 tests/kms_force_connector_basic: Don't skip when VGA is connected lib: Add clamp() to igt_aux and use it for ycbcr<->rgb conversion lib: Add igt_matrix lib: Add igt_color_encoding lib/igt_matrix: Unroll and inline igt_matrix_transform() lib/igt_color_encoding: Use the m(row,col) macro to address the matrix cells lib/igt_color_encoding: Appease c90 lib/igt_fb: Round to n...
2018 Feb 27
0
[PATCH] drm/nouveau: Replace the iturbt_709 prop with the standarad COLOR_ENCODNIG prop
...that's more of a > connector thing than a plane thing no? Presumably over S-Video it's a > partial range, and over VGA it's full? I'd flip it to always full here > tbh. (Or just not provide it at all.) No, this property is just about the range of the input data. Full range YCbCr isn't exaclty common so you'd rarely need this. JPEG uses full range I believe. > > Anyways, with the subject typo(s! noticed ENCODNIG -> ENCODING just > now) fixed, this is > > Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu> Cool. Thanks. -- Ville Syrjälä I...
2007 Nov 12
0
Upgrading to Beta 2
...to write some wrapper functions around any api function which had the ogg_packet structure in its parameters. It didn't seem to be passing the packet pointer properly. The wrapper functions simple reassembles a ogg packet from the parameters passed and calls the api function. I havn't used Ycbcr call back function which provides the frame in sections (hopefully with it still in cache) as the interop for that is more complicated. Does anyone have any experience with using that and the size performance benefits that can be expected by using it? I have to says as a whole he new decoder is a...
2011 Mar 22
0
FPGA implementation in the camera
Here http://lists.xiph.org/pipermail/theora/2004-September/000619.html Andrey describe encoder structure, this like: "I see the following structure of the compressor implemented in the FPGA (Xilinx Spartan 3 1000K gates): 1. Data from the external frame buffer (FB) memory goes to the Bayer-to-YCbCr (4:2:0) converter in overlapping 20x20 tiles that produce 6 8x8 blocks (one macroblock) on the output. 2. Corresponding 6 blocks from the previous frame are fetched from the same FB in parallel, subtracted from the new frame (if it is not a golden) and processed by the DCT and quantizator. 3. After...
2013 Nov 12
2
Dividing Theora video into Frames
Hai All, Can any one please help me to divide theora video into individual frames. what is the procedure for it?. I have referred theora documentation for the same issue, but didn''t get any answer...!!?? *Thanks & Regards,JIBIN THOMAS* _______________________________________________ theora mailing list theora@xiph.org http://lists.xiph.org/mailman/listinfo/theora
2013 Nov 12
2
Dividing Theora video into Frames
Hai All, Can any one please help me to divide theora video into individual frames. what is the procedure for it?. I have referred theora documentation for the same issue, but didn''t get any answer...!!?? *Thanks & Regards,JIBIN THOMAS* _______________________________________________ theora mailing list theora@xiph.org http://lists.xiph.org/mailman/listinfo/theora