Commit Graph

58 Commits

Author SHA1 Message Date
7c42d6a2e9 util/frame: implement set_pts() 2015-09-09 13:49:20 +02:00
meh
f2fb08e491 util/dictionary: refactor and make more sound 2015-09-08 18:26:29 +02:00
b5c7d27f96 frame/video: implement From<Frame> 2015-09-02 12:43:52 +02:00
71d14e15ba frame/audio: implement From<Frame> 2015-09-02 12:43:44 +02:00
5332dabffa util/frame/video: set alignment to 32 in av_frame_get_buffer()
In all places where the function `av_frame_get_buffer()` was used on a video
frame in the ffmpeg sources the value `32` was used as an alignment.
2015-08-31 22:47:29 +02:00
c0049beaba util/frame/audio: set alignment to 0 in av_frame_get_buffer()
In all places where the function `av_frame_get_buffer()` was used on an audio
frame in the ffmpeg sources the value `0` was used as an alignment.

Also [1] states the value `0` as the default alignment.

[1]: http://www.ffmpeg.org/doxygen/2.7/group__lavu__sampfmts.html#gaa7368bc4e3a366b688e81938ed55eb06
2015-08-31 22:43:46 +02:00
meh
e063da22a4 frame/side_data: add inline attributes 2015-08-14 19:33:06 +02:00
meh
7dc9858ee0 frame/video: change some inline attributes 2015-08-05 19:32:48 +02:00
meh
61b2e5b81b frame/audio: change some inline attributes 2015-08-05 19:31:37 +02:00
meh
19b0351574 frame/audio: add inline attributes 2015-08-05 17:08:15 +02:00
meh
3c138fe189 frame/audio: make Sample unsafe and add more implementations 2015-08-04 15:42:34 +02:00
meh
898069692d frame/video: make Component unsafe 2015-08-04 15:31:05 +02:00
meh
c1b1a5b722 frame/video: implement Component for a couple more types 2015-08-04 14:38:42 +02:00
meh
67b683169c crate: add image support 2015-08-03 18:52:30 +02:00
meh
8d4ee5f8bf util/frame/audio: implement Debug 2015-07-15 14:23:07 +02:00
meh
bb4263b7be util/rational: some more refactoring 2015-06-25 22:23:33 +02:00
meh
348623e8cc util/frame/video: use a trait instead of type_of 2015-06-10 22:04:18 +02:00
meh
0bed7e7346 util/frame/audio: use a trait instead of type_of 2015-06-10 22:03:59 +02:00
meh
32bf1b37ac util/frame: only Frame needs to be Send 2015-06-09 23:47:10 +02:00
meh
c7ec5a8117 util/frame/video: improve ergonomics 2015-06-08 15:52:22 +02:00
meh
02ea528c26 util/frame/audio: improve ergonomics 2015-06-08 15:52:01 +02:00
meh
065337925f util/frame: add predicate for emptyness 2015-06-08 15:51:04 +02:00
meh
ff1b880be6 *: make internal pointer handling safer 2015-06-04 03:03:19 +02:00
meh
d737ccdc37 util/samples: use ChannelLayout 2015-06-01 20:32:25 +02:00
meh
956ed014d7 util/frame/audio: use ChannelLayout 2015-06-01 18:34:42 +02:00
meh
ea6b10ba84 util/frame/audio: change rate type to u32 2015-06-01 16:57:04 +02:00
meh
72895052e6 util/frame/audio: add samples accessor 2015-06-01 16:52:19 +02:00
meh
f8d4403c3a util/frame/video: derive PartialEq and Eq 2015-05-31 19:29:04 +02:00
meh
636a372121 util/frame/audio: derive PartialEq and Eq 2015-05-31 19:28:51 +02:00
meh
064b9fe5c4 util/frame/audio: change channels type to u16 2015-05-31 18:58:23 +02:00
meh
97b6100810 util/frame: fix cloning 2015-05-31 18:57:37 +02:00
meh
dae7e523f6 util/frame/video: add picture_mut getter 2015-05-29 22:11:56 +02:00
meh
27fa8c5878 util/frame/video: implement DerefMut 2015-05-28 20:16:41 +02:00
meh
c1d4a1f136 util/frame/audio: implement DerefMut 2015-05-28 20:16:32 +02:00
meh
34cbbf08c5 util/frame: add copy method to copy properties 2015-05-28 18:21:08 +02:00
meh
c7f0b15fdc util/frame/flag: change flags API style 2015-05-28 18:15:14 +02:00
meh
823f4a7ef4 util/frame: avoid using ffmpeg frame refs 2015-05-28 14:09:06 +02:00
meh
b57bff3e61 util/frame/video: rename new to empty and make new allocate the buffers 2015-05-27 18:58:07 +02:00
meh
049e8a6cdd util/frame/audio: rename new to empty and make new allocate the buffers 2015-05-27 18:57:57 +02:00
meh
7802046e28 util/frame/video: add repeat getter 2015-05-26 20:38:30 +02:00
meh
038440dd41 util/frame: change best_effort_timestamp to timestamp 2015-05-26 20:37:01 +02:00
meh
73accc66b5 util/frame: split it up in files 2015-05-21 20:38:34 +02:00
meh
41a35bc542 util/frame: make it Send 2015-05-21 20:24:48 +02:00
meh
08d1188d2c util/frame: change some types 2015-05-21 20:24:23 +02:00
meh
b9e6eaeb93 util/frame: change width and height to u32 2015-05-19 04:31:34 +02:00
meh
bdc4c427a8 util/frame: make Flags a c_int for compatibility 2015-05-16 17:27:42 +02:00
meh
2dd658f337 util/frame: add some more accessors 2015-05-15 21:58:28 +02:00
meh
930af9d581 util/frame: take advantage of Deref 2015-05-15 21:51:25 +02:00
meh
5c402a1256 util: move SampleFormat and PixelFormat to util::format 2015-05-13 23:36:08 +02:00
meh
d5b024dea9 util/frame: add more accessors 2015-05-13 15:17:08 +02:00