OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:p_thumb_dim
(Results
1 - 3
of
3
) sorted by null
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/src/
mm_jpeg.c
802
* @
p_thumb_dim
: thumbnail dimension
814
OMX_ERRORTYPE mm_jpeg_get_thumbnail_crop(mm_jpeg_dim_t *
p_thumb_dim
,
822
cropped_height =
p_thumb_dim
->src_dim.height;
823
cropped_width = floor((cropped_height *
p_thumb_dim
->dst_dim.width) /
824
p_thumb_dim
->dst_dim.height);
827
cropped_width =
p_thumb_dim
->src_dim.width;
828
cropped_height = floor((cropped_width *
p_thumb_dim
->dst_dim.height) /
829
p_thumb_dim
->dst_dim.width);
831
p_thumb_dim
->crop.left = floor(
p_thumb_dim
->src_dim.width - cropped_width)/2
863
mm_jpeg_dim_t *
p_thumb_dim
= &p_jobparams->thumb_dim;
local
[
all
...]
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/src/
mm_jpeg.c
801
mm_jpeg_dim_t *
p_thumb_dim
= &p_jobparams->thumb_dim;
local
812
if ((
p_thumb_dim
->dst_dim.width == 0) || (
p_thumb_dim
->dst_dim.height == 0)) {
818
if ((
p_thumb_dim
->src_dim.width == 0) || (
p_thumb_dim
->src_dim.height == 0)) {
824
if ((
p_thumb_dim
->crop.width == 0) || (
p_thumb_dim
->crop.height == 0)) {
825
p_thumb_dim
->crop.width =
p_thumb_dim
->src_dim.width;
826
p_thumb_dim
->crop.height = p_thumb_dim->src_dim.height
[
all
...]
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
mm_jpeg.c
856
mm_jpeg_dim_t *
p_thumb_dim
= &p_jobparams->thumb_dim;
local
867
if ((
p_thumb_dim
->dst_dim.width == 0) || (
p_thumb_dim
->dst_dim.height == 0)) {
873
if ((
p_thumb_dim
->src_dim.width == 0) || (
p_thumb_dim
->src_dim.height == 0)) {
879
if ((
p_thumb_dim
->crop.width == 0) || (
p_thumb_dim
->crop.height == 0)) {
880
p_thumb_dim
->crop.width =
p_thumb_dim
->src_dim.width;
881
p_thumb_dim
->crop.height = p_thumb_dim->src_dim.height
[
all
...]
Completed in 280 milliseconds