aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c
Commit message (Collapse)AuthorAgeFilesLines
* vl/mpeg12: Silence GCC unused-variable warning.Vinson Lee2015-08-031-0/+1
| | | | | | | | | | vl/vl_mpeg12_bitstream.c: In function 'decode_slice': vl/vl_mpeg12_bitstream.c:928:19: warning: unused variable 'extra' [-Wunused-variable] unsigned extra = vl_vlc_get_uimsbf(&bs->vlc, 1); ^ Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Christian König <[email protected]>
* gallium: replace INLINE with inlineIlia Mirkin2015-07-211-11/+11
| | | | | | | | | | | | | | | | Generated by running: git grep -l INLINE src/gallium/ | xargs sed -i 's/\bINLINE\b/inline/g' git grep -l INLINE src/mesa/state_tracker/ | xargs sed -i 's/\bINLINE\b/inline/g' git checkout src/gallium/state_trackers/clover/Doxyfile and manual edits to src/gallium/include/pipe/p_compiler.h src/gallium/README.portability to remove mentions of the inline define. Signed-off-by: Ilia Mirkin <[email protected]> Acked-by: Marek Olšák <[email protected]>
* s/Tungsten Graphics/VMware/José Fonseca2014-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tungsten Graphics Inc. was acquired by VMware Inc. in 2008. Leaving the old copyright name is creating unnecessary confusion, hence this change. This was the sed script I used: $ cat tg2vmw.sed # Run as: # # git reset --hard HEAD && find include scons src -type f -not -name 'sed*' -print0 | xargs -0 sed -i -f tg2vmw.sed # # Rename copyrights s/Tungsten Gra\(ph\|hp\)ics,\? [iI]nc\.\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./g /Copyright/s/Tungsten Graphics\(,\? [iI]nc\.\)\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./ s/TUNGSTEN GRAPHICS/VMWARE/g # Rename emails s/[email protected]/[email protected]/ s/[email protected]/[email protected]/g s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/ s/jrfonseca\[email protected]/[email protected]/g s/keithw\[email protected]/[email protected]/g s/[email protected]/[email protected]/g s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/ s/[email protected]/[email protected]/ # Remove dead links s@Tungsten Graphics (http://www.tungstengraphics.com)@Tungsten Graphics@g # C string src/gallium/state_trackers/vega/api_misc.c s/"Tungsten Graphics, Inc"/"VMware, Inc"/ Reviewed-by: Brian Paul <[email protected]>
* vl/mpeg12: use new vlc function to search for start codesChristian König2013-09-251-1/+1
| | | | Signed-off-by: Christian König <[email protected]>
* vl: rename pipe_video_decoder to pipe_video_codecChristian König2013-08-191-2/+2
| | | | Signed-off-by: Christian König <[email protected]>
* vl: rename enum pipe_video_codec to pipe_video_formatChristian König2013-08-191-1/+1
| | | | Signed-off-by: Christian König <[email protected]>
* vl/mpeg12: handle mpeg-1 bitstreams more correctlyMaarten Lankhorst2013-06-261-5/+16
| | | | | Add support for D-frames. Add support for slices ending on a different horizontal row of macroblocks.
* vl/mpeg12: fix mpeg-1 bytestream parsingMaarten Lankhorst2013-06-221-6/+24
| | | | | | | | | | | This fixes the bytestream parsing of mpeg-1 stream, but still leaves open a number of issues with the interpretation: - IDCT mismatch control is not correct for MPEG-1. - Slices do not have to start and end on the same horizontal row of macroblocks. - picture_coding_type = 4 (D-pictures) is not handled. - full_pel_*_vector is not handled. Signed-off-by: Maarten Lankhorst <[email protected]>
* vl/mpeg12: make bitstream decoder more robustChristian König2012-03-091-0/+2
| | | | | | Just another xine workaround. Signed-off-by: Christian König <[email protected]>
* vl: move away from state like parametersChristian König2012-01-151-34/+34
| | | | | | | Again based on Maartens work, but keep begin_frame and end_frame functions for now. Signed-off-by: Christian König <[email protected]>
* vl: call decode_bitstream only onceChristian König2011-12-261-2/+3
| | | | | | | Submit all bitstreams at once to decode_bitstream. Signed-off-by: Christian König <[email protected]> Signed-off-by: Maarten Lankhorst <[email protected]>
* vl: improve vlc functions and handlingMaarten Lankhorst2011-12-231-27/+19
| | | | | | | | | | | | | | Only initialize vlc in MPEG2 decoding once for all slices, add more sanity checks to vlc decoding functions, support multiple vlc input buffer, improve documentation of the vlc functions. v2: also implement multiple inputs for the vlc functions v3: some bug fixes for buffer size and alignment corner cases v4: rework of the patch, some more improvements Signed-off-by: Maarten Lankhorst <[email protected]> Signed-off-by: Christian König <[email protected]>
* vl: Fix include styleKai Wasserbäch2011-08-291-2/+2
| | | | | | | | | | | As explained in the thread starting at [0], the internal include style should be »#include "path/to/header.h"« for non-system includes. [0] <http://news.gmane.org/find-root.php?message_id=%3c4E5802BE.6020206%40vmware.com%3e> Signed-off-by: Kai Wasserbäch <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* g3dvl: Fix a bug not decoding the last 32-64 bits of an mpeg2 bitstream.Christian König2011-08-291-6/+4
| | | | Another bug found by Andy Furniss.
* g3dvl: fix compilation failure on MSVCBrian Paul2011-08-261-1/+2
| | | | I assume the intention of "mb = {}" was to zero-initialize it.
* g3dvl: Rewrite the mpeg 1&2 bitstream parserChristian König2011-08-261-1646/+796
| | | | | | | Based on work of Maarten Lankhorst this time. Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
* g3dvl: Use a single texture for luma and chroma dataChristian König2011-08-261-8/+12
| | | | | Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
* g3dvl: Rework the decoder interface part 3/5Christian König2011-08-261-17/+17
| | | | | | | | Revert back to a macroblock based interface. The structure used tries to keep as close to the spec as possible. Signed-off-by: Christian König <[email protected]> Reviewed-by: Younes Manton <[email protected]>
* g3dvl: s/inline/INLINE/Vinson Lee2011-07-131-28/+29
| | | | The inline keyword is not available in MSVC C.
* [g3dvl] remove unused and dublicate fields from picture structureChristian König2011-06-051-3/+3
|
* [g3dvl] move quantification into shadersChristian König2011-05-291-70/+37
|
* [g3dvl] implement mismatch control inside idct shadersChristian König2011-05-291-15/+0
|
* [g3dvl] store mvpos seperately from x,y cordChristian König2011-05-151-23/+27
|
* [g3dvl] pre apply zscan to quant matrixChristian König2011-05-151-68/+51
|
* [g3dvl] fix fi_frame mb incrementChristian König2011-05-141-2/+19
|
* [g3dvl] move dct_type detection out of get_macroblock_modesChristian König2011-05-081-29/+23
|
* [g3dvl] fix field selection of mb without mcChristian König2011-05-081-18/+23
|
* [g3dvl] memcpy the DCT buffer instead of writing it directlyChristian König2011-05-071-2/+6
| | | | It looks like texture buffers are not cached so this seems to be alot faster
* [g3dvl] move zscan into shadersChristian König2011-05-051-95/+42
|
* [g3dvl] remove quantizer_scale from picture structureChristian König2011-05-041-34/+36
|
* [g3dvl] remove dc_dct_pred from picture structureChristian König2011-05-041-15/+16
|
* [g3dvl] divide mpg12 width height by 16Christian König2011-05-041-11/+8
|
* [g3dvl] remove the dubble zscan from the mpg12 decoderChristian König2011-05-041-57/+25
|
* [g3dvl] Implement MPEG2 VLDChristian König2011-05-041-0/+1962
Based uppon xine's slice_xvmc.c. This gets VDPAU up and running.