Cheng Chen
86675d87a3
Copy frame counts to the encode result.
...
Explicitly copy frame counts of each frame to the encode result
struct.
Change-Id: Icc18ac83a9e2be8d7a4819f2fffcfda6568b275c
2020-01-09 14:38:31 -08:00
angiebird
ace8ab89b7
Rename encode_frame_index
...
to next_encode_frame_index
Change-Id: Id9bd2a0f6c4278bf0f0c270eb937a317232dead6
2019-12-16 15:19:35 -08:00
angiebird
56f51daecb
Add start_show_index/show_frame_count
...
to GroupOfPicture
Change-Id: I905be72686b6c0e27ea782a12f1e8a8176c8b0f5
2019-12-16 15:07:51 -08:00
angiebird
a53b7e53e8
Add GetFramePixelCount to SimpleEncode
...
Gets the total number of pixels of YUV planes per frame.
Change-Id: Ifdf35190cdde1378de6d7e93ab4428868a5795fa
2019-12-12 12:03:28 -08:00
angiebird
204ba94f4b
Cosmetic changes for RATE_CTRL related functions
...
Move input parameters ahead of output parameters.
Change-Id: I384f69523b6be92224535d05373ebb33467a040e
2019-12-11 15:43:39 -08:00
angiebird
757a5e6aa9
Add GetNextEncodeFrameInfo ObserveGroupOfPicture
...
GetNextEncodeFrameInfo()
Gets encode_frame_info for the next coding frame.
ObserveGroupOfPicture()
Provides the group of pictures that the next coding frame is in.
Change-Id: Idbc437d32c392f25b06efb2d4e1ec01347d678f2
2019-12-10 11:41:01 -08:00
angiebird
94fb57d3a5
Add GetKeyFrameGroupSize()
...
Makes vp9_get_frames_to_next_key() public.
Change-Id: I903cefbb3925d6ffc641412c6d60d95a2ff256a4
2019-12-06 15:03:23 -08:00
angiebird
8d211a3969
Make GetCodingFrameNum const function
...
Change-Id: I6a5a2400cfb6e122c77667e0950c80026c48a1f6
2019-11-25 10:38:16 -08:00
angiebird
67fe324ab6
Add trailing underscore to members of SimpleEncode
...
Change-Id: I7a1d19ed4fd60fef374392c86df69d2122c335f0
2019-11-21 10:54:23 -08:00
angiebird
22ef949667
Rename impl by EncodeImpl
...
Change-Id: Id182cd234c9f4f37c2854ea5ca761d8cfa113791
2019-11-21 10:54:23 -08:00
angiebird
fb4f013f27
Fix a bug in free_encoder()
...
Move vpx_free(buffer_pool) after vp9_remove_compressor()
buffer_pool needs to be free after cpi because buffer_pool
contains allocated buffers that will be free in
vp9_remove_compressor()
Change-Id: I8bcedae2858cfe132bde110c8f3f6b55dcbe3f36
2019-11-20 10:41:16 -08:00
angiebird
f563d975c6
Use indicative mood in comments of SimpleEncode
...
Change-Id: I913e14994646945a7237c9ab65097647fb3a5b5c
2019-11-20 10:41:16 -08:00
angiebird
3afd6e8270
Rename pimpl by impl_ptr in SimpleEncode
...
Change-Id: I0071216b710544731a6f8e8c7a63c7a28f25bbac
2019-11-20 10:41:16 -08:00
angiebird
cd686f727a
Move pimpl to the function body of SimpleEncode
...
Change-Id: Id4757d61916b8348d76c99dddbe48e68f2b3ef1a
2019-11-20 10:41:16 -08:00
angiebird
38b636094b
Add namespace vp9
...
Change-Id: I29d05557becbfc5d55d1cd1bb709e519d27c928b
2019-11-20 10:41:16 -08:00
Angie Chen
65c7b631a2
Close the file that SimpleEncode opens in its ctor in its dtor.
...
Change-Id: I1e5d1be9f076c70ec1d7764d5703aeba8afd4436
2019-11-20 01:54:41 +00:00
angiebird
6a950fee92
Add coding_data_bit_size to EncodeFrameResult
...
Change-Id: I32ab6829083c896ab2c6234e191939a000dea6e5
2019-11-18 11:37:24 -08:00
angiebird
21e93eb814
Pass in infile_path to SimpleEncode()
...
Change-Id: If47867d4d59a59e252bfe7eb24c940f9e089d335
2019-11-18 11:37:24 -08:00
angiebird
c4f1fe4b22
Add SimpleEncode::EncodeFrameWithQuantizeIndex()
...
Change-Id: I4442de01dfdbf13b0b9f7830f0fb393d3b935522
2019-11-18 11:37:24 -08:00
angiebird
2b97860f97
Add quantize_index to EncodeFrameResult
...
Change-Id: Idfb36a8bfa264df8294eba70424fd25fa5d88cda
2019-11-18 11:37:24 -08:00
angiebird
56735c3fdb
Add psnr and sse to EncodeFrameResult
...
Change-Id: I33c410a14b86f95278eff8d1d0e6992f1b82a17d
2019-11-18 11:37:24 -08:00
angiebird
6956e393c7
Add frame_type and show_idx to EncodeFrameResult
...
Let vp9_get_compressed_data update ENCODE_FRAME_RESULT, a C
version of EncodeFrameResult.
Let unit test to test frame_type and show_idx properly.
Change-Id: Id810c26c826254fd82249f19ab855ea3b440d99c
2019-11-18 11:37:24 -08:00
angiebird
f975d02d6d
Add EncodeFrameResults
...
It contains coding_data_size and coding_data.
The EncodeFrame will allocate a buffer, write the coding data into the
buffer and give the ownership of the buffer to
encode_frame_result->coding_data
Change-Id: I6bd86aede191ade1db4a1f1bba5be601eef97d60
2019-11-18 11:37:24 -08:00
angiebird
7dd26ae967
Rename frame_stats by first_pass_stats
...
This is in simple_encode.cc
Change-Id: I2770e4a229b435f92e1ebe226644d8d104114d29
2019-11-18 11:37:24 -08:00
angiebird
422445a81d
Add SimpleEncode::GetCodingFrameNum()
...
Also add unit tests for GetCodingFrameNum() and EncodeFrame()
Change-Id: I3e7b65f47226be4660409481435f8f784db72a68
2019-11-18 11:37:24 -08:00
angiebird
9330bd71a1
Add SimpleEncode::EncodeFrame()
...
Change-Id: I08f074b7db2011f88769bd1d9d50cb376c238fe5
2019-11-18 11:37:24 -08:00
angiebird
7ee697a5da
Add ComputeFirstPassStats()
...
Change-Id: Iaed87a4fa35f456aec5d88d07fade636280eb211
2019-11-18 11:37:24 -08:00
angiebird
04f50db953
Add simple_encode.cc/h
...
Change-Id: I6dff1bda4bea760a32c2f8e38773e5913c830204
2019-11-15 15:10:50 -08:00