Commit Graph

36 Commits

Author SHA1 Message Date
e947bc5606 Fix clippy::transmute_ptr_to_ptr 2020-07-26 12:26:20 +08:00
307f52c002 Reformat code with latest cargo fmt 2020-06-02 17:54:31 +08:00
0bcd4550b8 *: format code with rustfmt and fix clippy suggestions
* Add avformat_close_input call to clean up AVFormantContext
* Format code with rustfmt
* Fix clippy lint double_parens
* Fix clippy lint deref_addrof
* Fix clippy lint identity_conversion
* Fix clippy lint match_ref_pats
* Fix clippy lint cast_lossless
* Fix clippy lint cmp_null
* Fix clippy lint clone_on_ref_ptr
* Fix clippy lint map_clone
* Fix clippy lint needless_borrow
* Fix clippy lint needless_pass_by_value
* Fix clippy lints for examples
* Fix clippy lint unused_io_amount
* Fix clippy lint new_without_default
* Ignore inline_always clippy lint
* Add vim temp files to .gitignore
2018-04-10 16:06:42 +02:00
8b4693d04c frame/video: get linesize through self.stride() 2017-06-22 22:16:46 +02:00
27d1e7a3fa frame/video: add plane_width() 2017-06-22 22:16:46 +02:00
a5a112713c util: fix formatting 2017-06-22 22:16:46 +02:00
1dd672546d util: fix code style 2017-06-22 22:16:46 +02:00
62739b803d util: fix formatting 2017-06-22 22:16:46 +02:00
0f48e9472b frame/video: make plane_height() public 2017-06-22 22:16:46 +02:00
c873287eb8 frame/video: use correct height in video frame data getters 2017-06-22 22:16:46 +02:00
meh
90291de572 frame/video: add stride() getter 2016-12-28 23:42:29 +01:00
fafcf1d433 *: check unsafe slice creation 2016-05-01 02:01:00 +02:00
meh
62ebd122ac util/frame/video: add more inline attributes 2015-10-29 06:04:21 +01:00
meh
8298586d9f util/frame/video: refactor data() and data_mut() 2015-10-26 14:44:06 +01:00
meh
b7687b9bd9 util/frame/video: add inline attributes 2015-10-14 17:44:23 +02:00
meh
132c514e3f *: returning &mut Self from setters was an awful idea
Deref breaks things.
2015-10-04 03:21:52 +02:00
meh
510e8604b6 *: refactor setters to return self 2015-09-26 18:01:23 +02:00
d908df7ab8 frame/video: add set_kind() method 2015-09-19 12:38:47 +02:00
b5c7d27f96 frame/video: implement From<Frame> 2015-09-02 12:43:52 +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
meh
7dc9858ee0 frame/video: change some inline attributes 2015-08-05 19:32:48 +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
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
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
ff1b880be6 *: make internal pointer handling safer 2015-06-04 03:03:19 +02:00
meh
f8d4403c3a util/frame/video: derive PartialEq and Eq 2015-05-31 19:29:04 +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
b57bff3e61 util/frame/video: rename new to empty and make new allocate the buffers 2015-05-27 18:58:07 +02:00
meh
7802046e28 util/frame/video: add repeat getter 2015-05-26 20:38:30 +02:00
meh
73accc66b5 util/frame: split it up in files 2015-05-21 20:38:34 +02:00