aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-02autogen.sh: do not invoke ./configure when requiredHEADmasterNicolas Dechesne
allow to not automatically call ./configure , since there are times when it should not be done (e.g. packaging). Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2015-03-02gstqcvideodec:FireFox crashed while playing youtube videosprasanth kamuju
Replace "return NULL" with "pthread_exit(NULL)" in video_thread. Video thread rewind is not happening properly when the video thread return with NULL. Because of it, stack smashing detected and not allowing subsequent videos to play. Signed-off-by: prasanth kamuju <prasanth.kamuju@linaro.org> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2015-01-28Removed unexpected +x for .h filesNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2015-01-28Add debug log before returning the frame to video decoder classNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2015-01-28Clean up the code to use Gstreamer coding styleNicolas Dechesne
using gstreamer/tools/gst-indent script, as per Gstreamer coding style guidelines. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2015-01-28Removed unused .c and .h filesNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2015-01-28Goodbye aync_threadNicolas Dechesne
The initial code we inherit was using 2 threads, 1 to wait on the driver, and another one to wait from commands forwarded by the first thread. Instead simply use 1 main thread that processes all commands from the driver without the need for an intermediate queue or thread. This patch does not seem to make any functional change. Also removed the queue and msg queue implementation which are not needed anymore. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2015-01-28gstqcvideodec: improve GST debug/log/info tracesNicolas Dechesne
* Try to use proper LOG level when appropriate * Remove leading/trailing '\n' Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2015-01-28gstqcvideodec : Put the decoded buffers in the right frames.prasanth kamuju
For mp4 and 3gp files the buffers were decoded in the same input order(increasing timestamp), But in case .mov files, some buffers were decoded later. So always get the frame which is having lower PST.
2015-01-22Increase the actual buffer countprasanth kamuju
The actual buffer count should be less than max/2 for smooth playback of 1080p videos,if it is less set the actual buffer count = max/2.
2015-01-22gstqcvideodec : Allocating mv buffer only for H264 codecprasanth kamuju
For H264 codec, MotionVector buffer is required for the h/w decoder internal use.
2015-01-22gstqcvideodec: Redundant code moved under common function.prasanth kamuju
2015-01-21gstqcvideodec:No of gstbuffers should be same as number of ion buffersprasanth kamuju
when the reconfig event comes from the driver, recreate the gstbuffers in the pool based on the h/w decoder requirement of actual buffes.
2015-01-21Set actual count of buffers instead of minimum count.prasanth kamuju
Set the actual count of ion buffers with h/w decoder for filling the decoded data .
2014-12-19qcvideodec: Close ION and VDEC fd's.prasanth kamuju
ION and VDEC were open in open() call and should be closed in close() call.
2014-12-15qcvideodec: Memory leakprasanth kamuju
Call the ioctl to free the input buffers and then unmap the input buffers.
2014-12-15qcvideodec: Send frame info to the decoderprasanth kamuju
Send the frame info to the h/w decoder. Otherwise when the sync frame/keyframe arrives, it will return all the decoded frames before accepting the new frame.
2014-12-01 qcvideodec:Luma and chroma alignmentprasanth kamuju
The output buffer have 2 plans called Luma and Chroma. Those are 8Kb alignment and Gstramer expects in 4Kb alignment. So the 2nd plan, Chroma offset has to be changed based on Luma if the Luma offset is not under 4Kb. Ex: 800*480 video, In the Tile buffer, luma is ROUND_UP_128(800) * ROUND_UP_32(480) it will become 896 * 480 = 430080 it is 4Kb align but not 8Kb alig So Luma plan ends at 434176 Chroma, ROUND_UP_128(800) * ROUND_UP_32(480/2) 896 * 256 = 229376 when the output buffer is converted to GST buffer, Chroma offset should be 434176, not 430080
2014-11-21configure.ac : libdrm dependency addedprasanth kamuju
This plugin requires libdrm library functions
2014-11-21qcvideodec: Implementation of qcvideodec own buffer poolprasanth kamuju
This will improve performance by re-use the preallocated buffers, Instead of allocating new buffer for each decoded frame
2014-10-20qcvideodec: Replace memcpy with dma buffer APIs.prasanth kamuju
This will improve the performance by removing the extra copy from decoded ION buffer to gst_buffer. Instead by using drm APIs, can convert the ION buffer pointer to dma buffer and then assign it to gst-buffer pointer
2014-10-10qcvideodec: Replace g_print with default GST_DEBUG messagesprasanth kamuju
2014-10-07autogen.sh: pass args down to configure scriptNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2014-10-07qcvideodec: remove extra debug messagesNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2014-10-07qcvideodec: parse caps to detect codec info and pass down to driverNicolas Dechesne
We want to try to reuse the same element for all the supported codecs, so let's look at the CAPS and configure the downstream codec accordingly. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2014-10-07gstqcvideodec: adjust luma and chroma alignmentNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2014-10-07gstqcvideodec: improved errors handlingNicolas Dechesne
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2014-09-18Added src , sink caps and increased the priorityprasanth kamuju
Src and Sink pads were added for mpeg Increased the priority, so that playbin pick up the h/w plugin in g-streamer pipe line.
2014-09-09Fix for memory leakprasanth kamuju
2014-09-09STOP the video decoder and free the ION buffers at the ENDprasanth kamuju
Once decoding is completed, STOP the video decoder core and unmap the ION buffers and then free those buffers. Along with it, removed extra buffers.
2014-09-09Handle End Of Streamprasanth kamuju
Receive already decoded buffers once EOS is reached
2014-09-08Fix for warnings and Remove extra log messages.prasanth kamuju
Extra log messages are creating extra delay in between the frames.
2014-09-08Use gstvideodecoder APIs for map and finish_frame.prasanth kamuju
For the decoder buffer, should use gstvideodecoder APIs for map and then call finish_frame to handover the decoded buffer to next element. Internally it will call gst_pad_push.
2014-09-04Add support to finish_frameprasanth kamuju
push the decoded buffer to next element using gstvideodecoder base call APIs.
2014-08-27Adding video shared libs in the Makefileprasanth kamuju
2014-08-25G-streamer MPEG4 plug-in support for Qualcomm chipprasanth kamuju
2014-08-25initial commitprasanth kamuju