summaryrefslogtreecommitdiff
path: root/sys/vdpau
AgeCommit message (Collapse)AuthorFilesLines
2012-04-24vdpau: Switch from deprecated XKeycodeToKeysym() to XkbKeycodeToKeysym()Sebastian Dröge1-3/+5
2012-03-10Fix 'ignoring return value of function declared with const attribute'Thibault Saunier2-13/+16
This always happens with GstByteReader/Writer and friends when not taking into account returned boolean of the _read/_write functions (which is actually wrong). Make use of the *_unchecked variant as much as possible, or take the returned value into account.
2012-03-06Add missing GLIB_DISABLE_DEPRECATION_WARNINGSEdward Hervey3-0/+11
Suppress warnings about deprecated threading and GValueArray API, so git compiles with -Werror.
2012-03-06vdpau: Fix loop to not read before the valid memory areaSebastian Dröge1-3/+2
2012-03-01vdpau: relicense four source files from GPL3+ to LGPL2+Tim-Philipp Müller4-48/+56
These source files were mistakenly licensed as GPL3, the author (Carl-Anton Ingmarsson) has given permission to relicense them to LGPL2+. https://bugzilla.gnome.org/show_bug.cgi?id=671142
2011-11-28various: fix pad template ref leaksVincent Penquerc'h6-8/+11
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-07-14vdpau: fix some variable-set-but-unused compiler warningsTim-Philipp Müller5-21/+3
2011-06-04vdpau: remove old glib compatibility codeDavid Schleef1-4/+0
2011-04-09vdpau: Fix uninitialized variable compiler warningSebastian Dröge1-2/+1
2011-03-27vdpausink: fix bug where we didn't setup vdpau on a user set windowCarl-Anton Ingmarsson1-34/+41
2011-03-27vdpau: fixup GstFlowReturn handlingCarl-Anton Ingmarsson9-51/+77
Previously the different decoders would discard errounous GstFlowReturns coming from downstream. Now we properly return these further upstream so that we properly error out on eg. negotiation problems.
2011-03-27vdpau: small indentation fixCarl-Anton Ingmarsson1-1/+1
2011-03-27vdpaumpegdec: don't ignore return value of gst_base_video_decoder_finish_frameCarl-Anton Ingmarsson1-2/+2
2011-01-27vdpau: Initialize some variables to make gcc 4.6 happySebastian Dröge2-2/+4
2010-10-03vdpau: Check return values of the bitreader functionsSebastian Dröge1-4/+8
2010-09-21vdpau: Use the new XOverlay APIEdward Hervey1-5/+7
Fixes #630254
2010-09-06vdpauvideopostprocess: set new framerate on output caps instead of input capsCarl-Anton Ingmarsson1-15/+15
It's not allowed to change the caps provided by the setcaps function. https://bugzilla.gnome.org/show_bug.cgi?id=628326
2010-09-05vdpauh264dec: parse "pixel-aspect-ratio" from streamCarl-Anton Ingmarsson1-0/+29
2010-09-05vdpau: remove non working unused code from GstBaseVideoDecoderCarl-Anton Ingmarsson2-184/+21
2010-09-05vdpau: GstBaseVideoDecoder set default par to 1/1Carl-Anton Ingmarsson1-6/+18
2010-09-05vdpau: remove gst_base_video_decoder_get_current_frameCarl-Anton Ingmarsson10-63/+51
we now pass the current frame to GstBaseVideoDecoder::parse_data also fixup some errors in vdpaumpeg4dec so that it now gives correct output
2010-09-05vdpau: rework GstBaseVideoDecoder timestampingCarl-Anton Ingmarsson4-175/+97
timestamps are now chosen in the following order: upstream -> parsed by decoder -> calculated from timestamp offset we also check the timestamps supplied from upstream/decoder to see if they atleast is increasing.
2010-09-05vdpau: fix invalid unrefCarl-Anton Ingmarsson1-1/+1
2010-08-09vdpaumpeg4dec: fix typo in default_non_intra_quant_matrixCarl-Anton Ingmarsson1-1/+1
2010-08-09vdpau: add mpeg4 part2 decoderCarl-Anton Ingmarsson8-2/+1374
2010-08-06vdpau: fix destruction of GstVdpDevice when it failed to openCarl-Anton Ingmarsson2-6/+4
only close display in finalize and check if vdp_decoder_destroy is available before we use it
2010-08-06vdpausink: use separate mutex for device lockingCarl-Anton Ingmarsson2-7/+22
we can't use GST_OBJECT_LOCK since that cause problems when we try to post errors, due to gst_element_post_message also taking the GST_OBJECT_LOCK
2010-08-02vdpau: set back plugin ranks to GST_RANK_NONECarl-Anton Ingmarsson1-3/+3
the previous change was not meant to slip in
2010-08-02vdpau: slightly fix GstBaseVideoDecoder timestampingCarl-Anton Ingmarsson4-58/+68
clear timestamps on flush and properly calculate the frame's end offset
2010-08-02vdpau: init debug category in gst_vdp_video_buffer_get_typeCarl-Anton Ingmarsson1-0/+2
2010-07-30vdpau: add error reporting to device creationCarl-Anton Ingmarsson6-99/+102
2010-07-30vdpau: fix small typo in GstBaseVideoDecoderCarl-Anton Ingmarsson1-1/+1
2010-07-30vdpau: use gst_vdp_yuv_to_video_caps in GstVdpVideoSrcPad to transform set capsCarl-Anton Ingmarsson1-10/+4
this way we'll keep other all other fields in the caps which we didn't take in account when we manually created the "video/x-vdpau-video" caps
2010-07-30vdpau: rename gst_vdp_video_buffer_parse_yuv_caps and move it to gstvdputils.hCarl-Anton Ingmarsson5-71/+82
2010-07-30vdpau: GstVdpOutputSrcPad use gst_pad_alloc when outputting video/x-raw-rgbCarl-Anton Ingmarsson1-4/+27
we implement "acceptcaps" to prevent us from getting a buffer with different width and height from what we requested.
2010-07-30vdpau: properly remove "chroma-type" field from transformed capsCarl-Anton Ingmarsson1-1/+1
2010-07-30vdpauvideopostprocess: use GstVdp[Video|Output]BufferPool to cache our buffersCarl-Anton Ingmarsson4-156/+107
This way we'll reuse the GstVdp[Video|Output]Buffers if they're of the same size and chroma-type/rgba-format. Also remove gst_vdp_output_src_pad_negotiate and set a "setcaps" function on GstVdpOutputSrcPad instead, leaving negotiation to GstVdpVideoPostProcess.
2010-07-30vdpausink: use GstVdpOutputBufferPool to alloc our buffersCarl-Anton Ingmarsson2-53/+39
This way we'll reuse our GstVdpOutputBuffers if they're of the same size and rgba-format
2010-07-30vdpau: use GstVdpVideoBufferPool in GstVdpVideoSrcPadCarl-Anton Ingmarsson1-58/+34
We also don't pad_alloc our GstVdpVideoBuffers anymore since we don't support downstream negotation anyway.
2010-07-30vdpau: add GstVdpOutputBufferPoolCarl-Anton Ingmarsson7-12/+216
GstVdpVideoOutputPool is a subclass of GstVdpBufferPool that caches GstVdpOutputBuffers
2010-07-30vdpau: add GstVdpVideoBufferPoolCarl-Anton Ingmarsson7-15/+220
GstVdpVideoBufferPool is a subclass of GstVdpBuffer that caches GstVdpVideoBuffers
2010-07-30vdpau: add GstVdpBufferPool base classCarl-Anton Ingmarsson5-0/+581
GstVdpBufferPool will be used to cache GstVdp[Video|Output]Buffers since creating these can be a costly operation on some hardware.
2010-07-30vdpau: remove GstVdpOutputSrcPad "template-caps" propertyCarl-Anton Ingmarsson4-50/+21
instead we do as GstVdpVideoSrcPad and use the "templ" property of GstPad, which enable us to change the signature of gst_vdp_output_src_pad_new to match gst_pad_new_from_template
2010-07-30vdpau: remove GstVdpOutputSrcPad code to retrieve the device from downstreamCarl-Anton Ingmarsson2-154/+101
we now no longer try to get the GstVdpDevice from downstream since it in practice didn't give us anything and complicates the code alot. Nevertheless if device distribution should be done there's probably a lot better ways to do it. Instead we now simply aquire the device in vdpauvideopostprocess when we're going into PAUSED.
2010-07-30vdpau: cleanup GstVdpDecoder opening of it's GstVdpDeviceCarl-Anton Ingmarsson6-156/+135
we now no longer try to get the GstVdpDevice from downstream since it in practice didn't give us anything and complicates the code alot. Nevertheless if device distribution should be done there's probably a lot better ways to do it.
2010-07-30vdpau: fix GstBaseVideoDecoder returning wrong GstStateChangeReturnCarl-Anton Ingmarsson1-2/+4
when gst_base_video_decoder_[start|stop] fails we now return GST_STATE_CHANGE_FAILURE instead of returning what the parent class returns
2010-07-30vdpaumpegdec: remove unneeded setting of buffer flagsCarl-Anton Ingmarsson1-12/+0
GstBaseVideoDecoder sets GST_VIDEO_BUFFER_TFF for us and GST_BUFFER_FLAG_DELTA_UNIT doesn't make sense for decoded frames.
2010-07-27vdpau: dist new header fileTim-Philipp Müller1-1/+2
Fix make distcheck.
2010-07-23vdpau: add gst_vdp_decoder_render and gst_vdp_decoder_init_decoderCarl-Anton Ingmarsson4-206/+186
2010-07-19vdpauh264dec: try to calculate framerate if we don't get one from upstreamCarl-Anton Ingmarsson2-1/+21