History

vp9: set color range to MPEG for intraonly profile 0

this is undocumented in the vp9 bitstream and decoding specification doc, but matches libvpx

James Zern committed 9 years ago

Commit d8269511 parent 20a6b191 file · +1 −1Browse files

Unified · Split

libavcodec/vp9.c+1−1
@@ -459,7 +459,7 @@ static int decode_frame_header(AVCodecContext *avctx, · 458 unmodified lines
459 s->bytesperpixel = 1;459 s->bytesperpixel = 1;
460 s->pix_fmt = AV_PIX_FMT_YUV420P;460 s->pix_fmt = AV_PIX_FMT_YUV420P;
461 avctx->colorspace = AVCOL_SPC_BT470BG;461 avctx->colorspace = AVCOL_SPC_BT470BG;
462 avctx->color_range = AVCOL_RANGE_JPEG;462 avctx->color_range = AVCOL_RANGE_MPEG;
463 }463 }
464 s->s.h.refreshrefmask = get_bits(&s->gb, 8);464 s->s.h.refreshrefmask = get_bits(&s->gb, 8);
465 w = get_bits(&s->gb, 16) + 1;465 w = get_bits(&s->gb, 16) + 1;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t