You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
libavcodec/cinepakenc.c: comments cleanup (contents)
Change the encoding of the original developer name from ISO-8859-1 to UTF-8. Remove the stale/completed TODO list. Fix two small typos. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
committed by
Michael Niedermayer
parent
61f70416f8
commit
712ad6b661
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Cinepak encoder (c) 2011 Tomas H�rdin
|
* Cinepak encoder (c) 2011 Tomas Härdin
|
||||||
* http://titan.codemill.se/~tomhar/cinepakenc.patch
|
* http://titan.codemill.se/~tomhar/cinepakenc.patch
|
||||||
*
|
*
|
||||||
* Fixes and improvements, vintage decoders compatibility
|
* Fixes and improvements, vintage decoders compatibility
|
||||||
@@ -23,9 +23,6 @@ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|||||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||||
OTHER DEALINGS IN THE SOFTWARE.
|
OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
* TODO:
|
|
||||||
* - optimize: color space conversion, ...
|
|
||||||
* - implement options to set the min/max number of strips?
|
|
||||||
* MAYBE:
|
* MAYBE:
|
||||||
* - "optimally" split the frame into several non-regular areas
|
* - "optimally" split the frame into several non-regular areas
|
||||||
* using a separate codebook pair for each area and approximating
|
* using a separate codebook pair for each area and approximating
|
||||||
@@ -92,7 +89,7 @@ OTHER DEALINGS IN THE SOFTWARE.
|
|||||||
#define MAX_STRIPS 32 //Note: having fewer choices regarding the number of strips speeds up encoding (obviously)
|
#define MAX_STRIPS 32 //Note: having fewer choices regarding the number of strips speeds up encoding (obviously)
|
||||||
#define MIN_STRIPS 1 //Note: having more strips speeds up encoding the frame (this is less obvious)
|
#define MIN_STRIPS 1 //Note: having more strips speeds up encoding the frame (this is less obvious)
|
||||||
// MAX_STRIPS limits the maximum quality you can reach
|
// MAX_STRIPS limits the maximum quality you can reach
|
||||||
// when you want hight quality on high resolutions,
|
// when you want high quality on high resolutions,
|
||||||
// MIN_STRIPS limits the minimum efficiently encodable bit rate
|
// MIN_STRIPS limits the minimum efficiently encodable bit rate
|
||||||
// on low resolutions
|
// on low resolutions
|
||||||
// the numbers are only used for brute force optimization for the first frame,
|
// the numbers are only used for brute force optimization for the first frame,
|
||||||
@@ -119,7 +116,7 @@ typedef enum {
|
|||||||
typedef struct {
|
typedef struct {
|
||||||
int v1_vector; //index into v1 codebook
|
int v1_vector; //index into v1 codebook
|
||||||
int v1_error; //error when using V1 encoding
|
int v1_error; //error when using V1 encoding
|
||||||
int v4_vector[4]; //indices into v4 codebooks
|
int v4_vector[4]; //indices into v4 codebook
|
||||||
int v4_error; //error when using V4 encoding
|
int v4_error; //error when using V4 encoding
|
||||||
int skip_error; //error when block is skipped (aka copied from last frame)
|
int skip_error; //error when block is skipped (aka copied from last frame)
|
||||||
mb_encoding best_encoding; //last result from calculate_mode_score()
|
mb_encoding best_encoding; //last result from calculate_mode_score()
|
||||||
|
Reference in New Issue
Block a user