OLD | NEW |
1 /* | 1 /* |
2 * Generic DCT based hybrid video encoder | 2 * Generic DCT based hybrid video encoder |
3 * Copyright (c) 2000, 2001, 2002 Fabrice Bellard | 3 * Copyright (c) 2000, 2001, 2002 Fabrice Bellard |
4 * Copyright (c) 2002-2004 Michael Niedermayer | 4 * Copyright (c) 2002-2004 Michael Niedermayer |
5 * | 5 * |
6 * This file is part of FFmpeg. | 6 * This file is part of FFmpeg. |
7 * | 7 * |
8 * FFmpeg is free software; you can redistribute it and/or | 8 * FFmpeg is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Lesser General Public | 9 * modify it under the terms of the GNU Lesser General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
690 void MPV_frame_end(MpegEncContext *s); | 690 void MPV_frame_end(MpegEncContext *s); |
691 int MPV_encode_init(AVCodecContext *avctx); | 691 int MPV_encode_init(AVCodecContext *avctx); |
692 int MPV_encode_end(AVCodecContext *avctx); | 692 int MPV_encode_end(AVCodecContext *avctx); |
693 int MPV_encode_picture(AVCodecContext *avctx, unsigned char *buf, int buf_size,
void *data); | 693 int MPV_encode_picture(AVCodecContext *avctx, unsigned char *buf, int buf_size,
void *data); |
694 void MPV_common_init_mmx(MpegEncContext *s); | 694 void MPV_common_init_mmx(MpegEncContext *s); |
695 void MPV_common_init_axp(MpegEncContext *s); | 695 void MPV_common_init_axp(MpegEncContext *s); |
696 void MPV_common_init_mlib(MpegEncContext *s); | 696 void MPV_common_init_mlib(MpegEncContext *s); |
697 void MPV_common_init_mmi(MpegEncContext *s); | 697 void MPV_common_init_mmi(MpegEncContext *s); |
698 void MPV_common_init_arm(MpegEncContext *s); | 698 void MPV_common_init_arm(MpegEncContext *s); |
699 void MPV_common_init_altivec(MpegEncContext *s); | 699 void MPV_common_init_altivec(MpegEncContext *s); |
| 700 void MPV_common_init_bfin(MpegEncContext *s); |
700 void ff_clean_intra_table_entries(MpegEncContext *s); | 701 void ff_clean_intra_table_entries(MpegEncContext *s); |
701 void ff_draw_horiz_band(MpegEncContext *s, int y, int h); | 702 void ff_draw_horiz_band(MpegEncContext *s, int y, int h); |
702 void ff_mpeg_flush(AVCodecContext *avctx); | 703 void ff_mpeg_flush(AVCodecContext *avctx); |
703 void ff_print_debug_info(MpegEncContext *s, AVFrame *pict); | 704 void ff_print_debug_info(MpegEncContext *s, AVFrame *pict); |
704 void ff_write_quant_matrix(PutBitContext *pb, uint16_t *matrix); | 705 void ff_write_quant_matrix(PutBitContext *pb, uint16_t *matrix); |
705 int ff_find_unused_picture(MpegEncContext *s, int shared); | 706 int ff_find_unused_picture(MpegEncContext *s, int shared); |
706 void ff_denoise_dct(MpegEncContext *s, DCTELEM *block); | 707 void ff_denoise_dct(MpegEncContext *s, DCTELEM *block); |
707 void ff_update_duplicate_context(MpegEncContext *dst, MpegEncContext *src); | 708 void ff_update_duplicate_context(MpegEncContext *dst, MpegEncContext *src); |
708 int MPV_lowest_referenced_row(MpegEncContext *s, int dir); | 709 int MPV_lowest_referenced_row(MpegEncContext *s, int dir); |
709 void MPV_report_decode_progress(MpegEncContext *s); | 710 void MPV_report_decode_progress(MpegEncContext *s); |
710 int ff_mpeg_update_thread_context(AVCodecContext *dst, AVCodecContext *src); | 711 int ff_mpeg_update_thread_context(AVCodecContext *dst, AVCodecContext *src); |
711 const uint8_t *ff_find_start_code(const uint8_t *p, const uint8_t *end, uint32_t
*state); | 712 const uint8_t *ff_find_start_code(const uint8_t *p, const uint8_t *end, uint32_t
*state); |
| 713 void ff_set_qscale(MpegEncContext * s, int qscale); |
712 | 714 |
713 void ff_er_frame_start(MpegEncContext *s); | 715 void ff_er_frame_start(MpegEncContext *s); |
714 void ff_er_frame_end(MpegEncContext *s); | 716 void ff_er_frame_end(MpegEncContext *s); |
715 void ff_er_add_slice(MpegEncContext *s, int startx, int starty, int endx, int en
dy, int status); | 717 void ff_er_add_slice(MpegEncContext *s, int startx, int starty, int endx, int en
dy, int status); |
716 | 718 |
717 int ff_dct_common_init(MpegEncContext *s); | 719 int ff_dct_common_init(MpegEncContext *s); |
718 void ff_convert_matrix(DSPContext *dsp, int (*qmat)[64], uint16_t (*qmat16)[2][6
4], | 720 void ff_convert_matrix(DSPContext *dsp, int (*qmat)[64], uint16_t (*qmat16)[2][6
4], |
719 const uint16_t *quant_matrix, int bias, int qmin, int qma
x, int intra); | 721 const uint16_t *quant_matrix, int bias, int qmin, int qma
x, int intra); |
720 | 722 |
721 void ff_init_block_index(MpegEncContext *s); | 723 void ff_init_block_index(MpegEncContext *s); |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
828 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_
cr, | 830 uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_
cr, |
829 uint8_t **ref_picture, op_pixels_func (*pix_op)[4
], | 831 uint8_t **ref_picture, op_pixels_func (*pix_op)[4
], |
830 int motion_x, int motion_y, int h); | 832 int motion_x, int motion_y, int h); |
831 int ff_wmv2_encode_picture_header(MpegEncContext * s, int picture_number); | 833 int ff_wmv2_encode_picture_header(MpegEncContext * s, int picture_number); |
832 void ff_wmv2_encode_mb(MpegEncContext * s, | 834 void ff_wmv2_encode_mb(MpegEncContext * s, |
833 DCTELEM block[6][64], | 835 DCTELEM block[6][64], |
834 int motion_x, int motion_y); | 836 int motion_x, int motion_y); |
835 | 837 |
836 #endif /* AVCODEC_MPEGVIDEO_H */ | 838 #endif /* AVCODEC_MPEGVIDEO_H */ |
837 | 839 |
OLD | NEW |