• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/

Lines Matching refs:sps

263     pic->crop     = h->sps.crop;
264 pic->crop_top = h->sps.crop_top;
265 pic->crop_left= h->sps.crop_left;
352 const int max_qp = 51 + 6 * (h->sps.bit_depth_luma - 8);
379 const int max_qp = 51 + 6 * (h->sps.bit_depth_luma - 8);
410 if (h->sps.transform_bypass) {
442 ff_h264_pred_init(&dst->hpc, src->avctx->codec_id, src->sps.bit_depth_luma,
443 src->sps.chroma_format_idc);
510 h->sps.bit_depth_luma != h1->sps.bit_depth_luma ||
511 h->sps.chroma_format_idc != h1->sps.chroma_format_idc ||
512 h->sps.colorspace != h1->sps.colorspace)) {
517 h->avctx->bits_per_raw_sample = h->sps.bit_depth_luma;
533 h->sps = h1->sps;
655 h->sps = h1->sps;
715 1<<(h->sps.bit_depth_luma-1),
716 1<<(h->sps.bit_depth_chroma-1),
717 1<<(h->sps.bit_depth_chroma-1),
982 if (h->sps.transform_bypass) { // FIXME same ugly
1029 switch (h->sps.bit_depth_luma) {
1103 "Unsupported bit depth %d\n", h->sps.bit_depth_luma);
1111 int width = h->width - (h->sps.crop_right + h->sps.crop_left);
1112 int height = h->height - (h->sps.crop_top + h->sps.crop_bottom);
1113 av_assert0(h->sps.crop_right + h->sps.crop_left < (unsigned)h->width);
1114 av_assert0(h->sps.crop_top + h->sps.crop_bottom < (unsigned)h->height);
1117 if (!h->sps.crop &&
1131 h->sps.crop_bottom = h->sps.crop_top = h->sps.crop_right = h->sps.crop_left = 0;
1132 h->sps.crop = 0;
1153 ff_set_sar(h->avctx, h->sps.sar);
1157 if (h->sps.timing_info_present_flag) {
1158 int64_t den = h->sps.time_scale;
1162 h->sps.num_units_in_tick, den, 1 << 30);
1209 c->sps = h->sps;
1361 if (h->pps.sps_id != h->sps.sps_id ||
1365 h->sps = *h0->sps_buffers[h->pps.sps_id];
1367 if (h->mb_width != h->sps.mb_width ||
1368 h->mb_height != h->sps.mb_height * (2 - h->sps.frame_mbs_only_flag) ||
1369 h->avctx->bits_per_raw_sample != h->sps.bit_depth_luma ||
1370 h->cur_chroma_format_idc != h->sps.chroma_format_idc
1374 if (h->bit_depth_luma != h->sps.bit_depth_luma ||
1375 h->chroma_format_idc != h->sps.chroma_format_idc) {
1376 h->bit_depth_luma = h->sps.bit_depth_luma;
1377 h->chroma_format_idc = h->sps.chroma_format_idc;
1384 h->avctx->profile = ff_h264_get_profile(&h->sps);
1385 h->avctx->level = h->sps.level_idc;
1386 h->avctx->refs = h->sps.ref_frame_count;
1389 ( 16*h->sps.mb_width != h->avctx->coded_width
1390 || 16*h->sps.mb_height * (2 - h->sps.frame_mbs_only_flag) != h->avctx->coded_height
1391 || h->avctx->bits_per_raw_sample != h->sps.bit_depth_luma
1392 || h->cur_chroma_format_idc != h->sps.chroma_format_idc
1393 || av_cmp_q(h->sps.sar, h->avctx->sample_aspect_ratio)
1394 || h->mb_width != h->sps.mb_width
1395 || h->mb_height != h->sps.mb_height * (2 - h->sps.frame_mbs_only_flag)
1400 h->mb_width = h->sps.mb_width;
1401 h->mb_height = h->sps.mb_height * (2 - h->sps.frame_mbs_only_flag);
1407 h->chroma_y_shift = h->sps.chroma_format_idc <= 1; // 400 uses yuv420p
1416 if (h->sps.video_signal_type_present_flag) {
1417 h->avctx->color_range = h->sps.full_range>0 ? AVCOL_RANGE_JPEG
1419 if (h->sps.colour_description_present_flag) {
1420 if (h->avctx->colorspace != h->sps.colorspace)
1422 h->avctx->color_primaries = h->sps.color_primaries;
1423 h->avctx->color_trc = h->sps.color_trc;
1424 h->avctx->colorspace = h->sps.colorspace;
1478 h->frame_num = get_bits(&h->gb, h->sps.log2_max_frame_num);
1485 if (h->sps.frame_mbs_only_flag) {
1488 if (!h->sps.direct_8x8_inference_flag && slice_type == AV_PICTURE_TYPE_B) {
1498 h->mb_aff_frame = h->sps.mb_aff;
1523 int max_frame_num = 1 << h->sps.log2_max_frame_num;
1528 if ((h->frame_num - unwrap_prev_frame_num) > h->sps.ref_frame_count) {
1529 unwrap_prev_frame_num = (h->frame_num - h->sps.ref_frame_count) - 1;
1595 h->frame_num != (h->prev_frame_num + 1) % (1 << h->sps.log2_max_frame_num)) {
1599 if (!h->sps.gaps_in_frame_num_allowed_flag)
1609 h->prev_frame_num %= 1 << h->sps.log2_max_frame_num;
1611 h->cur_pic_ptr->invalid_gap = !h->sps.gaps_in_frame_num_allowed_flag;
1723 h->max_pic_num = 1 << h->sps.log2_max_frame_num;
1726 h->max_pic_num = 1 << (h->sps.log2_max_frame_num + 1);
1732 if (h->sps.poc_type == 0) {
1733 h->poc_lsb = get_bits(&h->gb, h->sps.log2_max_poc_lsb);
1739 if (h->sps.poc_type == 1 && !h->sps.delta_pic_order_always_zero_flag) {
1823 if (tmp > 51 + 6 * (h->sps.bit_depth_luma - 8)) {
1904 6 * (h->sps.bit_depth_luma - 8);
1957 h->sps.new =