| @@ -412,9 +412,6 @@ av_cold void ff_h264_decode_init_vlc(void){ | |||||
| } | } | ||||
| } | } | ||||
| /** | |||||
| * | |||||
| */ | |||||
| static inline int get_level_prefix(GetBitContext *gb){ | static inline int get_level_prefix(GetBitContext *gb){ | ||||
| unsigned int buf; | unsigned int buf; | ||||
| int log; | int log; | ||||
| @@ -50,9 +50,6 @@ | |||||
| #include <zlib.h> | #include <zlib.h> | ||||
| #endif | #endif | ||||
| /* | |||||
| * Decoder context | |||||
| */ | |||||
| typedef struct LclDecContext { | typedef struct LclDecContext { | ||||
| // Image type | // Image type | ||||
| int imgtype; | int imgtype; | ||||
| @@ -150,11 +147,6 @@ static int zlib_decomp(AVCodecContext *avctx, const uint8_t *src, int src_len, i | |||||
| #endif | #endif | ||||
| /* | |||||
| * | |||||
| * Decode a frame | |||||
| * | |||||
| */ | |||||
| static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) | static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) | ||||
| { | { | ||||
| AVFrame *frame = data; | AVFrame *frame = data; | ||||
| @@ -458,11 +450,6 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPac | |||||
| return buf_size; | return buf_size; | ||||
| } | } | ||||
| /* | |||||
| * | |||||
| * Init lcl decoder | |||||
| * | |||||
| */ | |||||
| static av_cold int decode_init(AVCodecContext *avctx) | static av_cold int decode_init(AVCodecContext *avctx) | ||||
| { | { | ||||
| LclDecContext * const c = avctx->priv_data; | LclDecContext * const c = avctx->priv_data; | ||||
| @@ -606,11 +593,6 @@ static av_cold int decode_init(AVCodecContext *avctx) | |||||
| return 0; | return 0; | ||||
| } | } | ||||
| /* | |||||
| * | |||||
| * Uninit lcl decoder | |||||
| * | |||||
| */ | |||||
| static av_cold int decode_end(AVCodecContext *avctx) | static av_cold int decode_end(AVCodecContext *avctx) | ||||
| { | { | ||||
| LclDecContext * const c = avctx->priv_data; | LclDecContext * const c = avctx->priv_data; | ||||
| @@ -48,9 +48,6 @@ | |||||
| #include <zlib.h> | #include <zlib.h> | ||||
| /* | |||||
| * Decoder context | |||||
| */ | |||||
| typedef struct LclEncContext { | typedef struct LclEncContext { | ||||
| AVCodecContext *avctx; | AVCodecContext *avctx; | ||||
| @@ -64,11 +61,6 @@ typedef struct LclEncContext { | |||||
| z_stream zstream; | z_stream zstream; | ||||
| } LclEncContext; | } LclEncContext; | ||||
| /* | |||||
| * | |||||
| * Encode a frame | |||||
| * | |||||
| */ | |||||
| static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, | static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, | ||||
| const AVFrame *pict, int *got_packet) | const AVFrame *pict, int *got_packet) | ||||
| { | { | ||||
| @@ -119,11 +111,6 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, | |||||
| return 0; | return 0; | ||||
| } | } | ||||
| /* | |||||
| * | |||||
| * Init lcl encoder | |||||
| * | |||||
| */ | |||||
| static av_cold int encode_init(AVCodecContext *avctx) | static av_cold int encode_init(AVCodecContext *avctx) | ||||
| { | { | ||||
| LclEncContext *c = avctx->priv_data; | LclEncContext *c = avctx->priv_data; | ||||
| @@ -172,11 +159,6 @@ FF_ENABLE_DEPRECATION_WARNINGS | |||||
| return 0; | return 0; | ||||
| } | } | ||||
| /* | |||||
| * | |||||
| * Uninit lcl encoder | |||||
| * | |||||
| */ | |||||
| static av_cold int encode_end(AVCodecContext *avctx) | static av_cold int encode_end(AVCodecContext *avctx) | ||||
| { | { | ||||
| LclEncContext *c = avctx->priv_data; | LclEncContext *c = avctx->priv_data; | ||||
| @@ -43,9 +43,7 @@ | |||||
| #define SMKTREE_BITS 9 | #define SMKTREE_BITS 9 | ||||
| #define SMK_NODE 0x80000000 | #define SMK_NODE 0x80000000 | ||||
| /* | |||||
| * Decoder context | |||||
| */ | |||||
| typedef struct SmackVContext { | typedef struct SmackVContext { | ||||
| AVCodecContext *avctx; | AVCodecContext *avctx; | ||||
| AVFrame *pic; | AVFrame *pic; | ||||
| @@ -531,12 +529,6 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, | |||||
| } | } | ||||
| /* | |||||
| * | |||||
| * Uninit smacker decoder | |||||
| * | |||||
| */ | |||||
| static av_cold int decode_end(AVCodecContext *avctx) | static av_cold int decode_end(AVCodecContext *avctx) | ||||
| { | { | ||||
| SmackVContext * const smk = avctx->priv_data; | SmackVContext * const smk = avctx->priv_data; | ||||
| @@ -552,11 +544,6 @@ static av_cold int decode_end(AVCodecContext *avctx) | |||||
| } | } | ||||
| /* | |||||
| * | |||||
| * Init smacker decoder | |||||
| * | |||||
| */ | |||||
| static av_cold int decode_init(AVCodecContext *avctx) | static av_cold int decode_init(AVCodecContext *avctx) | ||||
| { | { | ||||
| SmackVContext * const c = avctx->priv_data; | SmackVContext * const c = avctx->priv_data; | ||||