search for: yuvframe

Displaying 3 results from an estimated 3 matches for "yuvframe".

Did you mean: subframe
2004 Aug 06
0
No subject
if(state==-1){ /* initialize the double frame buffer */ yuvframe[0]=malloc(video_x*video_y*3/2); yuvframe[1]=malloc(video_x*video_y*3/2); /* clear initial frame as it may be larger than actual video data */ /* fill Y plane with 0x10 and UV planes with 0X80, for black data */ memset(yuvframe[0],0x10,video_x*video_y); memset(yuvframe[0]+video_x*video_y,0x80,video...
2005 Oct 05
1
Simple encodig sample...
...= 0; int frame_x = 352; int frame_y = 288; int frame_x_offset = 0; int frame_y_offset = 0; int video_hzn = 25; int video_hzd = 1; int video_an = 1; int video_ad = 1; int video_r = 320000; int video_q = 16; int frame_counter = 250; signed char *yuvframe; int fetch_video_page( ogg_page *videopage, ogg_stream_state *to, theora_state *td ) { yuv_buffer yuv; ogg_packet op; yuv.y_width = video_x; yuv.y_height = video_y; yuv.y_stride = video_x; yuv.uv_width = video_x / 2; yuv.uv_height = video_y / 2; yuv.uv_stride...
2005 Feb 09
1
Trying to do windows encoding dll
...ncy=64; ti.keyframe_frequency_force=64; ti.keyframe_data_target_bitrate=bitrate*1.5; ti.keyframe_auto_threshold=80; ti.keyframe_mindistance=8; ti.noise_sensitivity=1; theora_encode_init(&enc_state,&ti); theora_info_clear(&ti); } __declspec (dllexport) encode(signed char *yuvframe, ogg_page *op) { while (ogg_stream_pageout(&enc_stream, op) == 0) { yuv_buffer yuv_enc; yuv_enc.y_width=enc_width; yuv_enc.y_height=enc_height; yuv_enc.y_stride=enc_width; yuv_enc.uv_width=enc_width/2; yuv_enc.uv_height=enc_height/2; yuv_enc.uv_stride=enc_width...