#include "dsputil.h"
#include "avcodec.h"
#include "mpegvideo.h"
#include "h263.h"
#include "h261.h"
#include "h261data.h"
Go to the source code of this file.
Functions | |
| static void | h261_encode_block (H261Context *h, DCTELEM *block, int n) |
| encodes a 8x8 block. | |
| int | ff_h261_get_picture_format (int width, int height) |
| void | ff_h261_encode_picture_header (MpegEncContext *s, int picture_number) |
| static void | h261_encode_gob_header (MpegEncContext *s, int mb_line) |
| Encode a group of blocks header. | |
| void | ff_h261_reorder_mb_index (MpegEncContext *s) |
| static void | h261_encode_motion (H261Context *h, int val) |
| static int | get_cbp (MpegEncContext *s, DCTELEM block[6][64]) |
| void | ff_h261_encode_mb (MpegEncContext *s, DCTELEM block[6][64], int motion_x, int motion_y) |
| void | ff_h261_encode_init (MpegEncContext *s) |
Variables | |
| uint8_t | ff_h261_rl_table_store [2][2 *MAX_RUN+MAX_LEVEL+3] |
| AVCodec | ff_h261_encoder |
Definition in file h261enc.c.
| void ff_h261_encode_init | ( | MpegEncContext * | s | ) |
| void ff_h261_encode_mb | ( | MpegEncContext * | s, | |
| DCTELEM | block[6][64], | |||
| int | motion_x, | |||
| int | motion_y | |||
| ) |
| void ff_h261_encode_picture_header | ( | MpegEncContext * | s, | |
| int | picture_number | |||
| ) |
| int ff_h261_get_picture_format | ( | int | width, | |
| int | height | |||
| ) |
Definition at line 40 of file h261enc.c.
Referenced by ff_h261_encode_picture_header(), ff_h261_reorder_mb_index(), h261_encode_gob_header(), and MPV_encode_init().
| void ff_h261_reorder_mb_index | ( | MpegEncContext * | s | ) |
| static int get_cbp | ( | MpegEncContext * | s, | |
| DCTELEM | block[6][64] | |||
| ) | [inline, static] |
| static void h261_encode_block | ( | H261Context * | h, | |
| DCTELEM * | block, | |||
| int | n | |||
| ) | [static] |
encodes a 8x8 block.
| block | the 8x8 block | |
| n | block index (0-3 are luma, 4-5 are chroma) |
Definition at line 258 of file h261enc.c.
Referenced by ff_h261_encode_mb().
| static void h261_encode_gob_header | ( | MpegEncContext * | s, | |
| int | mb_line | |||
| ) | [static] |
Encode a group of blocks header.
Definition at line 89 of file h261enc.c.
Referenced by ff_h261_reorder_mb_index().
| static void h261_encode_motion | ( | H261Context * | h, | |
| int | val | |||
| ) | [static] |
Initial value:
{
"h261",
AVMEDIA_TYPE_VIDEO,
CODEC_ID_H261,
sizeof(H261Context),
MPV_encode_init,
MPV_encode_picture,
MPV_encode_end,
.pix_fmts= (const enum PixelFormat[]){PIX_FMT_YUV420P, PIX_FMT_NONE},
.long_name= NULL_IF_CONFIG_SMALL("H.261"),
}
| uint8_t ff_h261_rl_table_store[2][2 *MAX_RUN+MAX_LEVEL+3] |
Definition at line 34 of file h261.c.
Referenced by ff_h261_encode_init(), and h261_decode_init_vlc().
1.5.8