summaryrefslogtreecommitdiff
path: root/sys/androidmedia/gstamc.h
Commit message (Collapse)AuthorAgeFilesLines
* androidmedia: Add support for H265/HEVCSebastian Dröge2015-07-081-1/+5
|
* androidmedia: Conditionally use get_{input,output}_buffer() Android 21 APIsSebastian Dröge2015-05-311-3/+5
| | | | | Also properly set limit/position on byte buffer, some codecs prefer to have correct values there.
* amc: Use new JNI utils almost everywhereSebastian Dröge2015-04-111-11/+6
|
* androidmedia: Add exceptions from the Java API to error messages, and post ↵Sebastian Dröge2014-05-301-0/+17
| | | | more error/warning messages overall
* androidmedia: Add a GError argument to all amc methods and catch exceptions ↵Sebastian Dröge2014-05-301-25/+25
| | | | there
* Revert "androidmedia: Place some const keywords in a few places"Sebastian Dröge2014-05-271-2/+2
| | | | | | | This reverts commit 3078b3a34c1f75b86bd629df1cd7c089a0f69999. gst_video_frame_map() doesn't take a const GstVideoInfo*, so all this is rather useless.
* androidmedia: Place some const keywords in a few placesSebastian Dröge2014-05-261-2/+2
|
* androidmedia: add gst_amc_color_format_copyChen Jie2014-05-261-0/+24
| | | | | | gst_amc_color_format_copy will copy in/out a frame resides at a GstAmcBuffer. Lots of codes in gst_amc_video_*_fill_buffer are moved to this new function.
* androidmedia: move create_src|sink_caps to gstamc.cChen Jie2014-05-261-2/+4
| | | | | | | | | | | | | | | | | | | | | | | Some hack logic needs also to be present in create_src|sink_caps, for working around some broken codecs. These hacks are hidden in color_format/video_format conversion -- the prototypes of these functions are also changed to include more args for hack judgement. Also in case of multi-color_formats mapped to one video_format, then map that video_format back will not give the original color_format, which causes gst_amc_codec_configure failed with something like 'does not support color format N'. The new prototype involves with GstAmcCodecInfo and mime, which ensures the converted color_format is supported by the codec. A COLOR_FormatYCbYCr to GST_VIDEO_FORMAT_YUY2 mapping is also added, in order to work around bugs in OMX.k3.video.decoder.avc(which incorrectly reports supporting COLOR_FormatYCbYCr, which is actually COLOR_FormatYUV420SemiPlanar). There are already hacks for this in gst_amc_video_format_to_color_format, gst_amc_color_format_to_video_format and gst_amc_color_format_info_set, but the codec will still not work(be ignored because of "has unknown color formats") without adding this mapping.
* androidmedia: Port to 1.0Sebastian Dröge2012-10-251-4/+4
|
* Add support for audio decoders, completely untested so farSebastian Dröge2012-10-151-0/+4
|
* Print the MediaFormats we get in the debug logsSebastian Dröge2012-10-151-0/+2
|
* Improve level/profile handlingSebastian Dröge2012-10-151-1/+1
|
* Add some more JNI wrappingSebastian Dröge2012-10-151-1/+5
|
* Implement basic wrapper around MediaCodec APISebastian Dröge2012-10-151-17/+35
| | | | Ideally nothing else will be needed from the elements later.
* Some more WIPSebastian Dröge2012-10-151-2/+85
| | | | | | Scanning all codecs now and have data structures for holding codec information and codec contexts. Also function declarations for working with them.
* Initial commitSebastian Dröge2012-10-151-0/+34