• Home
  • Raw
  • Download

Lines Matching refs:frame_hdr

133 _get_profile (GstVaVp8Dec * self, const GstVp8FrameHdr * frame_hdr)  in _get_profile()  argument
136 if (frame_hdr->version > 3) { in _get_profile()
137 GST_ERROR_OBJECT (self, "Unsupported vp8 version: %d", frame_hdr->version); in _get_profile()
146 const GstVp8FrameHdr * frame_hdr) in gst_va_vp8_dec_new_sequence() argument
156 profile = _get_profile (self, frame_hdr); in gst_va_vp8_dec_new_sequence()
170 rt_format, frame_hdr->width, frame_hdr->height)) { in gst_va_vp8_dec_new_sequence()
172 base->width = frame_hdr->width; in gst_va_vp8_dec_new_sequence()
173 base->height = frame_hdr->height; in gst_va_vp8_dec_new_sequence()
229 GstVp8FrameHdr const *frame_hdr = &picture->frame_hdr; in _fill_quant_matrix() local
241 qi_base += frame_hdr->quant_indices.y_ac_qi; in _fill_quant_matrix()
243 qi_base = frame_hdr->quant_indices.y_ac_qi; in _fill_quant_matrix()
247 qi = qi_base + frame_hdr->quant_indices.y_dc_delta; in _fill_quant_matrix()
249 qi = qi_base + frame_hdr->quant_indices.y2_dc_delta; in _fill_quant_matrix()
251 qi = qi_base + frame_hdr->quant_indices.y2_ac_delta; in _fill_quant_matrix()
253 qi = qi_base + frame_hdr->quant_indices.uv_dc_delta; in _fill_quant_matrix()
255 qi = qi_base + frame_hdr->quant_indices.uv_ac_delta; in _fill_quant_matrix()
268 GstVp8FrameHdr const *frame_hdr = &picture->frame_hdr; in _fill_probability_table() local
272 memcpy (prob_table.dct_coeff_probs, frame_hdr->token_probs.prob, in _fill_probability_table()
273 sizeof (frame_hdr->token_probs.prob)); in _fill_probability_table()
287 GstVp8FrameHdr const *frame_hdr = &picture->frame_hdr; in _fill_picture() local
305 .pic_fields.bits.key_frame = !frame_hdr->key_frame, in _fill_picture()
306 .pic_fields.bits.version = frame_hdr->version, in _fill_picture()
312 .pic_fields.bits.filter_type = frame_hdr->filter_type, in _fill_picture()
313 .pic_fields.bits.sharpness_level = frame_hdr->sharpness_level, in _fill_picture()
318 .pic_fields.bits.sign_bias_golden = frame_hdr->sign_bias_golden, in _fill_picture()
319 .pic_fields.bits.sign_bias_alternate = frame_hdr->sign_bias_alternate, in _fill_picture()
320 .pic_fields.bits.mb_no_coeff_skip = frame_hdr->mb_no_skip_coeff, in _fill_picture()
323 .pic_fields.bits.loop_filter_disable = frame_hdr->loop_filter_level == 0, in _fill_picture()
324 .prob_skip_false = frame_hdr->prob_skip_false, in _fill_picture()
325 .prob_intra = frame_hdr->prob_intra, in _fill_picture()
326 .prob_last = frame_hdr->prob_last, in _fill_picture()
327 .prob_gf = frame_hdr->prob_gf, in _fill_picture()
328 .bool_coder_ctx.range = frame_hdr->rd_range, in _fill_picture()
329 .bool_coder_ctx.value = frame_hdr->rd_value, in _fill_picture()
330 .bool_coder_ctx.count = frame_hdr->rd_count, in _fill_picture()
334 if (!frame_hdr->key_frame) { in _fill_picture()
358 level += frame_hdr->loop_filter_level; in _fill_picture()
360 level = frame_hdr->loop_filter_level; in _fill_picture()
369 memcpy (pic_param.y_mode_probs, frame_hdr->mode_probs.y_prob, in _fill_picture()
370 sizeof (frame_hdr->mode_probs.y_prob)); in _fill_picture()
371 memcpy (pic_param.uv_mode_probs, frame_hdr->mode_probs.uv_prob, in _fill_picture()
372 sizeof (frame_hdr->mode_probs.uv_prob)); in _fill_picture()
373 memcpy (pic_param.mv_probs, frame_hdr->mv_probs.prob, in _fill_picture()
374 sizeof (frame_hdr->mv_probs)); in _fill_picture()
386 GstVp8FrameHdr const *frame_hdr = &picture->frame_hdr; in _add_slice() local
394 .slice_data_offset = frame_hdr->data_chunk_size, in _add_slice()
395 .macroblock_offset = frame_hdr->header_size, in _add_slice()
396 .num_of_partitions = (1 << frame_hdr->log2_nbr_of_dct_partitions) + 1, in _add_slice()
401 frame_hdr->first_part_size - ((slice_param.macroblock_offset + 7) >> 3); in _add_slice()
403 slice_param.partition_size[i] = frame_hdr->partition_size[i - 1]; in _add_slice()