• Home
  • Raw
  • Download

Lines Matching +full:fs +full:- +full:err

16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 int err; in FUNC() local
34 CodedBitstreamVP9Context *vp9 = ctx->priv_data; in FUNC()
35 int err; in FUNC() local
39 vp9->bit_depth = current->ten_or_twelve_bit ? 12 : 10; in FUNC()
41 vp9->bit_depth = 8; in FUNC()
45 if (current->color_space != VP9_CS_RGB) { in FUNC()
64 vp9->subsampling_x = current->subsampling_x; in FUNC()
65 vp9->subsampling_y = current->subsampling_y; in FUNC()
73 CodedBitstreamVP9Context *vp9 = ctx->priv_data; in FUNC()
74 int err; in FUNC() local
79 vp9->frame_width = current->frame_width_minus_1 + 1; in FUNC()
80 vp9->frame_height = current->frame_height_minus_1 + 1; in FUNC()
82 vp9->mi_cols = (vp9->frame_width + 7) >> 3; in FUNC()
83 vp9->mi_rows = (vp9->frame_height + 7) >> 3; in FUNC()
84 vp9->sb64_cols = (vp9->mi_cols + 7) >> 3; in FUNC()
85 vp9->sb64_rows = (vp9->mi_rows + 7) >> 3; in FUNC()
93 int err; in FUNC() local
97 if (current->render_and_frame_size_different) { in FUNC()
108 CodedBitstreamVP9Context *vp9 = ctx->priv_data; in FUNC()
109 int err, i; in FUNC() local
112 fs(1, found_ref[i], 1, i); in FUNC()
113 if (current->found_ref[i]) { in FUNC()
115 &vp9->ref[current->ref_frame_idx[i]]; in FUNC()
117 vp9->frame_width = ref->frame_width; in FUNC()
118 vp9->frame_height = ref->frame_height; in FUNC()
120 vp9->subsampling_x = ref->subsampling_x; in FUNC()
121 vp9->subsampling_y = ref->subsampling_y; in FUNC()
122 vp9->bit_depth = ref->bit_depth; in FUNC()
130 vp9->mi_cols = (vp9->frame_width + 7) >> 3; in FUNC()
131 vp9->mi_rows = (vp9->frame_height + 7) >> 3; in FUNC()
132 vp9->sb64_cols = (vp9->mi_cols + 7) >> 3; in FUNC()
133 vp9->sb64_rows = (vp9->mi_rows + 7) >> 3; in FUNC()
143 int err; in FUNC() local
146 if (!current->is_filter_switchable) in FUNC()
155 int err, i; in FUNC() local
161 if (current->loop_filter_delta_enabled) { in FUNC()
163 if (current->loop_filter_delta_update) { in FUNC()
165 fs(1, update_ref_delta[i], 1, i); in FUNC()
166 if (current->update_ref_delta[i]) in FUNC()
170 fs(1, update_mode_delta[i], 1, i); in FUNC()
171 if (current->update_mode_delta[i]) in FUNC()
183 int err; in FUNC() local
200 int err, i, j; in FUNC() local
204 if (current->segmentation_enabled) { in FUNC()
206 if (current->segmentation_update_map) { in FUNC()
211 if (current->segmentation_temporal_update) in FUNC()
219 if (current->segmentation_update_data) { in FUNC()
223 fs(1, feature_enabled[i][j], 2, i, j); in FUNC()
224 if (current->feature_enabled[i][j] && in FUNC()
226 fs(segmentation_feature_bits[j], in FUNC()
229 fs(1, feature_sign[i][j], 2, i, j); in FUNC()
247 CodedBitstreamVP9Context *vp9 = ctx->priv_data; in FUNC()
249 int err; in FUNC() local
252 while ((VP9_MAX_TILE_WIDTH_B64 << min_log2_tile_cols) < vp9->sb64_cols) in FUNC()
255 while ((vp9->sb64_cols >> (max_log2_tile_cols + 1)) >= VP9_MIN_TILE_WIDTH_B64) in FUNC()
268 CodedBitstreamVP9Context *vp9 = ctx->priv_data; in FUNC()
269 int err, i; in FUNC() local
275 vp9->profile = (current->profile_high_bit << 1) + current->profile_low_bit; in FUNC()
276 if (vp9->profile == 3) in FUNC()
280 if (current->show_existing_frame) { in FUNC()
292 if (current->frame_type == VP9_KEY_FRAME) { in FUNC()
294 CHECK(FUNC(color_config)(ctx, rw, current, vp9->profile)); in FUNC()
301 if (current->show_frame == 0) in FUNC()
306 if (current->error_resilient_mode == 0) in FUNC()
311 if (current->intra_only == 1) { in FUNC()
314 if (vp9->profile > 0) { in FUNC()
315 CHECK(FUNC(color_config)(ctx, rw, current, vp9->profile)); in FUNC()
320 vp9->bit_depth = 8; in FUNC()
322 vp9->subsampling_x = current->subsampling_x; in FUNC()
323 vp9->subsampling_y = current->subsampling_y; in FUNC()
334 fs(3, ref_frame_idx[i], 1, i); in FUNC()
335 fs(1, ref_frame_sign_bias[VP9_LAST_FRAME + i], in FUNC()
345 if (current->error_resilient_mode == 0) { in FUNC()
363 if (current->refresh_frame_flags & (1 << i)) { in FUNC()
364 vp9->ref[i] = (VP9ReferenceFrameState) { in FUNC()
365 .frame_width = vp9->frame_width, in FUNC()
366 .frame_height = vp9->frame_height, in FUNC()
367 .subsampling_x = vp9->subsampling_x, in FUNC()
368 .subsampling_y = vp9->subsampling_y, in FUNC()
369 .bit_depth = vp9->bit_depth, in FUNC()
374 av_log(ctx->log_ctx, AV_LOG_DEBUG, "Frame: size %dx%d " in FUNC()
376 vp9->frame_width, vp9->frame_height, in FUNC()
377 vp9->subsampling_x, vp9->subsampling_y, in FUNC()
378 vp9->bit_depth, 1 << current->tile_cols_log2, in FUNC()
379 1 << current->tile_rows_log2); in FUNC()
386 int err; in FUNC() local
396 int err; in FUNC() local
400 CHECK(FUNC(uncompressed_header)(ctx, rw, &current->header)); in FUNC()
410 int err, i; in FUNC() local
418 for (i = 0; i <= current->frames_in_superframe_minus_1; i++) { in FUNC()
419 // Surprise little-endian! in FUNC()
420 fle(8 * (current->bytes_per_framesize_minus_1 + 1), in FUNC()