Removing VP9DecoderConfig.
We only used two members from that struct: max_threads and inv_tile_order. Moving them directly to VP9Decoder struct. Change-Id: If696a4e5b5b41868a55f3cc971e1d7c1dd9d5f69
This commit is contained in:
@@ -42,7 +42,7 @@ void vp9_initialize_dec() {
|
||||
}
|
||||
}
|
||||
|
||||
VP9Decoder *vp9_decoder_create(const VP9DecoderConfig *oxcf) {
|
||||
VP9Decoder *vp9_decoder_create() {
|
||||
VP9Decoder *const pbi = vpx_memalign(32, sizeof(*pbi));
|
||||
VP9_COMMON *const cm = pbi ? &pbi->common : NULL;
|
||||
|
||||
@@ -66,7 +66,6 @@ VP9Decoder *vp9_decoder_create(const VP9DecoderConfig *oxcf) {
|
||||
vpx_memset(&cm->ref_frame_map, -1, sizeof(cm->ref_frame_map));
|
||||
|
||||
cm->current_video_frame = 0;
|
||||
pbi->oxcf = *oxcf;
|
||||
pbi->ready_for_new_data = 1;
|
||||
pbi->decoded_key_frame = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user