{"action":"created","comment":{"url":"https://api.github.com/repos/01org/libyami/pulls/comments/89028753","pull_request_review_id":9581450,"id":89028753,"diff_hunk":"@@ -287,7 +288,10 @@ SurfacePtr VaapiEncoderBase::createNewSurface(uint32_t fourcc)\n     case VA_FOURCC_I420:\n         rtFormat = VA_RT_FORMAT_YUV420;\n         break;\n-    case VA_FOURCC_YUY2:\n+    case VA_FOURCC_P010:\n+        rtFormat = VA_RT_FORMAT_YUV420_10BPP;","path":"encoder/vaapiencoder_base.cpp","position":14,"original_position":14,"commit_id":"5a0d12f8ea9a8d1a626880bc087e4e873cf09154","original_commit_id":"5a0d12f8ea9a8d1a626880bc087e4e873cf09154","user":{"login":"xuguangxin","id":6667546,"avatar_url":"https://avatars.githubusercontent.com/u/6667546?v=3","gravatar_id":"","url":"https://api.github.com/users/xuguangxin","html_url":"https://github.com/xuguangxin","followers_url":"https://api.github.com/users/xuguangxin/followers","following_url":"https://api.github.com/users/xuguangxin/following{/other_user}","gists_url":"https://api.github.com/users/xuguangxin/gists{/gist_id}","starred_url":"https://api.github.com/users/xuguangxin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xuguangxin/subscriptions","organizations_url":"https://api.github.com/users/xuguangxin/orgs","repos_url":"https://api.github.com/users/xuguangxin/repos","events_url":"https://api.github.com/users/xuguangxin/events{/privacy}","received_events_url":"https://api.github.com/users/xuguangxin/received_events","type":"User","site_admin":false},"body":"this will build failed on libva 0.37. Could you use getRtFormat and check the return value?","created_at":"2016-11-22T01:42:11Z","updated_at":"2016-11-22T01:42:59Z","html_url":"https://github.com/01org/libyami/pull/668#discussion_r89028753","pull_request_url":"https://api.github.com/repos/01org/libyami/pulls/668","_links":{"self":{"href":"https://api.github.com/repos/01org/libyami/pulls/comments/89028753"},"html":{"href":"https://github.com/01org/libyami/pull/668#discussion_r89028753"},"pull_request":{"href":"https://api.github.com/repos/01org/libyami/pulls/668"}}},"pull_request":{"url":"https://api.github.com/repos/01org/libyami/pulls/668","id":94731079,"html_url":"https://github.com/01org/libyami/pull/668","diff_url":"https://github.com/01org/libyami/pull/668.diff","patch_url":"https://github.com/01org/libyami/pull/668.patch","issue_url":"https://api.github.com/repos/01org/libyami/issues/668","number":668,"state":"open","locked":false,"title":"HEVC ENC:10bit support merged","user":{"login":"wudping","id":15758417,"avatar_url":"https://avatars.githubusercontent.com/u/15758417?v=3","gravatar_id":"","url":"https://api.github.com/users/wudping","html_url":"https://github.com/wudping","followers_url":"https://api.github.com/users/wudping/followers","following_url":"https://api.github.com/users/wudping/following{/other_user}","gists_url":"https://api.github.com/users/wudping/gists{/gist_id}","starred_url":"https://api.github.com/users/wudping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wudping/subscriptions","organizations_url":"https://api.github.com/users/wudping/orgs","repos_url":"https://api.github.com/users/wudping/repos","events_url":"https://api.github.com/users/wudping/events{/privacy}","received_events_url":"https://api.github.com/users/wudping/received_events","type":"User","site_admin":false},"body":"add the P010 input\r\nadd support for HEVC 10bit encoding\r\nadd pixelwidthinbyte to help caculate the width of image when 8/10 bit\r\n\r\nSigned-off-by: Pengfei Qu <Pengfei.Qu@intel.com>\r\nSigned-off-by: wudping <dongpingx.wu@intel.com>","created_at":"2016-11-22T01:23:37Z","updated_at":"2016-11-22T01:42:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"13cdeab548ca0033ba46a2b5206be8a3f0913ef4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/01org/libyami/pulls/668/commits","review_comments_url":"https://api.github.com/repos/01org/libyami/pulls/668/comments","review_comment_url":"https://api.github.com/repos/01org/libyami/pulls/comments{/number}","comments_url":"https://api.github.com/repos/01org/libyami/issues/668/comments","statuses_url":"https://api.github.com/repos/01org/libyami/statuses/5a0d12f8ea9a8d1a626880bc087e4e873cf09154","head":{"label":"wudping:qpf_hevc10bit","ref":"qpf_hevc10bit","sha":"5a0d12f8ea9a8d1a626880bc087e4e873cf09154","user":{"login":"wudping","id":15758417,"avatar_url":"https://avatars.githubusercontent.com/u/15758417?v=3","gravatar_id":"","url":"https://api.github.com/users/wudping","html_url":"https://github.com/wudping","followers_url":"https://api.github.com/users/wudping/followers","following_url":"https://api.github.com/users/wudping/following{/other_user}","gists_url":"https://api.github.com/users/wudping/gists{/gist_id}","starred_url":"https://api.github.com/users/wudping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wudping/subscriptions","organizations_url":"https://api.github.com/users/wudping/orgs","repos_url":"https://api.github.com/users/wudping/repos","events_url":"https://api.github.com/users/wudping/events{/privacy}","received_events_url":"https://api.github.com/users/wudping/received_events","type":"User","site_admin":false},"repo":{"id":63393911,"name":"libyami","full_name":"wudping/libyami","owner":{"login":"wudping","id":15758417,"avatar_url":"https://avatars.githubusercontent.com/u/15758417?v=3","gravatar_id":"","url":"https://api.github.com/users/wudping","html_url":"https://github.com/wudping","followers_url":"https://api.github.com/users/wudping/followers","following_url":"https://api.github.com/users/wudping/following{/other_user}","gists_url":"https://api.github.com/users/wudping/gists{/gist_id}","starred_url":"https://api.github.com/users/wudping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wudping/subscriptions","organizations_url":"https://api.github.com/users/wudping/orgs","repos_url":"https://api.github.com/users/wudping/repos","events_url":"https://api.github.com/users/wudping/events{/privacy}","received_events_url":"https://api.github.com/users/wudping/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wudping/libyami","description":"Yet Another Media Infrastructure. it is core part of media codec with hardware acceleration, it is yummy to your video experience on Linux like platform.","fork":true,"url":"https://api.github.com/repos/wudping/libyami","forks_url":"https://api.github.com/repos/wudping/libyami/forks","keys_url":"https://api.github.com/repos/wudping/libyami/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wudping/libyami/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wudping/libyami/teams","hooks_url":"https://api.github.com/repos/wudping/libyami/hooks","issue_events_url":"https://api.github.com/repos/wudping/libyami/issues/events{/number}","events_url":"https://api.github.com/repos/wudping/libyami/events","assignees_url":"https://api.github.com/repos/wudping/libyami/assignees{/user}","branches_url":"https://api.github.com/repos/wudping/libyami/branches{/branch}","tags_url":"https://api.github.com/repos/wudping/libyami/tags","blobs_url":"https://api.github.com/repos/wudping/libyami/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wudping/libyami/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wudping/libyami/git/refs{/sha}","trees_url":"https://api.github.com/repos/wudping/libyami/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wudping/libyami/statuses/{sha}","languages_url":"https://api.github.com/repos/wudping/libyami/languages","stargazers_url":"https://api.github.com/repos/wudping/libyami/stargazers","contributors_url":"https://api.github.com/repos/wudping/libyami/contributors","subscribers_url":"https://api.github.com/repos/wudping/libyami/subscribers","subscription_url":"https://api.github.com/repos/wudping/libyami/subscription","commits_url":"https://api.github.com/repos/wudping/libyami/commits{/sha}","git_commits_url":"https://api.github.com/repos/wudping/libyami/git/commits{/sha}","comments_url":"https://api.github.com/repos/wudping/libyami/comments{/number}","issue_comment_url":"https://api.github.com/repos/wudping/libyami/issues/comments{/number}","contents_url":"https://api.github.com/repos/wudping/libyami/contents/{+path}","compare_url":"https://api.github.com/repos/wudping/libyami/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wudping/libyami/merges","archive_url":"https://api.github.com/repos/wudping/libyami/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wudping/libyami/downloads","issues_url":"https://api.github.com/repos/wudping/libyami/issues{/number}","pulls_url":"https://api.github.com/repos/wudping/libyami/pulls{/number}","milestones_url":"https://api.github.com/repos/wudping/libyami/milestones{/number}","notifications_url":"https://api.github.com/repos/wudping/libyami/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wudping/libyami/labels{/name}","releases_url":"https://api.github.com/repos/wudping/libyami/releases{/id}","deployments_url":"https://api.github.com/repos/wudping/libyami/deployments","created_at":"2016-07-15T05:22:26Z","updated_at":"2016-07-15T05:22:28Z","pushed_at":"2016-11-21T09:10:55Z","git_url":"git://github.com/wudping/libyami.git","ssh_url":"git@github.com:wudping/libyami.git","clone_url":"https://github.com/wudping/libyami.git","svn_url":"https://github.com/wudping/libyami","homepage":null,"size":4026,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"apache"}},"base":{"label":"01org:apache","ref":"apache","sha":"da4d1a527576d4eeb57ddfd92972acdc7a714e09","user":{"login":"01org","id":1635439,"avatar_url":"https://avatars.githubusercontent.com/u/1635439?v=3","gravatar_id":"","url":"https://api.github.com/users/01org","html_url":"https://github.com/01org","followers_url":"https://api.github.com/users/01org/followers","following_url":"https://api.github.com/users/01org/following{/other_user}","gists_url":"https://api.github.com/users/01org/gists{/gist_id}","starred_url":"https://api.github.com/users/01org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/01org/subscriptions","organizations_url":"https://api.github.com/users/01org/orgs","repos_url":"https://api.github.com/users/01org/repos","events_url":"https://api.github.com/users/01org/events{/privacy}","received_events_url":"https://api.github.com/users/01org/received_events","type":"Organization","site_admin":false},"repo":{"id":18320220,"name":"libyami","full_name":"01org/libyami","owner":{"login":"01org","id":1635439,"avatar_url":"https://avatars.githubusercontent.com/u/1635439?v=3","gravatar_id":"","url":"https://api.github.com/users/01org","html_url":"https://github.com/01org","followers_url":"https://api.github.com/users/01org/followers","following_url":"https://api.github.com/users/01org/following{/other_user}","gists_url":"https://api.github.com/users/01org/gists{/gist_id}","starred_url":"https://api.github.com/users/01org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/01org/subscriptions","organizations_url":"https://api.github.com/users/01org/orgs","repos_url":"https://api.github.com/users/01org/repos","events_url":"https://api.github.com/users/01org/events{/privacy}","received_events_url":"https://api.github.com/users/01org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/01org/libyami","description":"Yet Another Media Infrastructure. it is core part of media codec with hardware acceleration, it is yummy to your video experience on Linux like platform.","fork":false,"url":"https://api.github.com/repos/01org/libyami","forks_url":"https://api.github.com/repos/01org/libyami/forks","keys_url":"https://api.github.com/repos/01org/libyami/keys{/key_id}","collaborators_url":"https://api.github.com/repos/01org/libyami/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/01org/libyami/teams","hooks_url":"https://api.github.com/repos/01org/libyami/hooks","issue_events_url":"https://api.github.com/repos/01org/libyami/issues/events{/number}","events_url":"https://api.github.com/repos/01org/libyami/events","assignees_url":"https://api.github.com/repos/01org/libyami/assignees{/user}","branches_url":"https://api.github.com/repos/01org/libyami/branches{/branch}","tags_url":"https://api.github.com/repos/01org/libyami/tags","blobs_url":"https://api.github.com/repos/01org/libyami/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/01org/libyami/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/01org/libyami/git/refs{/sha}","trees_url":"https://api.github.com/repos/01org/libyami/git/trees{/sha}","statuses_url":"https://api.github.com/repos/01org/libyami/statuses/{sha}","languages_url":"https://api.github.com/repos/01org/libyami/languages","stargazers_url":"https://api.github.com/repos/01org/libyami/stargazers","contributors_url":"https://api.github.com/repos/01org/libyami/contributors","subscribers_url":"https://api.github.com/repos/01org/libyami/subscribers","subscription_url":"https://api.github.com/repos/01org/libyami/subscription","commits_url":"https://api.github.com/repos/01org/libyami/commits{/sha}","git_commits_url":"https://api.github.com/repos/01org/libyami/git/commits{/sha}","comments_url":"https://api.github.com/repos/01org/libyami/comments{/number}","issue_comment_url":"https://api.github.com/repos/01org/libyami/issues/comments{/number}","contents_url":"https://api.github.com/repos/01org/libyami/contents/{+path}","compare_url":"https://api.github.com/repos/01org/libyami/compare/{base}...{head}","merges_url":"https://api.github.com/repos/01org/libyami/merges","archive_url":"https://api.github.com/repos/01org/libyami/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/01org/libyami/downloads","issues_url":"https://api.github.com/repos/01org/libyami/issues{/number}","pulls_url":"https://api.github.com/repos/01org/libyami/pulls{/number}","milestones_url":"https://api.github.com/repos/01org/libyami/milestones{/number}","notifications_url":"https://api.github.com/repos/01org/libyami/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/01org/libyami/labels{/name}","releases_url":"https://api.github.com/repos/01org/libyami/releases{/id}","deployments_url":"https://api.github.com/repos/01org/libyami/deployments","created_at":"2014-04-01T06:44:19Z","updated_at":"2016-11-16T09:21:24Z","pushed_at":"2016-11-22T01:23:37Z","git_url":"git://github.com/01org/libyami.git","ssh_url":"git@github.com:01org/libyami.git","clone_url":"https://github.com/01org/libyami.git","svn_url":"https://github.com/01org/libyami","homepage":null,"size":5388,"stargazers_count":52,"watchers_count":52,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":39,"forks":61,"open_issues":39,"watchers":52,"default_branch":"apache"}},"_links":{"self":{"href":"https://api.github.com/repos/01org/libyami/pulls/668"},"html":{"href":"https://github.com/01org/libyami/pull/668"},"issue":{"href":"https://api.github.com/repos/01org/libyami/issues/668"},"comments":{"href":"https://api.github.com/repos/01org/libyami/issues/668/comments"},"review_comments":{"href":"https://api.github.com/repos/01org/libyami/pulls/668/comments"},"review_comment":{"href":"https://api.github.com/repos/01org/libyami/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/01org/libyami/pulls/668/commits"},"statuses":{"href":"https://api.github.com/repos/01org/libyami/statuses/5a0d12f8ea9a8d1a626880bc087e4e873cf09154"}}}}
{"actor":{"display_login":"xuguangxin"}}