search for: offset_y

Displaying 20 results from an estimated 26 matches for "offset_y".

Did you mean: offset_r
2008 Jul 22
1
theora_decode_header
...ication using theora, I checked the difference between the two executions. And it seems that the function *_theora_decode_header_* does not have the same issue in the two application, but I read the same file... the difference is on the _m_theoraInfo_, in the first application ( which work ) the offset_y is equal to 4, and in the second application (which does not work) the offset_y is equal to 0. that's the same file at two differente place in the file system, but I suppose that changes nothing ? How can I get differente information about the same file ?? Vincent.
2007 Aug 22
0
8 commits - libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_sprite_movie_as.c vivified/core
...CT (movie)->context); - do { cairo_matrix_transform_point (&movie->matrix, x, y); } while ((movie = movie->parent)); - - *x /= player->scale_x; - *y /= player->scale_y; - *x += SWFDEC_TWIPS_TO_DOUBLE (player->offset_x); - *y += SWFDEC_TWIPS_TO_DOUBLE (player->offset_y); } void @@ -507,12 +500,6 @@ swfdec_movie_global_to_local (SwfdecMovi { if (movie->parent) { swfdec_movie_global_to_local (movie->parent, x, y); - } else { - SwfdecPlayer *player = SWFDEC_PLAYER (SWFDEC_AS_OBJECT (movie)->context); - *x -= SWFDEC_TWIPS_TO_DOUBLE (playe...
2007 Jul 21
0
12 commits - configure.ac doc/Makefile.am doc/swfdec-sections.txt libswfdec/jpeg libswfdec/swfdec_as_array.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_player.c libswfdec/swfdec_player.h libswfdec/swfdec_player_internal.h
...>= 0 ? player->stage_width : (int) player->width; + height = player->stage_height >= 0 ? player->stage_height : (int) player->height; + if (height == 0 || width == 0) { + player->scale_x = 1.0; + player->scale_y = 1.0; + player->offset_x = 0; + player->offset_y = 0; + return; + } + if (player->width == 0 || player->height == 0) { + scale_x = 1.0; + scale_y = 1.0; + } else { + scale_x = (double) width / player->width; + scale_y = (double) height / player->height; + } + switch (player->scale_mode) { + case SWFDEC_SCALE_...
2007 Dec 13
0
libswfdec-gtk/swfdec_gtk_player.c libswfdec/swfdec_as_date.c libswfdec/swfdec_audio.c libswfdec/swfdec_audio_event.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_interval.c libswfdec/swfdec_key_as.c libswfdec/swfdec_mouse_as.c libswfdec/swfdec_movie.c
...;width; - player->stage.height = player->stage_height >= 0 ? player->stage_height : (int) player->height; - if (player->stage.height == 0 || player->stage.width == 0) { - player->scale_x = 1.0; - player->scale_y = 1.0; - player->offset_x = 0; - player->offset_y = 0; + priv->stage.width = priv->stage_width >= 0 ? priv->stage_width : (int) priv->width; + priv->stage.height = priv->stage_height >= 0 ? priv->stage_height : (int) priv->height; + if (priv->stage.height == 0 || priv->stage.width == 0) { + priv->scale_...
2005 Feb 09
1
Trying to do windows encoding dll
...int width, int height, int bitrate) { ogg_stream_init(&enc_stream, 290482); enc_width = width; enc_height = height; theora_info ti; theora_info_init(&ti); ti.width=width; ti.height=height; // must be /16 ti.frame_width=width; ti.frame_height=height; ti.offset_x=0; ti.offset_y=0; ti.colorspace=OC_CS_UNSPECIFIED; ti.target_bitrate=bitrate; ti.dropframes_p=0; ti.quick_p=1; ti.keyframe_auto_p=1; ti.keyframe_frequency=64; ti.keyframe_frequency_force=64; ti.keyframe_data_target_bitrate=bitrate*1.5; ti.keyframe_auto_threshold=80; ti.keyframe_mindistance=8;...
2004 Oct 02
2
Theora decode problem
...anyway and promptly blows up because the moving vectors are garbage. I'm not sure what I'm doing wrong. Here's my encryption initialization: theora_info_init(&m_ti); m_ti.width=176; m_ti.height=144; m_ti.frame_width=176; m_ti.frame_height=144; m_ti.offset_x=0; m_ti.offset_y=0; m_ti.fps_denominator=(ogg_uint32_t)1000000.0; m_ti.fps_numerator=10 * m_ti.fps_denominator; //10 is 10 frames per second m_ti.aspect_numerator=1; m_ti.aspect_denominator=1; m_ti.colorspace=OC_CS_UNSPECIFIED; m_ti.target_bitrate=0; // 0 if we are specifying quality m_ti.quality...
2007 Jan 06
7
FFmpeg Theora encoding patch
Hi, Attached is my patch to add theora encoding to ffmpeg's libavcodec (by using libtheora). I am requesting help to fix the bug I mention below and am seeking general comments before I submit the patch properly. Files encoded using this encoder have a problem playing in VLC. The files will not play unless "Drop late frames" has been unticked in the advanced video settings.
2006 Oct 06
0
V4L + Theora small app...
...o_init( &tTheoraInfo ); tTheoraInfo.width = iVideoX; tTheoraInfo.height = iVideoY; tTheoraInfo.frame_width = FRAME_WIDTH; tTheoraInfo.frame_height = FRAME_HEIGHT; tTheoraInfo.offset_x = iFrameOffsetX; tTheoraInfo.offset_y = iFrameOffsetY; tTheoraInfo.fps_numerator = iVideoFPSnum; tTheoraInfo.fps_denominator = iVideoFPSden; tTheoraInfo.aspect_numerator = iVideoAspNum; tTheoraInfo.aspect_denominator = iVideoAspDen; tTheoraInfo.colorspace = OC_CS_UNSPECIFIED;...
2020 Feb 07
0
[PATCH 3/6] drm/ast: Use simple encoder
...ivers/gpu/drm/ast/ast_drv.h +++ b/drivers/gpu/drm/ast/ast_drv.h @@ -121,6 +121,7 @@ struct ast_private { unsigned int next_index; } cursor; + struct drm_encoder encoder; struct drm_plane primary_plane; struct drm_plane cursor_plane; @@ -238,13 +239,8 @@ struct ast_crtc { u8 offset_x, offset_y; }; -struct ast_encoder { - struct drm_encoder base; -}; - #define to_ast_crtc(x) container_of(x, struct ast_crtc, base) #define to_ast_connector(x) container_of(x, struct ast_connector, base) -#define to_ast_encoder(x) container_of(x, struct ast_encoder, base) struct ast_vbios_stdtable {...
2006 May 30
1
libtheora 1.0 alpha 6 release
...d x86_64) * Major RTP payload specification update * Minor format specification updates * Fix some spurious calls to free() instead of _ogg_free() * Fix invalid array indexing in PixelLineSearch() * Improve robustness against invalid input * General warning cleanup * The offset_y member now means what every application thought it meant (offset from the top). This will mean some old files (those with a non-centered image created with a buggy encoder) will display differently. SHA-1 checksums: 0fa7314a432e60c6178a7d98b6408c7a950155ed libtheora-1.0alpha...
2004 May 20
0
theora header bitmap for alpha3
...: height >> 4 | PICW: frame_width | 12-15 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | PICH: frame_height | 16-19 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PICX: offset_x| PICY: offset_y| FRN: fps_numerator | 20-23 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | FRD: fps_denominator | 24-27 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | PARN: aspect_numerator...
2004 Dec 20
2
frame_height, height, y_height etc...
I'd previously been working on the assumption that the frame_height was the height of the inner picture region... and height was the height of the outer frame. Then upon readnig the spec... where it calls the outer part the frame and the inner part the picture region... i assumed i'd made a mistake and that frame_width is actually >= width in the theorainfo structure... ie
2004 Oct 31
3
a question about Bitstream Header.
Hi, I have a question about the format of Theora bitstream header. It seems to me that there are differences between the specification[1] (version 2004 Oct 1) and its reference implementation in libtheora 1.0alpha3 released at 2004 Jun 1. I mean that... please refer to Section 6.2 'Identification Header Decode' in that specification[1] and the function
2005 Sep 07
1
encoder settings
...lowing settings: bitrate = 80 video_r = 80; videostream->ti.width = video_x; videostream->ti.height = video_y; videostream->ti.frame_width = frame_x; videostream->ti.frame_height = frame_y; videostream->ti.offset_x = frame_x_offset; videostream->ti.offset_y = frame_y_offset; videostream->ti.fps_numerator = refreshrate * 1000000; videostream->ti.fps_denominator = 10 * 100000; videostream->ti.aspect_numerator = 0; videostream->ti.aspect_denominator = 0; videostream->ti.colorspace = OC_CS_UNSPECIFIED; videostream-...
2006 Aug 06
0
Newbie: How to rewind a videostream (long)
..." << " Encoded frame content is size: " <<theoraInfo.frame_width << "x" << theoraInfo.frame_height << " offset: " << theoraInfo.offset_x << "," << theoraInfo.offset_y << " Colorspace: " << theoraInfo.colorspace << std::endl; } else { theora_info_clear (&theoraInfo); theora_comment_clear (&theoraComment); throw "Bad theo...
2005 Oct 05
1
Simple encodig sample...
...1; yuvframe = malloc( video_x * video_y * 3 / 2 ); theora_info_init( &ti ); ti.width = video_x; ti.height = video_y; ti.frame_width = frame_x; ti.frame_height = frame_y; ti.offset_x = frame_x_offset; ti.offset_y = frame_y_offset; ti.fps_numerator = video_hzn; ti.fps_denominator = video_hzd; ti.aspect_numerator = video_an; ti.aspect_denominator = video_ad; ti.colorspace = OC_CS_UNSPECIFIED; ti.pixelformat = OC_PF_420; ti.target_bit...
2005 Sep 27
4
problems understanding yuv_buffer format
hi folks! once again i am trying to decode a yuv_buffer to a 24 bit RGB buffer. last time nobody seemed willing to tell me how to do this, so i am trying again. i try to make my questions more simple. what i need to know is: how many bytes are in each y, u, v array? what for are these strides? what exactly is a "plane" in a frame, and what does it do? what i want to achieve is
2009 Jul 08
2
Theora 1.1 rate controller
Hello everyone, I'm currently developing an adaptive videoconferencing application based on Ekiga which uses TFRC as a congestion control mechanism to adapt the video encoding rate according to the quality of the network experienced. My goal was to use the open-source Theora codec for video transmission. Unfortunately, it seemed that Theora 1.0 did not properly implement any correct CBR mode.
2005 Nov 11
0
[PATCH] icecast video preview 2
...} + } if (header_page) { @@ -179,6 +218,12 @@ codec->headers = 1; codec->name = "Theora"; +#ifdef WITH_PNG + theora_info *ti = &theora_codec->ti; + init_video_preview(ogg_info->mount, ti->width, ti->height, ti -> offset_x, ti -> offset_y , &theora_codec -> video_preview); + theora_codec -> frame_count = -1; +#endif + format_ogg_attach_header (ogg_info, page); ogg_info->codec_sync = codec; return codec; Index: src/format_theora.h =================================================================== --- s...
2005 Nov 11
2
[PATCH] icecast video preview 2
Updated version of video preview covering frame writing every 3 keyframe and a xsl typo. Best regards :) kysucix -- Make things as simple as possible, but no simpler. - Albert Einstein