Thibault Saunier
8090627581
codecparsers: VC1: Some cosmetics and debug logging enhancements
2011-10-17 13:17:39 +02:00
Gwenole Beauchesne
ef5b8ef581
codecparsers: vc1: Implement bitplanes handling properly
...
Add a new GstVC1BitPlanes API.
2011-10-17 13:17:39 +02:00
Gwenole Beauchesne
ac552a4f82
codecparsers: vc1: fix BFRACTION parser (values range + overflow).
2011-10-17 13:17:39 +02:00
Gwenole Beauchesne
52d8510ee0
codecparsers: vc1: fix VLC decoding.
2011-10-17 13:17:39 +02:00
Thibault Saunier
1a1935dacf
codecparsers: VC1: Implement FrameLayer parsing
2011-10-17 13:17:39 +02:00
Thibault Saunier
fc09e45108
codecparsers: VC1: Implement Sequence Layer Data Structures
...
Instead of having a single VC1SequenceHeader structure, use the 3 structs
from the "Table 265: Sequence Layer Data Structure" of the specification
for the library to be more flexible.
Implement the functions to parse them
2011-10-17 13:17:38 +02:00
Thibault Saunier
446e0a5216
codecparsers: VC1: Compute framerate and bitrate in simple/main profiles
2011-10-17 13:17:38 +02:00
Thibault Saunier
2b5e7c1f0f
codecparsers: VC1: compute MB height and width
...
Add them to GstVC1SequenceHdr
2011-10-17 13:17:38 +02:00
Gwenole Beauchesne
6137d841a0
codecparsers: vc1: debug cosmetics.
2011-10-17 13:17:38 +02:00
Gwenole Beauchesne
de4a1049e2
codecparsers: vc1: record picture layer header size in bits.
2011-10-17 13:17:38 +02:00
Gwenole Beauchesne
b181bd8bae
codecparsers: vc1: compute altpquant.
2011-10-17 13:17:38 +02:00
Gwenole Beauchesne
604ce193dd
codecparsers: vc1: use GstVC1ParserResult type name similarly to other parsers.
2011-10-17 13:17:37 +02:00
Gwenole Beauchesne
bd686a6370
codecparsers: vc1: handle End-of-Sequence correctly.
2011-10-17 13:17:37 +02:00
Gwenole Beauchesne
c90bf89b16
codecparsers: mpeg2: fix quant_matrix_extension() parser for chroma intra QM.
2011-10-17 13:17:37 +02:00
Thiago Santos
acdd2c20f7
basecamerasrc: Set preview pipeline to ready when going to ready
...
The preview pipeline should go to ready when the camerasrc goes
to ready, as in ready elements shouldn't be processing data.
2011-10-11 23:30:49 -03:00
Thiago Santos
21653a793a
camerabin2: Initialize camerabin2 preview pipeline data with 0
...
Use g_new0 to initialize all fields with 0 to only cleanup what has been
initialized. This makes cleanup work correctly when some initialization
fails and pointers are left in some inconsistent state.
2011-10-03 16:16:23 -03:00
Thiago Santos
b03c7478d4
camerabin2: removing capsfilter from preview pipeline
...
appsink already has a caps property, so we don't need the
capsfilter here
2011-09-29 11:50:04 -03:00
Thibault Saunier
705a80d957
codecparser: VC1: Implement a VC1 parsing library
2011-09-26 08:46:37 -03:00
Thibault Saunier
2c928aba19
codecparsers: Declare the new APIs as unstable for the time being
2011-09-26 08:11:45 -03:00
Thiago Santos
43ec4f46b8
basecamerasrc: Fail state change if preview pipeline fails creation
...
If the preview pipeline fails creation, for any reason, we should
fail basecamerasrc state change.
Also adds a missing g_return_if_fail check to preview pipeline
functions
2011-09-20 13:02:17 -03:00
Edward Hervey
7d5bd1992e
codecparsers: Add checks to input, and fix size checking
2011-09-19 16:40:45 +02:00
Edward Hervey
e6212219ed
codecparsinglibs: Doc and indentation fixes
2011-09-19 14:03:23 +02:00
Vincent Penquerc'h
ac5121eb01
h264parse: do not try to read from a non existent VUI
...
https://bugzilla.gnome.org/show_bug.cgi?id=658800
2011-09-19 09:27:06 +02:00
Thibault Saunier
f396baa3af
codecparsers: mpegvideo: Debugging symbols enhancements
2011-09-14 12:13:19 -03:00
Thibault Saunier
309df7e1e8
codecparsers: mpegvideo: Add the ChromaType enum
2011-09-14 12:13:19 -03:00
Thibault Saunier
10215d26de
codecparsers: mpegvideo: Change broken_gop to broken_link
...
This way we respect the standard naming
2011-09-14 12:13:19 -03:00
Alessandro Decina
668b0ab4f8
codecparsers: fix compiler warnings
2011-09-12 10:33:06 +02:00
Thibault Saunier
edebb4ed92
codecparsers: h264: Implement the nal_parser_free function
2011-09-09 15:02:35 -03:00
Thibault Saunier
949ba4e895
codecparsers: h264: Use g_slice instead of g_malloc in nal_parser_new
2011-09-09 15:02:34 -03:00
Thibault Saunier
8b268bd49d
codecparsers: h264: Update the documentation
...
Fix a few error.
Document missing parts.
Add links to the specifications
2011-09-09 15:02:31 -03:00
Thiago Santos
12f77b27e2
camerabin2: preview: No need for appsink to store the last buffer
...
There is no need for preview's appsink to keep a reference to the last buffer,
so disable the property to make it unref the buffers sooner.
2011-09-06 23:03:40 -03:00
Thiago Santos
8a56a7de6d
camerabin2: preview: Appsink doesn't need to sync
...
Set sync to false on preview's pipeline appsink
2011-09-05 14:39:20 -03:00
Thiago Santos
d41af4e2f8
camerabin2: preview: Remove one of the two colorspace converters
...
The preview pipeline doesn't need 2 colorspace converters, remove
one to speed up caps negotiation and reduce the delay on getting
the first preview buffer out of the preview pipeline.
It shouldn't cause problems as videoscale and ffmpegcolorspace seems
to handle the same caps, so no conversion should be needed for
videoscale. Additionally, camerabin1 has been working with a similar
pipeline with a single ffmpegcolorspace and no bugs have been open about it
so far.
2011-09-05 09:59:53 -03:00
Thiago Santos
0bdde84f3b
camerabin2: preview: Disable appsrc signals emission
...
Camerabin2 doesn't check appsrc's signals, so disable them
2011-09-05 09:33:45 -03:00
Vincent Penquerc'h
8a044de701
basevideoenc: do not try to calculate latency from an unknown framerate
...
It'll divide by zero, and latency is unknown for an unknown framerate.
Fixes an assert in the schroenc test.
https://bugzilla.gnome.org/show_bug.cgi?id=657419
2011-09-05 12:08:00 +02:00
Edward Hervey
52a6db2206
docs: minor fixes
2011-09-02 16:10:17 +02:00
Edward Hervey
53fcc53d22
gst-libs: Remove play directory. Was unported since 0.8
2011-09-02 16:10:17 +02:00
Gwenole Beauchesne
3952c0dd3b
codecparsers: h264: fix PPS parser
...
Fix transform_8x8_mode_flag and second_chroma_qp_index_offset
2011-09-02 15:46:04 +02:00
Gwenole Beauchesne
d7fafc551a
codecparsers: h264: fix NAL reader initialization.
2011-09-02 15:46:04 +02:00
Gwenole Beauchesne
d37f842aaa
codecparsers: h264: handle end-of-seq and end-of-stream NAL gracefully.
2011-09-02 15:46:03 +02:00
Gwenole Beauchesne
ccfd761659
codecparsers: h264: fix ref_pic_list_reordering().
2011-09-02 15:46:03 +02:00
Gwenole Beauchesne
621fd01281
codecparsers: h264: fix pred_weight_table() parsing.
...
Use 16-bit signed integer values for weight values because valid
ranges are -128 to +128 inclusive.
2011-09-02 15:46:03 +02:00
Gwenole Beauchesne
4bacba620f
codecparsers: h264: record slice_header() size in bits.
2011-09-02 15:46:03 +02:00
Gwenole Beauchesne
0a0c73169f
codecparsers: h264: fix slice_header() parsing.
...
We were not parsing the slice headers until the actual end, we are now
parsing until the end.
2011-09-02 15:46:03 +02:00
Gwenole Beauchesne
43e47009d5
codecparsers: h264: fix filler-data NAL unit type name.
2011-09-02 15:46:03 +02:00
Gwenole Beauchesne
10ee3593f2
codecparsers: mpeg: add user-data packet start code definition.
2011-09-02 15:46:02 +02:00
Gwenole Beauchesne
888e8144a0
codecparsers: mpeg: fix Picture_Coding_Extension parser.
2011-09-02 15:46:02 +02:00
Thibault Saunier
a1cfba43f6
codecparsers: h264: Add an h.264 bitstream parsing library
2011-09-02 15:46:02 +02:00
Thibault Saunier
c64b99339c
codecparsers: mpeg: Add an mpeg video bitstream parsing library
...
Create a new codecparsers library
2011-09-02 15:46:02 +02:00
Thiago Santos
e17d99c4c4
basecamerabinsrc: Optimize preview pipeline startup
...
Use gst_element_link_pads_full to optimize preview pipeline startup,
leading to a faster camerabin2 startup as well.
2011-08-31 15:45:18 -03:00