#include "libavutil/common.h"#include "get_bits.h"#include "mpegvideo.h"#include "h264data.h"Go to the source code of this file.
Defines | |
| #define | QUANT_SHIFT 22 |
Functions | |
| static uint8_t * | h264_write_nal_unit (int nal_ref_idc, int nal_unit_type, uint8_t *dest, int *destsize, PutBitContext *b2) |
| Write out the provided data into a NAL unit. | |
| static int | quantize_c (DCTELEM *block, uint8_t *scantable, int qscale, int intra, int separate_dc) |
Variables | |
| static const uint8_t | pict_type_to_golomb [7] = {-1, 2, 0, 1, -1, 4, 3} |
| static const uint8_t | intra4x4_cbp_to_golomb [48] |
| static const uint8_t | inter_cbp_to_golomb [48] |
| static const int | quant_coeff [52][16] |
| #define QUANT_SHIFT 22 |
| static uint8_t* h264_write_nal_unit | ( | int | nal_ref_idc, | |
| int | nal_unit_type, | |||
| uint8_t * | dest, | |||
| int * | destsize, | |||
| PutBitContext * | b2 | |||
| ) | [static] |
Write out the provided data into a NAL unit.
| nal_ref_idc | NAL reference IDC | |
| nal_unit_type | NAL unit payload type | |
| dest | the target buffer, dst+1 == src is allowed as a special case | |
| destsize | the length of the dst array | |
| b2 | the data which should be escaped |
| static int quantize_c | ( | DCTELEM * | block, | |
| uint8_t * | scantable, | |||
| int | qscale, | |||
| int | intra, | |||
| int | separate_dc | |||
| ) | [inline, static] |
const uint8_t inter_cbp_to_golomb[48] [static] |
const uint8_t intra4x4_cbp_to_golomb[48] [static] |
const uint8_t pict_type_to_golomb[7] = {-1, 2, 0, 1, -1, 4, 3} [static] |
const int quant_coeff[52][16] [static] |
1.5.8