Searched refs:sps (Results 1 - 25 of 62) sorted by relevance

123

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/msw/
H A Dpower.cpp47 static inline bool wxGetPowerStatus(SYSTEM_POWER_STATUS *sps) argument
49 if ( !::GetSystemPowerStatus(sps) )
67 SYSTEM_POWER_STATUS sps; local
68 if ( wxGetPowerStatus(&sps) )
70 switch ( sps.ACLineStatus )
79 wxLogDebug(_T("Unknown ACLineStatus=%u"), sps.ACLineStatus);
92 SYSTEM_POWER_STATUS sps; local
93 if ( wxGetPowerStatus(&sps) )
97 switch ( sps.BatteryFlag & 7 )
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dh264_ps.c130 static inline int decode_hrd_parameters(H264Context *h, SPS *sps) argument
147 sps->initial_cpb_removal_delay_length = get_bits(&h->gb, 5) + 1;
148 sps->cpb_removal_delay_length = get_bits(&h->gb, 5) + 1;
149 sps->dpb_output_delay_length = get_bits(&h->gb, 5) + 1;
150 sps->time_offset_length = get_bits(&h->gb, 5);
151 sps->cpb_cnt = cpb_count;
155 static inline int decode_vui_parameters(H264Context *h, SPS *sps) argument
165 sps->sar.num = get_bits(&h->gb, 16);
166 sps->sar.den = get_bits(&h->gb, 16);
168 sps
293 decode_scaling_matrices(H264Context *h, SPS *sps, PPS *pps, int is_sps, uint8_t(*scaling_matrix4)[16], uint8_t(*scaling_matrix8)[64]) argument
331 SPS *sps; local
591 const SPS *sps = h->sps_buffers[pps->sps_id]; local
608 SPS *sps; local
[all...]
H A Dhevc_ps.c73 const HEVCSPS *sps, int is_slice_header)
85 if (rps != sps->st_rps && sps->nb_st_rps)
96 if (delta_idx > sps->nb_st_rps) {
99 delta_idx, sps->nb_st_rps);
102 rps_ridx = &sps->st_rps[sps->nb_st_rps - delta_idx];
104 rps_ridx = &sps->st_rps[rps - sps->st_rps - 1];
427 static void decode_vui(HEVCContext *s, HEVCSPS *sps) argument
72 ff_hevc_decode_short_term_rps(HEVCContext *s, ShortTermRPS *rps, const HEVCSPS *sps, int is_slice_header) argument
628 HEVCSPS *sps; local
1051 pps_range_extensions(HEVCContext *s, HEVCPPS *pps, HEVCSPS *sps) argument
1094 HEVCSPS *sps = NULL; local
[all...]
H A Dhevc_filter.c64 if (s->sps->chroma_format_idc == 1) {
83 int ctb_size_mask = (1 << s->sps->log2_ctb_size) - 1;
84 int MinCuQpDeltaSizeMask = (1 << (s->sps->log2_ctb_size -
88 int min_cb_width = s->sps->min_cb_width;
89 int x_cb = xQgBase >> s->sps->log2_min_cb_size;
90 int y_cb = yQgBase >> s->sps->log2_min_cb_size;
117 av_assert2(qPy_a >= -s->sps->qp_bd_offset && qPy_a < 52);
118 av_assert2(qPy_b >= -s->sps->qp_bd_offset && qPy_b < 52);
129 int off = s->sps->qp_bd_offset;
138 int log2_min_cb_size = s->sps
[all...]
H A Dh264_sei.c49 SPS *sps = &h->sps; local
53 if (!sps->log2_max_frame_num && h->sps_buffers[i])
54 sps = h->sps_buffers[i];
56 if (sps->nal_hrd_parameters_present_flag || sps->vcl_hrd_parameters_present_flag) {
58 sps->cpb_removal_delay_length);
60 sps->dpb_output_delay_length);
62 if (sps->pic_struct_present_flag) {
98 if (sps
196 SPS *sps; local
[all...]
H A Dhevc.c82 static int pic_arrays_init(HEVCContext *s, const HEVCSPS *sps) argument
84 int log2_min_cb_size = sps->log2_min_cb_size;
85 int width = sps->width;
86 int height = sps->height;
89 int ctb_count = sps->ctb_width * sps->ctb_height;
90 int min_pu_size = sps->min_pu_width * sps->min_pu_height;
101 s->tab_ct_depth = av_malloc_array(sps->min_cb_height, sps
229 const HEVCSPS *sps = s->sps; local
279 set_sps(HEVCContext *s, const HEVCSPS *sps) argument
[all...]
H A Dhevc_mvs.c45 int x0b = x0 & ((1 << s->sps->log2_ctb_size) - 1);
46 int y0b = y0 & ((1 << s->sps->log2_ctb_size) - 1);
52 ((x0b + nPbW) == (1 << s->sps->log2_ctb_size)) ?
55 ((x0b + nPbW) == (1 << s->sps->log2_ctb_size) ?
68 s->pps->min_tb_addr_zs[(y) * (s->sps->tb_mask+2) + (x)]
70 int xCurr_ctb = xCurr >> s->sps->log2_ctb_size;
71 int yCurr_ctb = yCurr >> s->sps->log2_ctb_size;
72 int xN_ctb = xN >> s->sps->log2_ctb_size;
73 int yN_ctb = yN >> s->sps->log2_ctb_size;
76 xN >= s->sps
[all...]
H A Dhevc_cabac.c503 (ctb_addr_ts % s->sps->ctb_width == 2 ||
504 (s->sps->ctb_width == 2 &&
505 ctb_addr_ts % s->sps->ctb_width == 0))) {
565 if (ctb_addr_ts % s->sps->ctb_width == 0) {
566 if (s->sps->ctb_width == 1)
582 if (ctb_addr_ts % s->sps->ctb_width == 0) {
589 if (s->sps->ctb_width == 1)
628 int length = (1 << (FFMIN(s->sps->bit_depth, 10) - 5)) - 1;
659 int min_cb_width = s->sps->min_cb_width;
661 int x0b = x0 & ((1 << s->sps
[all...]
H A Dhevcpred_template.c34 ((x) >> s->sps->log2_min_pu_size)
42 s->pps->min_tb_addr_zs[(y) * (s->sps->tb_mask+2) + (x)]
75 int hshift = s->sps->hshift[c_idx];
76 int vshift = s->sps->vshift[c_idx];
79 int size_in_tbs_h = size_in_luma_h >> s->sps->log2_min_tb_size;
81 int size_in_tbs_v = size_in_luma_v >> s->sps->log2_min_tb_size;
84 int x_tb = (x0 >> s->sps->log2_min_tb_size) & s->sps->tb_mask;
85 int y_tb = (y0 >> s->sps->log2_min_tb_size) & s->sps
[all...]
H A Dvaapi_h264.c245 pic_param->bit_depth_luma_minus8 = h->sps.bit_depth_luma - 8;
246 pic_param->bit_depth_chroma_minus8 = h->sps.bit_depth_chroma - 8;
247 pic_param->num_ref_frames = h->sps.ref_frame_count;
249 pic_param->seq_fields.bits.chroma_format_idc = h->sps.chroma_format_idc;
250 pic_param->seq_fields.bits.residual_colour_transform_flag = h->sps.residual_color_transform_flag; /* XXX: only for 4:4:4 high profile? */
251 pic_param->seq_fields.bits.gaps_in_frame_num_value_allowed_flag = h->sps.gaps_in_frame_num_allowed_flag;
252 pic_param->seq_fields.bits.frame_mbs_only_flag = h->sps.frame_mbs_only_flag;
253 pic_param->seq_fields.bits.mb_adaptive_frame_field_flag = h->sps.mb_aff;
254 pic_param->seq_fields.bits.direct_8x8_inference_flag = h->sps.direct_8x8_inference_flag;
255 pic_param->seq_fields.bits.MinLumaBiPredSize8x8 = h->sps
[all...]
H A Dhevc_refs.c57 int x_cb = x0 >> s->sps->log2_ctb_size;
58 int y_cb = y0 >> s->sps->log2_ctb_size;
59 int pic_width_cb = (s->sps->width + (1 << s->sps->log2_ctb_size) - 1) >>
60 s->sps->log2_ctb_size;
108 frame->ctb_count = s->sps->ctb_width * s->sps->ctb_height;
154 ref->window = s->sps->output_window;
189 if (!flush && s->seq_output == s->seq_decode && s->sps &&
190 nb_output <= s->sps
[all...]
H A Dhevc_parser.c188 if (h->sps != (HEVCSPS*)h->sps_list[h->pps->sps_id]->data) {
189 h->sps = (HEVCSPS*)h->sps_list[h->pps->sps_id]->data;
190 h->vps = (HEVCVPS*)h->vps_list[h->sps->vps_id]->data;
201 slice_address_length = av_ceil_log2_c(h->sps->ctb_width *
202 h->sps->ctb_height);
204 if (sh->slice_segment_addr >= h->sps->ctb_width * h->sps->ctb_height) {
232 if (h->sps->separate_colour_plane_flag)
236 sh->pic_order_cnt_lsb = get_bits(gb, h->sps->log2_max_poc_lsb);
335 h->sps
[all...]
H A Dvdpau_h264.c134 info->num_ref_frames = h->sps.ref_frame_count;
135 info->mb_adaptive_frame_field_flag = h->sps.mb_aff && !info->field_pic_flag;
139 info->frame_mbs_only_flag = h->sps.frame_mbs_only_flag;
146 info->log2_max_frame_num_minus4 = h->sps.log2_max_frame_num - 4;
147 info->pic_order_cnt_type = h->sps.poc_type;
148 info->log2_max_pic_order_cnt_lsb_minus4 = h->sps.poc_type ? 0 : h->sps.log2_max_poc_lsb - 4;
149 info->delta_pic_order_always_zero_flag = h->sps.delta_pic_order_always_zero_flag;
150 info->direct_8x8_inference_flag = h->sps.direct_8x8_inference_flag;
H A Dh264_slice.c263 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
[all...]
H A Ddxva2_h264.c93 pp->num_ref_frames = h->sps.ref_frame_count;
96 ((h->sps.mb_aff &&
98 (h->sps.residual_color_transform_flag << 2) |
101 (h->sps.chroma_format_idc << 4) |
108 (h->sps.frame_mbs_only_flag << 12) |
110 ((h->sps.level_idc >= 31) << 14) |
115 pp->bit_depth_luma_minus8 = h->sps.bit_depth_luma - 8;
116 pp->bit_depth_chroma_minus8 = h->sps.bit_depth_chroma - 8;
141 pp->log2_max_frame_num_minus4 = h->sps.log2_max_frame_num - 4;
142 pp->pic_order_cnt_type = h->sps
[all...]
H A Dh264.c61 return h ? h->sps.num_reorder_frames : 0;
585 /* sps and pps in the avcC always have length coded with 2 bytes,
588 // Decode sps from avcC
589 cnt = *(p + 5) & 0x1f; // Number of sps
598 "Decoding sps %d from avcC failed\n", i);
643 av_assert0(h->sps.bit_depth_chroma == 0);
644 ff_h264chroma_init(&h->h264chroma, h->sps.bit_depth_chroma);
676 h->sps.bit_depth_luma = avctx->bits_per_raw_sample = 8;
705 if (h->sps.bitstream_restriction_flag &&
706 h->avctx->has_b_frames < h->sps
1208 ff_h264_get_profile(SPS *sps) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dh264_ps.c123 static inline int decode_hrd_parameters(H264Context *h, SPS *sps){ argument
140 sps->initial_cpb_removal_delay_length = get_bits(&s->gb, 5) + 1;
141 sps->cpb_removal_delay_length = get_bits(&s->gb, 5) + 1;
142 sps->dpb_output_delay_length = get_bits(&s->gb, 5) + 1;
143 sps->time_offset_length = get_bits(&s->gb, 5);
144 sps->cpb_cnt = cpb_count;
148 static inline int decode_vui_parameters(H264Context *h, SPS *sps){ argument
158 sps->sar.num= get_bits(&s->gb, 16);
159 sps->sar.den= get_bits(&s->gb, 16);
161 sps
270 decode_scaling_matrices(H264Context *h, SPS *sps, PPS *pps, int is_sps, uint8_t (*scaling_matrix4)[16], uint8_t (*scaling_matrix8)[64]) argument
308 SPS *sps; local
[all...]
H A Dh264_sei.c49 if(h->sps.nal_hrd_parameters_present_flag || h->sps.vcl_hrd_parameters_present_flag){
50 h->sei_cpb_removal_delay = get_bits(&s->gb, h->sps.cpb_removal_delay_length);
51 h->sei_dpb_output_delay = get_bits(&s->gb, h->sps.dpb_output_delay_length);
53 if(h->sps.pic_struct_present_flag){
87 if(h->sps.time_offset_length > 0)
88 skip_bits(&s->gb, h->sps.time_offset_length); /* time_offset */
137 SPS *sps; local
144 sps = h->sps_buffers[sps_id];
147 if (sps
[all...]
H A Dvaapi_h264.c245 pic_param->bit_depth_luma_minus8 = h->sps.bit_depth_luma - 8;
246 pic_param->bit_depth_chroma_minus8 = h->sps.bit_depth_chroma - 8;
247 pic_param->num_ref_frames = h->sps.ref_frame_count;
249 pic_param->seq_fields.bits.chroma_format_idc = h->sps.chroma_format_idc;
250 pic_param->seq_fields.bits.residual_colour_transform_flag = h->sps.residual_color_transform_flag; /* XXX: only for 4:4:4 high profile? */
251 pic_param->seq_fields.bits.gaps_in_frame_num_value_allowed_flag = h->sps.gaps_in_frame_num_allowed_flag;
252 pic_param->seq_fields.bits.frame_mbs_only_flag = h->sps.frame_mbs_only_flag;
253 pic_param->seq_fields.bits.mb_adaptive_frame_field_flag = h->sps.mb_aff;
254 pic_param->seq_fields.bits.direct_8x8_inference_flag = h->sps.direct_8x8_inference_flag;
255 pic_param->seq_fields.bits.MinLumaBiPredSize8x8 = h->sps
[all...]
H A Ddxva2_h264.c93 pp->num_ref_frames = h->sps.ref_frame_count;
96 (h->sps.mb_aff << 1) |
97 (h->sps.residual_color_transform_flag << 2) |
100 (h->sps.chroma_format_idc << 4) |
107 (h->sps.frame_mbs_only_flag << 12) |
109 ((h->sps.level_idc >= 31) << 14) |
114 pp->bit_depth_luma_minus8 = h->sps.bit_depth_luma - 8;
115 pp->bit_depth_chroma_minus8 = h->sps.bit_depth_chroma - 8;
138 pp->log2_max_frame_num_minus4 = h->sps.log2_max_frame_num - 4;
139 pp->pic_order_cnt_type = h->sps
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/
H A Dh264dec.c28 int sps = 0, pps = 0, idr = 0, res = 0, sli = 0; local
63 sps++;
72 if (sps && pps && (idr || sli > 3) && res < (sps + pps + idr))
H A Dhevcdec.c30 int vps = 0, sps = 0, pps = 0, irap = 0; local
47 case NAL_SPS: sps++; break;
59 if (vps && sps && pps && irap)
H A Davc.c114 uint8_t *sps=0, *pps=0; local
122 /* look for sps and pps */
131 sps = buf;
141 if (!sps || !pps || sps_size < 4 || sps_size > UINT16_MAX || pps_size > UINT16_MAX)
145 avio_w8(pb, sps[1]); /* profile */
146 avio_w8(pb, sps[2]); /* profile compat */
147 avio_w8(pb, sps[3]); /* level */
149 avio_w8(pb, 0xe1); /* 3 bits reserved (111) + 5 bits number of sps (00001) */
152 avio_write(pb, sps, sps_size);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/
H A Dh264dec.c28 int sps=0, pps=0, idr=0, res=0, sli=0; local
59 sps++;
65 if(sps && pps && (idr||sli>3) && res<(sps+pps+idr))
H A Davc.c114 uint8_t *sps=0, *pps=0; local
122 /* look for sps and pps */
131 sps = buf;
141 if (!sps || !pps || sps_size < 4 || sps_size > UINT16_MAX || pps_size > UINT16_MAX)
145 avio_w8(pb, sps[1]); /* profile */
146 avio_w8(pb, sps[2]); /* profile compat */
147 avio_w8(pb, sps[3]); /* level */
149 avio_w8(pb, 0xe1); /* 3 bits reserved (111) + 5 bits number of sps (00001) */
152 avio_write(pb, sps, sps_size);

Completed in 366 milliseconds

123