Closed
Bug 911518
Opened 11 years ago
Closed 11 years ago
Add YCbCr_420_SP_TILED's color conversion to android::ColorConverter in nexus4
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 911548
People
(Reporter: sotaro, Assigned: sotaro)
References
Details
Attachments
(1 file, 1 obsolete file)
For nexus4's build android JB' AOSP source is used. But the AOSP's default android::ColorConverter do not support color conversion from HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED(0x7FA30C03) to RGB 565. Without the conversion, video frame can not draw to canvas and video app can not generate video's thumbnail. Need to add the color conversion.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → sotaro.ikeda.g
Assignee | ||
Comment 1•11 years ago
|
||
In qcom's hw, the color conversion is normally done by "libmm-color-convertor.so". The rom include the library. So, the conversion should be possible.
Assignee | ||
Comment 2•11 years ago
|
||
codeaurora's source support the conversion. By applying the related part to aosp's srouce, the conversion might be possible in nexus-4. https://www.codeaurora.org/cgit/external/simcom/platform/frameworks/av/tree/media/libstagefright/colorconversion/ColorConverter.cpp?h=jb-8930-master-dsda
Assignee | ||
Comment 3•11 years ago
|
||
Created a rom applying the change in comment #2. But failed to load a function in the following. nuxus4's related function seems different. > convertFn convertNV12Tile = (convertFn)dlsym(lib, "_ZN7android7convertENS_18ColorConvertParamsES0_Ph");
Assignee | ||
Comment 4•11 years ago
|
||
Checked the function's symbol name by using following command.
> nm -D ./libmm-color-convertor.so
Assignee | ||
Comment 5•11 years ago
|
||
Confirmed the thumnail generation in video app. To confirm it, I did following. - Apply attachment 798240 [details] [diff] [review] in Bug 871364. - Create directory by Bug 910498 Comment 18 - push h.264 video to nexus 4
Assignee | ||
Updated•11 years ago
|
blocking-b2g: --- → koi?
Assignee | ||
Updated•11 years ago
|
Assignee | ||
Comment 6•11 years ago
|
||
Add Code Aurora Forum's copyright.
Attachment #798241 -
Attachment is obsolete: true
Assignee | ||
Comment 7•11 years ago
|
||
mwu, does "nexus-4 build" continue to use aosp? not caf?
Flags: needinfo?(mwu)
Comment 8•11 years ago
|
||
Nexus 4 is currently on AOSP, but it may change to CAF if we start making builds for it.
Flags: needinfo?(mwu)
Assignee | ||
Comment 9•11 years ago
|
||
Merge the patch to Bug 911548.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•11 years ago
|
blocking-b2g: koi? → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•